Compact Flash panic integer divide fault

From: Ted Lindgreen <ted_at_sanne.nlnetlabs.nl>
Date: Mon, 17 Nov 2003 12:44:34 +0100
Hi,

Since some time FreeBSD-current panics with a compact flash disk
in a pccard adapter. The kernel panics with "integer divide fault"
as soon as the card is encountered.

I first saw the "integer divide fault" with a kernel build on
November 6th.
With a newer kerner (Nov 10th) the panic changed into
 "panic: page fault".
Now, the "panic: integer divide fault" is back again.

Appended is a log from a kernel build last Friday (after a cvsup).

The system is a Toshiba Portege 7220, the compact flash disk is a
SanDisk. I tried it with two different cards (a 128 and a 32 Mb).
Both cards work fine with an older system (build in Sept 2003).

-- ted

Nov 16 22:00:30 petje kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Nov 16 22:00:30 petje kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Nov 16 22:00:30 petje kernel: The Regents of the University of California. All rights reserved.
Nov 16 22:00:30 petje kernel: FreeBSD 5.1-CURRENT #5: Fri Nov 14 21:45:08 CET 2003
Nov 16 22:00:30 petje kernel: ted_at_petje.tednet.nl:/usr/obj/usr/src/sys/PETJE
Nov 16 22:00:30 petje kernel: Preloaded elf kernel "/boot/kernel/kernel" at 0xc0996000.
Nov 16 22:00:30 petje kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc0996294.
Nov 16 22:00:30 petje kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Nov 16 22:00:30 petje kernel: CPU: Intel Pentium III (646.83-MHz 686-class CPU)
Nov 16 22:00:30 petje kernel: Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
Nov 16 22:00:30 petje kernel: Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Nov 16 22:00:30 petje kernel: real memory  = 201195520 (191 MB)
Nov 16 22:00:30 petje kernel: avail memory = 185786368 (177 MB)
Nov 16 22:00:30 petje kernel: Pentium Pro MTRR support enabled
Nov 16 22:00:30 petje kernel: npx0: [FAST]
Nov 16 22:00:30 petje kernel: npx0: <math processor> on motherboard
Nov 16 22:00:30 petje kernel: npx0: INT 16 interface
Nov 16 22:00:30 petje kernel: pcibios: BIOS version 2.10
Nov 16 22:00:30 petje kernel: Using $PIR table, 8 entries at 0xc00f0190
Nov 16 22:00:30 petje kernel: apm0: <APM BIOS> on motherboard
Nov 16 22:00:30 petje kernel: apm0: found APM BIOS v1.2, connected at v1.2
Nov 16 22:00:30 petje kernel: pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
Nov 16 22:00:30 petje kernel: pci0: <PCI bus> on pcib0
Nov 16 22:00:30 petje kernel: pci_cfgintr: 0:5 INTD BIOS irq 11
Nov 16 22:00:30 petje kernel: pci_cfgintr: 0:9 INTA BIOS irq 11
Nov 16 22:00:30 petje kernel: pci_cfgintr: 0:12 INTA BIOS irq 11
Nov 16 22:00:30 petje kernel: agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0
Nov 16 22:00:30 petje kernel: pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
Nov 16 22:00:30 petje kernel: pci1: <PCI bus> on pcib1
Nov 16 22:00:30 petje kernel: pci_cfgintr: 1:0 INTA BIOS irq 11
Nov 16 22:00:30 petje kernel: pci1: <display, VGA> at device 0.0 (no driver attached)
Nov 16 22:00:30 petje kernel: isab0: <PCI-ISA bridge> at device 5.0 on pci0
Nov 16 22:00:30 petje kernel: isa0: <ISA bus> on isab0
Nov 16 22:00:30 petje kernel: atapci0: <Intel PIIX4 UDMA33 controller> port 0xfff0-0xffff at device 5.1 on pci0
Nov 16 22:00:30 petje kernel: ata0: at 0x1f0 irq 14 on atapci0
Nov 16 22:00:30 petje kernel: ata0: [MPSAFE]
Nov 16 22:00:30 petje kernel: ata1: at 0x170 irq 15 on atapci0
Nov 16 22:00:30 petje kernel: ata1: [MPSAFE]
Nov 16 22:00:30 petje kernel: uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xff80-0xff9f irq 11 at device 5.2 on pci0
Nov 16 22:00:30 petje kernel: usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
Nov 16 22:00:30 petje kernel: usb0: USB revision 1.0
Nov 16 22:00:30 petje kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Nov 16 22:00:30 petje kernel: uhub0: 2 ports with 2 removable, self powered
Nov 16 22:00:30 petje kernel: ums0: Logitech USB Mouse, rev 1.10/6.b4, addr 2, iclass 3/1
Nov 16 22:00:30 petje kernel: ums0: 3 buttons and Z dir.
Nov 16 22:00:30 petje kernel: pci0: <bridge, PCI-unknown> at device 5.3 (no driver attached)
Nov 16 22:00:30 petje kernel: pci0: <unknown> at device 9.0 (no driver attached)
Nov 16 22:00:30 petje kernel: cbb0: <ToPIC100 PCI-CardBus Bridge> at device 11.0 on pci0
Nov 16 22:00:30 petje kernel: cardbus0: <CardBus bus> on cbb0
Nov 16 22:00:30 petje kernel: pccard0: <16-bit PCCard bus> on cbb0
Nov 16 22:00:30 petje kernel: pci_cfgintr: 0:11 INTA routed to irq 11
Nov 16 22:00:30 petje kernel: cbb0: [MPSAFE]
Nov 16 22:00:30 petje kernel: cbb1: <ToPIC100 PCI-CardBus Bridge> at device 11.1 on pci0
Nov 16 22:00:30 petje kernel: cardbus1: <CardBus bus> on cbb1
Nov 16 22:00:30 petje kernel: pccard1: <16-bit PCCard bus> on cbb1
Nov 16 22:00:30 petje kernel: pci_cfgintr: 0:11 INTB routed to irq 11
Nov 16 22:00:30 petje kernel: cbb1: [MPSAFE]
Nov 16 22:00:30 petje kernel: pcm0: <ESS Technology Maestro-2E> port 0xfc00-0xfcff irq 11 at device 12.0 on pci0
Nov 16 22:00:30 petje kernel: pcm0: <SigmaTel STAC9721/23 AC97 Codec>
Nov 16 22:00:30 petje kernel: orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
Nov 16 22:00:30 petje kernel: pmtimer0 on isa0
Nov 16 22:00:30 petje kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
Nov 16 22:00:30 petje kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Nov 16 22:00:30 petje kernel: kbd0 at atkbd0
Nov 16 22:00:30 petje kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Nov 16 22:00:30 petje kernel: psm0: model IntelliMouse, device ID 3
Nov 16 22:00:30 petje kernel: fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
Nov 16 22:00:30 petje kernel: fdc0: FIFO enabled, 8 bytes threshold
Nov 16 22:00:30 petje kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Nov 16 22:00:30 petje kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
Nov 16 22:00:30 petje kernel: ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
Nov 16 22:00:30 petje kernel: ppc0: FIFO with 16/16/8 bytes threshold
Nov 16 22:00:30 petje kernel: ppbus0: <Parallel port bus> on ppc0
Nov 16 22:00:30 petje kernel: lpt0: <Printer> on ppbus0
Nov 16 22:00:30 petje kernel: lpt0: Interrupt-driven port
Nov 16 22:00:30 petje kernel: sc0: <System console> at flags 0x100 on isa0
Nov 16 22:00:30 petje kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Nov 16 22:00:30 petje kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Nov 16 22:00:30 petje kernel: sio0: type 16550A
Nov 16 22:00:30 petje kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Nov 16 22:00:30 petje kernel: sio1: port may not be enabled
Nov 16 22:00:30 petje kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Nov 16 22:00:30 petje kernel: unknown: <PNP0303> can't assign resources (port)
Nov 16 22:00:30 petje kernel: unknown: <PNP0f13> can't assign resources (irq)
Nov 16 22:00:30 petje kernel: unknown: <PNP0c02> can't assign resources (port)
Nov 16 22:00:30 petje kernel: unknown: <PNP0700> can't assign resources (port)
Nov 16 22:00:30 petje kernel: unknown: <PNP0501> can't assign resources (port)
Nov 16 22:00:30 petje kernel: unknown: <PNP0401> can't assign resources (port)
Nov 16 22:00:30 petje kernel: Timecounters tick every 10.000 msec
Nov 16 22:00:30 petje kernel: pccard0: Allocation failed for cfe 0
Nov 16 22:00:30 petje kernel: ata2: <SunDisk SDP> at port 0x100-0x10f irq 11 function 0 config 1 on pccard0
Nov 16 22:00:30 petje kernel: ata2: [MPSAFE]
Nov 16 22:00:30 petje kernel: wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x180-0x1bf irq 11 function 0 config 1 on pccard1
Nov 16 22:00:30 petje kernel: wi0: 802.11 address: 00:02:2d:0e:29:df
Nov 16 22:00:30 petje kernel: wi0: using Lucent Technologies, WaveLAN/IEEE
Nov 16 22:00:30 petje kernel: wi0: Lucent Firmware: Station (8.72.1)
Nov 16 22:00:30 petje kernel: wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Nov 16 22:00:30 petje kernel: GEOM: create disk ad0 dp=0xc272b260
Nov 16 22:00:30 petje kernel: ad0: 28615MB <IC25N030ATDA04-0> [58140/16/63] at ata0-master UDMA33
Nov 16 22:00:30 petje kernel: ad4: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=4<ABORTED>
Nov 16 22:00:30 petje kernel: ad4: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=4<ABORTED>
Nov 16 22:00:30 petje kernel: GEOM: create disk ad4 dp=0xc272b160
Nov 16 22:00:30 petje kernel: 
Nov 16 22:00:30 petje kernel: 
Nov 16 22:00:30 petje kernel: Fatal trap 18: integer divide fault while in kernel mode
Nov 16 22:00:30 petje kernel: instruction pointer	= 0x8:0xc07c628b
Nov 16 22:00:30 petje kernel: stack pointer	        = 0x10:0xc0c21c2c
Nov 16 22:00:30 petje kernel: frame pointer	        = 0x10:0xc0c21cac
Nov 16 22:00:30 petje kernel: code segment		= base 0x0, limit 0xfffff, type 0x1b
Nov 16 22:00:30 petje kernel: = DPL 0, pres 1, def32 1, gran 1
Nov 16 22:00:30 petje kernel: processor eflags	= interrupt enabled, resume, IOPL = 0
Nov 16 22:00:30 petje kernel: current process		= 0 (swapper)
Nov 16 22:00:30 petje kernel: trap number		= 18
Nov 16 22:00:30 petje kernel: panic: integer divide fault
Nov 16 22:00:30 petje kernel: 
Nov 16 22:00:30 petje kernel: syncing disks, buffers remaining... 
Nov 16 22:00:30 petje kernel: done
Nov 16 22:00:30 petje kernel: Uptime: 4s
Received on Mon Nov 17 2003 - 02:44:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC