Panic on 5.1-RELEASE with ahc

From: Matt Dainty <matt_at_bodgit-n-scarper.com>
Date: Wed, 27 Aug 2003 10:39:42 +0100
Hi,

I've just acquired a new Dell PowerEdge 4600 server (2x 2.4GHz Xeons,
2GB, PERC 3/Di, ...) which I've installed FreeBSD 5.1-RELEASE on.

All the hardware seems to be detected okay, and I've rebuilt a kernel
with unnecessary drivers removed and to take advantage of the SMP, and
this seems to be working in my limited testing so far.

The only problem I have, (and this happened with the stock installed
kernel too ISTR) is that on shutting down, I consistently get a panic,
which after rebuilding my kernel with the debugging turned on, I have
slightly more information:

...
Uptime: 1m48s
NMI ISA a0, EISA ff
RAM parity error, likely hardware failure.

Fatal trap 19: non-maskable interrupt trap while in kernel mode
cpuid = 0; lapic.id = 00000000
instruction pointer     = 0x8:0xc014cd64
stack pointer           = 0x10:0xe11eac78
frame pointer           = 0x10:0xe11eac84
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, IOPL = 0
current process         = 1 (init)
kernel: type 19 trap, code=0
Stopped at      ahc_shutdown+0x24:      jmp     ahc_shutdown+0x29
db> trace
ahc_shutdown(c3b0bc00,0,c03326cd,175,32) at ahc_shutdown+0x24
boot(0,0,c03326cd,af,e11ead40) at boot+0x6c0
reboot(c3b17720,e11ead10,c0345860,3fb,1) at reboot+0x46
syscall(2f,2f,2f,80a943a,bfbffdf8) at syscall+0x26e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (55, FreeBSD ELF32, reboot), eip = 0x80507ab, esp = 0xbfbffc2c, ebp = 0xbfbffcf8 ---
db>

This also causes the Hardware LCD display on the front to display "E13F5
PCI SYSTEM", which I have to remove all power from the machine to clear,
although the machine appears to still work with this message displayed.

On advice of the message regarding RAM/hardware failure, I've run all of
the Dell diagnostics to check things like the RAM, and they all pass
with no problem.

The machine has a 39160 fitted in one of the PCI-X slots and also has
both an AIC7899 and AIC7890 onboard, the latter of which has a Quantum
SDLT320 tape drive connected. I've tried removing the 39160 and this
makes no difference. If I remove the ahc driver from my config and
rebuild, I no longer get the panic, problem is I'd like to use the tape
drive :-)

I've included the output of "pciconf -v -l" below if that's any use,
otherwise I'm a bit green on debugging FreeBSD so if there is any more
information you want/need, please let me know how to get it.

Cheers

Matt
-- 
"Accept anything. Then explain it your way."

hostb0_at_pci0:0:0:	class=0x060000 card=0x00000000 chip=0x00111166 rev=0x22 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CMIC-HE'
    class    = bridge
    subclass = HOST-PCI
hostb1_at_pci0:0:1:	class=0x060000 card=0x00000000 chip=0x00111166 rev=0x00 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CMIC-HE'
    class    = bridge
    subclass = HOST-PCI
hostb2_at_pci0:0:2:	class=0x060000 card=0x00000000 chip=0x00111166 rev=0x00 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CMIC-HE'
    class    = bridge
    subclass = HOST-PCI
hostb3_at_pci0:0:3:	class=0x060000 card=0x00000000 chip=0x00111166 rev=0x00 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CMIC-HE'
    class    = bridge
    subclass = HOST-PCI
fxp0_at_pci0:4:0:	class=0x020000 card=0x01061028 chip=0x12298086 rev=0x08 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82557/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
    class    = network
    subclass = ethernet
ahc0_at_pci0:6:0:	class=0x010000 card=0x01061028 chip=0x001f9005 rev=0x01 hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AHA-2940U2/AHA-2940U2W AIC-7890/1 Ultra2 SCSI Controller'
    class    = mass storage
    subclass = SCSI
none0_at_pci0:14:0:	class=0x030000 card=0x01061028 chip=0x47521002 rev=0x27 hdr=0x00
    vendor   = 'ATI Technologies'
    device   = 'Rage XL PCI'
    class    = display
    subclass = VGA
hostb4_at_pci0:15:0:	class=0x060000 card=0x02011166 chip=0x02011166 rev=0x93 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CSB5 PCI to ISA Bridge'
    class    = bridge
    subclass = HOST-PCI
atapci0_at_pci0:15:1:	class=0x010182 card=0x02121166 chip=0x02121166 rev=0x93 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CSB5 PCI EIDE Controller'
    class    = mass storage
    subclass = ATA
ohci0_at_pci0:15:2:	class=0x0c0310 card=0x02201166 chip=0x02201166 rev=0x05 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'OSB4 OpenHCI Compliant USB Controller'
    class    = serial bus
    subclass = USB
isab0_at_pci0:15:3:	class=0x060100 card=0x02301166 chip=0x02251166 rev=0x00 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CSB5 PCI Bridge'
    class    = bridge
    subclass = PCI-ISA
hostb5_at_pci0:16:0:	class=0x060000 card=0x00000000 chip=0x00101166 rev=0x03 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CIOB30'
    class    = bridge
    subclass = HOST-PCI
hostb6_at_pci0:16:2:	class=0x060000 card=0x00000000 chip=0x00101166 rev=0x03 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CIOB30'
    class    = bridge
    subclass = HOST-PCI
hostb7_at_pci0:17:0:	class=0x060000 card=0x00000000 chip=0x00101166 rev=0x03 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CIOB30'
    class    = bridge
    subclass = HOST-PCI
hostb8_at_pci0:17:2:	class=0x060000 card=0x00000000 chip=0x00101166 rev=0x03 hdr=0x00
    vendor   = 'Reliance Computer Corp./ServerWorks'
    device   = 'CIOB30'
    class    = bridge
    subclass = HOST-PCI
bge0_at_pci1:6:0:	class=0x020000 card=0x01061028 chip=0x164414e4 rev=0x14 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5700 NetXtreme Gigabit Ethernet Controller'
    class    = network
    subclass = ethernet
pcib2_at_pci1:8:0:	class=0x060400 card=0x00000068 chip=0x03098086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '80303 I/O Processor PCI-to-PCI Bridge Unit'
    class    = bridge
    subclass = PCI-PCI
aac0_at_pci1:8:1:	class=0x010400 card=0x01061028 chip=0x000a1028 rev=0x01 hdr=0x00
    vendor   = 'Dell Computer Corporation'
    device   = 'PowerEdge 3/Di Expandable RAID Controller'
    class    = mass storage
    subclass = RAID
none1_at_pci2:6:0:	class=0x010000 card=0x00c51028 chip=0x00c59005 rev=0x01 hdr=0x00
    vendor   = 'Adaptec'
    device   = 'RAID Subsystem HBA'
    class    = mass storage
    subclass = SCSI
ahc1_at_pci2:6:1:	class=0x010000 card=0x01061028 chip=0x00cf9005 rev=0x01 hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AIC-7899 Ultra160 SCSI Host Adapter'
    class    = mass storage
    subclass = SCSI
ahc2_at_pci3:6:0:	class=0x010000 card=0xf6209005 chip=0x00c09005 rev=0x01 hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AHA-39160 (AIC-7899A) Ultra160 SCSI Host Adapter'
    class    = mass storage
    subclass = SCSI
ahc3_at_pci3:6:1:	class=0x010000 card=0xf6209005 chip=0x00c09005 rev=0x01 hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AHA-39160 (AIC-7899A) Ultra160 SCSI Host Adapter'
    class    = mass storage
    subclass = SCSI

Received on Wed Aug 27 2003 - 00:47:01 UTC

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