FreeBSD 6.0 kernel panic



Hi --

I have two new MSI MS-9218 machines with Pentium D (dual-core)
processors running FreeBSD 6.0-RELEASE (full dmesg output below).

They have one SATA disk drive: I had to change the BIOS SATA
controller option from "Enhanced" to "Compatible" in order to install
FreeBSD 6.0, although that is not necessary for FreeBSD 5.4.

They also have one PCI-E x8 slot, but I have installed a riser card to
support PCI-X SCSI cards that I already owned. One has an LSI Logic
1030 Ultra4 SCSI card and the other has an Adaptec 29320LP Ultra320.
The SCSI cards are detected at boot time (mpt0 for the LSI, ahd0 for
the Adaptec) and attached devices seem to work OK.

But the machines crash. This is what was on the console after the most
recent (I transcribed this, so typos are possible):

  panic: NMI indicates hardware failure
  cpuid = 1
  Fatal trap 19: non-maskable interrupt while in kernel mode
  cpuid = 0 apicid = 00
  instruction pointer = 0x20: 0xc067d5c9
  stack pointer       = 0x28: 0xd41fdcf8
  frame pointer       = 0x28: 0xd41fdcf8
  code segment        = base 0x0, limit oxffffff, type 0x1b
  processor eflags    = interrupt enabled, IOPC = 0
  current process     = 12 (idle cpu0)
  trap number         = 19

I have turned Hyper-Threading off in the BIOS and for now, have also
enabled "Single Logical Proc. Mode", which should effectively disable
the second CPU core.

When that option is disabled, the two cores are recognized, as evident
from dmesg:

  $ dmesg | grep SMP
  FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  SMP: AP CPU #1 Launched!

At first, I was using a kernel with the ULE scheduler but have since
gone back to the default 4BSD scheduler.

I'm going to build and install a new kernel with debug symbols, in the
hope that I can learn something from the core dumps, although that's
way over my head.

If anybody has any ideas what might be wrong or how I should proceed
from here, I'd appreciate them, and I'll be happy to provide any
further information that I can.

Thanks.

-- John
---------------- /var/run/dmesg.boot ----------------
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-RELEASE #10: Tue May 9 09:43:10 CDT 2006
root@xxxxxxxxxxxxxx:/usr/src/sys/i386/compile/JLD
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (2992.52-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf44 Stepping = 4
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>>
AMD Features=0x20100000<NX,LM>
Hyperthreading: 2 logical CPUs
real memory = 535363584 (510 MB)
avail memory = 518615040 (494 MB)
MPTable: <INTEL GLENWOOD >
ioapic0: Assuming intbase of 0
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <MPTable PCI-PCI bridge> at device 0.0 on pci1
pci2: <PCI bus> on pcib2
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x4000-0x40ff mem
0xd8020000-0xd803ffff,0xd8000000-0xd801ffff irq 16 at device 1.0 on
pci2
mpt0: [GIANT-LOCKED]
mpt0: MPI Version=1.2.12.0
mpt0: Unhandled Event Notify Frame. Event 0xa.
pcib3: <PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci3: <PCI bus> on pcib3
pcib4: <MPTable PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci4: <PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port
0x5000-0x501f mem 0xd8400000-0xd841ffff irq 16 at device 0.0 on pci4
em0: Ethernet address: 00:13:d3:fe:05:50
em0: Speed:N/A Duplex:N/A
pcib5: <MPTable PCI-PCI bridge> irq 18 at device 28.5 on pci0
pci5: <PCI bus> on pcib5
em1: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port
0x6000-0x601f mem 0xd8500000-0xd851ffff irq 17 at device 0.0 on pci5
em1: Ethernet address: 00:13:d3:fe:05:51
em1: Speed:N/A Duplex:N/A
uhci0: <UHCI (generic) USB controller> port 0x3000-0x301f irq 23 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) 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
uhci1: <UHCI (generic) USB controller> port 0x3020-0x303f irq 19 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0x3040-0x305f irq 18 at
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0x3060-0x307f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd8700000-0xd87003ff
irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <EHCI (generic) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib6: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci10: <PCI bus> on pcib6
pci10: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 SATA150 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30b0-0x30bf at device 31.2 on
pci0
atapci0: failed to enable memory mapping!
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xccfff,0xcd000-0xd0fff,
0xdc000-0xdffff, 0xe0000-0xe17ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <INT0800> can't assign resources (memory)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
ppc1: parallel port not found.
Timecounter "TSC" frequency 2992518000 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 238475MB <Seagate ST3250824AS 3.AAD> at ata0-master SATA150
acd0: CDRW <Slimtype COMBO SOSC-2483K/KK0M> at ata1-master UDMA33
Waiting 5 seconds for SCSI devices to settle
da0 at mpt0 bus 0 target 0 lun 0
da0: <SB-1430S I 0001> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 62, 16bit), Tagged
Queueing Enabled
da0: 1144648MB (2344239104 512 byte sectors: 255H 63S/T 145922C)
Trying to mount root from ufs:/dev/ad0s1a

========

.



Relevant Pages

  • Panic with amr and 5.4-PRERELEASE
    ... I have a FreeBSD bi-processor box with amr device in FreeBSD ... 'tr /dev/cuaa1' to connect to a different port ... # Floating point support - do not disable. ... pci0: <PCI bus> on pcib0 ...
    (freebsd-current)
  • Panic with amr and 5.4-PRERELEASE
    ... I have a FreeBSD bi-processor box with amr device in FreeBSD ... 'tr /dev/cuaa1' to connect to a different port ... # Floating point support - do not disable. ... pci0: <PCI bus> on pcib0 ...
    (freebsd-stable)
  • 6.0 panics on boot
    ... panic, Fatal trap 12, page fault at the NVidea driver in the boot. ... pci0: <ACPI PCI bus> on pcib0 ... fdc0: port ...
    (freebsd-questions)
  • ad0: FAILURE - READ_DMA
    ... FreeBSD complains about DMA problems. ... pci0: ... irq 16 at ... port 0xb800-0xb8ff mem ...
    (freebsd-questions)
  • Re: System Freezing -Again
    ... I'd guess you have an irq problem, the @'s sound like a mail bomb of some kind, but my server's get that all the time. ... pci0: <PCI bus> on pcib0 ... 16 at device 29.0 on pci0 ... ppc0: parallel port not found. ...
    (freebsd-questions)