すずきと申します。

11月13日にcvsupした6-STABLE上で、
・ノート機(松下CF-B5ER)において
・ACPIが有効な状態で
・/usr/ports/misc/dnetc を稼動させ、
・稼動中にバッテリーを脱着する

とカーネルパニックが起きます。

CF-S21という超古いノートに7-CURRENTを突っ込んで
そちらでやってみても同様の結果でした。バッテリーを
装着したとたんにXが落ちてリブートします。

どこから手をつけていいものやら見当もつきません。
ご教授くださればありがたいです。

- - - - -
Fatal trap 18: integer divide fault while in kernel mode
instruction pointer     = 0x20:0xc0488a97
stack pointer           = 0x28:0xccc2fb90
frame pointer           = 0x28:0xc25f18c0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                       = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 933 (dnetc)
trap number             = 18
panic: integer divide fault
Uptime: 21m26s
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
       The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #3: Mon Nov 13 18:53:35 JST 2006
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/n1k3-j
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (645.20-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268369920 (255 MB)
avail memory = 253091840 (241 MB)
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcm0: <Intel 440MX> port 0x2000-0x20ff,0x2400-0x243f irq 10 at device
0.1 on pci0
pcm0: <Yamaha YMF743 AC97 Codec>
pci0: <old, non-VGA display device> at device 0.2 (no driver attached)
pci0: <display, VGA> at device 2.0 (no driver attached)
pci0: <simple comms> at device 4.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1050-0x105f at device 7.1 on
pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82443MX USB controller> port 0xfc20-0xfc3f irq 9 at
device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82443MX USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82443MX Power management controller> port 0x1040-0x104f
irq 9 at device 7.3 on pci0
intpm0: I/O mapped 1040
intpm0: intr IRQ 9 enabled revision 0
intpm0: [GIANT-LOCKED]
intsmb0: <Intel PIIX4 SMBUS Interface> on intpm0
smbus1: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus1
intpm0: PM I/O mapped 1000
pci0: <simple comms, generic modem> at device 9.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x1840-0x187f mem
0xfc005000-0xfc005fff,0xfc100000-0xfc1fffff irq 9 at device 1
1.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:80:45:12:74:8d
cbb0: <TI4450 PCI-CardBus Bridge> irq 9 at device 12.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI4450 PCI-CardBus Bridge> irq 9 at device 12.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0: <Texas Instruments PCI4450> mem
0xfc006000-0xfc0067ff,0xfc000000-0xfc003fff irq 9 at device 12.2 on
pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:80:45:89:00:02:16:a0
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:80:45:02:16:a0
fwe0: Ethernet address: 02:80:45:02:16:a0
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <Generic IRDA-compatible device> port 0x338-0x33f irq 5 drq 0 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcc7ff,0xdc000-0xdffff,0xe0000-0xeffff on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
ucom0: vendor 0x0474 product 0x0727, rev 1.10/1.00, addr 2, iclass 2/2
ucom0: data interface 1, has CM over data, has break
ucom0: status change notification available
Timecounter "TSC" frequency 645203622 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 114473MB <FUJITSU MHV2120AT 000000A0> at ata0-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted

メールによる返信