Bug 15365 - Fatal trap 18 (integer divide fault) when PCCARD hot plug-in again
Summary: Fatal trap 18 (integer divide fault) when PCCARD hot plug-in again
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 3.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-09 02:40 UTC by reed
Modified: 2006-11-10 14:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reed 1999-12-09 02:40:00 UTC
If I boot thinkpad without pccard card, I can hot plug pccard in,
and then hot plug it out, but if then I hot plug it in again, usually
integer divid fault, sometime system hang, rare(or never) ok.

If boot with pccard, I can hot plug pccard out, but fatal hot plug in.

Kernel compile conf (/usr/src/sys/i386/conf/THINKPAD)
----
cpu		"I486_CPU"
...
device ed0 at isa? port 0x280 net irq 11 iomem 0xd0000
...
pseudo-device	loop
pseudo-device	ether
...
----

File: pccard.conf
----
io	0x280-0x2F0
irq	11
memory	0xd0000	96k

# LEMEL PCMCIA CARD Type II, Ethernet Adapter
card "Ethernet Adapter" "E2000 PCMCIA Ethernet"
	config	0x20 "ed0" ?
	ether	0xff0
	insert	echo LEMEL E2000 PCMCIA Ethernet inserted
	insert	/etc/pccard_ether ed0
	insert	/sbin/ifconfig ed0 10.0.20.48 netmask 255.0.0.0
	insert	/sbin/ifconfig ed0 192.168.20.48 netmask 255.255.0.0 alias
	remove	echo LEMEL E2000 PCMCIA Ethernet removed
	remove	/sbin/ifconfig ed0 delete
	remove	/sbin/ifconfig ed0 delete
# other card...
card...
----

Message plug-out:
----
ed0: unload
Return IRQ=11
Card removed, slot 0
Slot 0, unfielded interrupt (0)
Dec 9 09... /kernel: ed0: unload
Dec 9 09... /kernel: ed0: unload
Dec 9 09... /kernel: Return IRQ=11
Dec 9 09... /kernel: Return IRQ=11
Dec 9 09... /kernel: Card removed, slot 0
Dec 9 09... /kernel: Card removed, slot 0
Dec 9 09... /kernel: slot 0, unfielded interrupt (0)
Dec 9 09... /kernel: slot 0, unfielded interrupt (0)
----

Message plug-in again (when divide fault):
----
Fatal trap 18: integer divide fault while in kernel mode
instruction pointer	= 0x8:0xc01ae6cf
stack pointer		= 0x10:0xc0216f14
frame pointer		= 0x10:0xc0216f1c
code segment		= base rx0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, IOPL = 0
current process		= Idle
interrupt mask		=
trap number		= 18
panic: integer divide fault

syncing disks... 3 3 ... giving up
Automatic reboot in 15 seconds - press a key on the console to abort
----

How-To-Repeat: hot-plug-out then hot-plug-in again
Comment 1 Warner Losh freebsd_committer freebsd_triage 2000-05-16 06:14:27 UTC
State Changed
From-To: open->closed

I've fixed this in 4.0 


Comment 2 dfilter service freebsd_committer freebsd_triage 2006-11-10 14:27:13 UTC
miwi        2006-11-10 14:27:01 UTC

  FreeBSD ports repository

  Modified files:
    math/ump             pkg-plist 
  Log:
  - Fix build problems
  
  PR:             ports/15365
  Submitted by:   nivit@email.it (Nicola Vitale) (maintainer)
  
  Revision  Changes    Path
  1.4       +0 -1      ports/math/ump/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"