Ruben de Groot
2005-Aug-02 07:49 UTC
6.0-BETA1: Fatal trap 18 in ata_raid_promise_read_meta
This is an nForce4 chipset (Gigabyte GA-K8NF-9). Installation from the iso disc1 is fine, but at the first boot I get dropped in the debugger: ad0: 28620MB <ExcelStor Technology ES3230 ES7CA24G> at ata0-master UDMA66 Fatal trap 18: integer divide fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x8:0xffffffff8022fb5a stack pointer = 0x10:0xffffffff809d8940 frame pointer = 0x10:0xffffffff809d89a0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 0 ] Stopped at ata_raid_promise_read_meta+0x9a: divq %rsi,%eax db> tr Tracing pid 0 tid 0 td 0xffffffff80811e40 ata_raid_promise_read_meta() at ata_raid_promise_read_meta+0x9a ata_raid_read_metadata() at ata_raid_read_metadata+0x29b ata_raid_subdisk_attach() at ata_raid_subdisk_attach+0x27 device_attach() at device_attach+0x292 bus_generic_attach() at bus_generic_attach+0x18 ad_attach() at ad_attach+0x37e device_attach() at device_attach+0x292 bus_generic_attach() at bus_generic_attach+0x18 ata_identify() at ata_identify+0xe6 ata_boot_attach() at ata_boot_attach+0x42 run_interrupt_driven_config_hooks() at run_interrupt_driven_config_hooks+0x2a mi_startup() at mi_startup+0xd3 btext() at btext+0x2c db> Full console messages: /boot.config: -hConsoles: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS 638kB/523200kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@rat.samsco.home, Tue Jul 12 07:18:27 UTC 2005) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x546b40 data=0xac448+0xdd2e8 syms=[0x8+0x8d4e0+0x8+0x75380] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... \GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2005 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 6.0-BETA1 #0: Tue Jul 12 09:02:51 UTC 2005 root@rat.samsco.home:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (1809.28-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20ff0 Stepping = 0 Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> Features2=0x1<SSE3> AMD Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow> real memory = 536805376 (511 MB) avail memory = 506187776 (482 MB) ACPI APIC Table: <Nvidia AWRDACPI> ioapic0 <Version 1.1> irqs 0-23 on motherboard acpi0: <Nvidia AWRDACPI> on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR pci_link0: <ACPI PCI Link LNK1> irq 11 on acpi0 pci_link1: <ACPI PCI Link LNK2> on acpi0 pci_link2: <ACPI PCI Link LNK3> irq 10 on acpi0 pci_link3: <ACPI PCI Link LNK4> on acpi0 pci_link4: <ACPI PCI Link LNK5> on acpi0 pci_link5: <ACPI PCI Link LUBA> irq 11 on acpi0 pci_link6: <ACPI PCI Link LUBB> on acpi0 pci_link7: <ACPI PCI Link LMAC> on acpi0 pci_link8: <ACPI PCI Link LACI> irq 12 on acpi0 pci_link9: <ACPI PCI Link LMCI> on acpi0 pci_link10: <ACPI PCI Link LSMB> irq 10 on acpi0 pci_link11: <ACPI PCI Link LUB2> irq 5 on acpi0 pci_link12: <ACPI PCI Link LIDE> on acpi0 pci_link13: <ACPI PCI Link LSID> on acpi0 pci_link14: <ACPI PCI Link LFID> on acpi0 pci_link15: <ACPI PCI Link LPCA> on acpi0 pci_link16: <ACPI PCI Link APC1> irq 0 on acpi0 pci_link17: <ACPI PCI Link APC2> irq 0 on acpi0 pci_link18: <ACPI PCI Link APC3> irq 0 on acpi0 pci_link19: <ACPI PCI Link APC4> irq 0 on acpi0 pci_link20: <ACPI PCI Link APC5> irq 16 on acpi0 pci_link21: <ACPI PCI Link APCF> irq 0 on acpi0 pci_link22: <ACPI PCI Link APCG> irq 0 on acpi0 pci_link23: <ACPI PCI Link APCH> irq 0 on acpi0 pci_link24: <ACPI PCI Link APCJ> irq 0 on acpi0 pci_link25: <ACPI PCI Link APCK> irq 0 on acpi0 pci_link26: <ACPI PCI Link APCS> irq 0 on acpi0 pci_link27: <ACPI PCI Link APCL> irq 0 on acpi0 pci_link28: <ACPI PCI Link APCZ> irq 0 on acpi0 pci_link29: <ACPI PCI Link APSI> irq 0 on acpi0 pci_link30: <ACPI PCI Link APSJ> irq 0 on acpi0 pci_link31: <ACPI PCI Link APCP> irq 0 on acpi0 Timecounter "ACPI-fast" 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 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci_link26: Unable to choose an IRQ pci_link21: Unable to choose an IRQ pci_link27: Unable to choose an IRQ pci_link24: Unable to choose an IRQ pci0: <memory> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 pci0: <serial bus, SMBus> at device 1.1 (no driver attached) ohci0: <OHCI (generic) USB controller> mem 0xec100000-0xec100fff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 10 ports with 10 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> mem 0xec101000-0xec1010ff irq 22 at device 2.1 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: <EHCI (generic) USB 2.0 controller> on ehci0 usb1: USB revision 2.0 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 10 ports with 10 removable, self powered pci0: <multimedia, audio> at device 4.0 (no driver attached) atapci0: <nVidia nForce4 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci_link16: Unable to choose an IRQ pci_link18: Unable to choose an IRQ fxp0: <Intel 82558 Pro/100 Ethernet> port 0xb000-0xb01f mem 0xec000000-0xec000fff,0xeb000000-0xeb0fffff irq 16 at device 8.0 on pci1 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:a0:c9:b7:88:53 fwohci0: <Texas Instruments TSB82AA2> mem 0xeb104000-0xeb1047ff,0xeb100000-0xeb103fff irq 18 at device 10.0 on pci1 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:0f:ea:56:00:d7:5f:e8 fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:0f:ea:d7:5f:e8 fwe0: Ethernet address: 02:0f:ea:d7:5f:e8 fwe0: if_start running deferred for Giant sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) fwohci0: phy int pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0 pci4: <ACPI PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0 pci5: <ACPI PCI bus> on pcib5 pci5: <display, VGA> at device 0.0 (no driver attached) pci5: <display> at device 0.1 (no driver attached) fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio1: <Generic IRDA-compatible device> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1809281069 Hz quality 800 Timecounters tick every 1.000 msec ad0: 28620MB <ExcelStor Technology ES3230 ES7CA24G> at ata0-master UDMA66 Fatal trap 18: integer divide fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x8:0xffffffff8022fb5a stack pointer = 0x10:0xffffffff809d8940 frame pointer = 0x10:0xffffffff809d89a0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 0 ] Stopped at ata_raid_promise_read_meta+0x9a: divq %rsi,%eax db> tr Tracing pid 0 tid 0 td 0xffffffff80811e40 ata_raid_promise_read_meta() at ata_raid_promise_read_meta+0x9a ata_raid_read_metadata() at ata_raid_read_metadata+0x29b ata_raid_subdisk_attach() at ata_raid_subdisk_attach+0x27 device_attach() at device_attach+0x292 bus_generic_attach() at bus_generic_attach+0x18 ad_attach() at ad_attach+0x37e device_attach() at device_attach+0x292 bus_generic_attach() at bus_generic_attach+0x18 ata_identify() at ata_identify+0xe6 ata_boot_attach() at ata_boot_attach+0x42 run_interrupt_driven_config_hooks() at run_interrupt_driven_config_hooks+0x2a mi_startup() at mi_startup+0xd3 btext() at btext+0x2c db>