i386/5233: Panic on boot with i386 mp kernel and Routerboard 44

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

i386/5233: Panic on boot with i386 mp kernel and Routerboard 44

Kyle George
>Number:         5233
>Category:       i386
>Synopsis:       Panic on boot with i386 mp kernel and Routerboard 44
>Confidential:   yes
>Severity:       critical
>Priority:       medium
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 11 06:40:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Kyle George
>Release:        3.9
>Organization:
net
>Environment:
        System      : OpenBSD 3.9
        Architecture: OpenBSD.i386
        Machine     : i386
       
  Dell PowerEdge SC420, bios revision A02
  Single processor machine

>Description:

Booting the 3.9 mp kernel with the Routerboard 44 (rb44) installed
results in the following panic.  Removing the Routerboard rb44 and
booting the mp kernel results in a successful boot.  The sp kernel boots
fine with the rb44 installed (but has other problems).  dmesgs from the
panic, mp boot w/o board installed, and sp boot w/ board are below.  

I believe something about this board or chipset is not making the system
happy.  I been having nothing but problems getting various multiport NIC
cards to work on this machine under OpenBSD.  However, under FreeBSD and
even windows the cards work fine.  My hunch is that something with the
pci to pci bridge ppb is the problem, but I have no proof of this.

I'm sure that the dumbed-down Dell bios is not helping, but given that
this works under another BSD on the same machine I consider this a bug.

Even after booting the sp kernel successfully, the system exhibits
persistant "vrX: rx packet lost" errors for the rb44.  I am going to
file this and the problems with the other multiport NIC card (which are
not the same) under a different PR.

I have tried this card in another identical Dell PowerEdge SC420 machine
with the same result.  The rb44 works flawlessly in a different PIII
machine.  Additionally, the other problem multiport NIC (Intel
PRO/1000PT PCIe) works under FreeBSD on this machine as well.

[ unsuccessful mp boot, w/ card inserted ]

boot> boot /bsd.mp
booting hd0a:/bsd.mp: 5004968+872840 [52+258352+239412]=0x614a3c
entry point at 0x100120
[ using 498188 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org
OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 526544896 (514204K)
avail mem = 473362432 (462268K)
using 4278 buffers containing 26431488 bytes (25812K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/06/06, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: APM get power status: unknown error code? (83)
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0x9800! 0xc9800/0x2800
mainbus0: Intel MP Specification (Version 1.4) (DELL     PE SC420    )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
mainbus0: bus 0 is type PCI  
mainbus0: bus 1 is type PCI  
mainbus0: bus 2 is type PCI  
mainbus0: bus 3 is type PCI  
mainbus0: bus 4 is type PCI  
mainbus0: bus 5 is type PCI  
mainbus0: bus 6 is type ISA  
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apic 8
mpbios: can't find ioapic 0
mpbios: can't find ioapic 0
mpbios: can't find ioapic 0
mpbios: can't find ioapic 0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7221 MCH Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel E7221 PCIE" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel E7221 Video" rev 0x04: aperture at
0xdff80000, size 0x8000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1
(0x4001): apic 8 int 16 (irq 11), address 00:11:11:cc:8a:37
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03
pci3 at ppb2 bus 3
ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd3
pci4 at ppb3 bus 4
ppb4 at pci4 dev 1 function 0 vendor "Hint", unknown product 0x0021 rev 0x15
pci5 at ppb4 bus 5
vr0 at pci5 dev 8 function 0 "VIA VT6105 RhineIII" rev 0x86
panic: apic_intr_establish: unknown ioapic 0
Stopped at      Debugger+0x4:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
Debugger(d001,10,d05e2760,0,3) at Debugger+0x4
panic(d0591080,0,d0717a58,a,d0717ad0) at panic+0x63
apic_intr_establish(1000110a,3,50,d03baaa4,d107e000) at apic_intr_establish+0x57
pci_intr_establish(0,80054000,1000110a,1,0) at pci_intr_establish+0x8b
vr_attach(d10619c0,d107e000,d0717b60,0,10) at vr_attach+0xd6
config_attach(d10619c0,d05a8bc0,d0717b60,d0370cc8) at config_attach+0xef
pciattach(d1061a00,d10619c0,d0717c00,0,d05afae4) at pciattach+0x1c8
config_attach(d1061a00,d05a8428,d0717c00,d03b37bc,d0574a64) at config_attach+0xef
ppbattach(d1061a40,d1061a00,d0717ca0,0,10) at ppbattach+0x8e
config_attach(d1061a40,d05a8aa0,d0717ca0,d0370cc8) at config_attach+0xef
pciattach(d1061a80,d1061a40,d0717d40,0,d05afae4) at pciattach+0x1c8
config_attach(d1061a80,d05a8428,d0717d40,d03b37bc,d0574a64) at config_attach+0xef
ppbattach(d1061f40,d1061a80,d0717de0,0,0) at ppbattach+0x8e
config_attach(d1061f40,d05a8aa0,d0717de0,d0370cc8) at config_attach+0xef
pciattach(d1061fc0,d1061f40,d0717ea0,0,d0518895) at pciattach+0x1c8
config_attach(d1061fc0,d05a8428,d0717ea0,d0370894) at config_attach+0xef
mainbus_attach(0,d1061fc0,0,0,d0717f10) at mainbus_attach+0x19c
config_attach(0,d05a8404,0,0,d05eb2a0) at config_attach+0xef
config_rootfound(d053f47c,0,d0717f58,d03454c0) at config_rootfound+0x27
cpu_configure(0,1,3,0,1f68c000) at cpu_configure+0x1f
main(0,0,0,0,0) at main+0x36c
ddb{0}> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
*    0     -1      0      0  7     0x80204             swapper
ddb{0}> show panic
apic_intr_establish: unknown ioapic 0
ddb{0}>

[ successful mp boot, w/ card removed ]

OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 526544896 (514204K)
avail mem = 473362432 (462268K)
using 4278 buffers containing 26431488 bytes (25812K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/06/06, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: APM get power status: unknown error code? (83)
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0x9800! 0xc9800/0x2800
mainbus0: Intel MP Specification (Version 1.4) (DELL     PE SC420    )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
mainbus0: bus 0 is type PCI  
mainbus0: bus 1 is type PCI  
mainbus0: bus 2 is type PCI  
mainbus0: bus 3 is type PCI  
mainbus0: bus 4 is type PCI  
mainbus0: bus 5 is type ISA  
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apic 8
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7221 MCH Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel E7221 PCIE" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel E7221 Video" rev 0x04: aperture at
0xdff80000, size 0x8000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1
(0x4001): apic 8 int 16 (irq 11), address 00:11:11:cc:8a:37
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03
pci3 at ppb2 bus 3
ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd3
pci4 at ppb3 bus 4
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8483B, 1.05> SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801FR SATA" rev 0x03: DMA, channel 0
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 8 int 20 (irq 5) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <WDC WD1600JS-55NCB1>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: <Maxtor 6Y080M0>
wd1: 16-sector PIO, LBA, 76293MB, 156250000 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: apic 8 int 17
(irq 10)
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
biomask 0 netmask 0 ttymask 0
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

[ successful sp boot, w/ card inserted ]

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 526544896 (514204K)
avail mem = 473415680 (462320K)
using 4278 buffers containing 26431488 bytes (25812K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/06/06, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: APM get power status: unknown error code? (83)
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeb00/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0x9800! 0xc9800/0x2800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7221 MCH Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel E7221 PCIE" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel E7221 Video" rev 0x04: aperture at
0xdff80000, size 0x8000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1
(0x4001): irq 11, address 00:11:11:cc:8a:37
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03
pci3 at ppb2 bus 3
ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd3
pci4 at ppb3 bus 4
ppb4 at pci4 dev 1 function 0 vendor "Hint", unknown product 0x0021 rev 0x15
pci5 at ppb4 bus 5
vr0 at pci5 dev 8 function 0 "VIA VT6105 RhineIII" rev 0x86: irq 10, address
00:0c:42:02:49:b3
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 5: OUI 0x004063,
model 0x0034
vr1 at pci5 dev 9 function 0 "VIA VT6105 RhineIII" rev 0x86: irq 3, address
00:0c:42:02:49:b4
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 5: OUI
0x004063, model 0x0034
vr2 at pci5 dev 10 function 0 "VIA VT6105 RhineIII" rev 0x86: irq 9, address
00:0c:42:02:49:b5
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 5: OUI
0x004063, model 0x0034
vr3 at pci5 dev 11 function 0 "VIA VT6105 RhineIII" rev 0x86: irq 11, address
00:0c:42:02:49:b6
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 5: OUI
0x004063, model 0x0034
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8483B, 1.05> SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801FR SATA" rev 0x03: DMA, channel
0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <WDC WD1600JS-55NCB1>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: <Maxtor 6Y080M0>
wd1: 16-sector PIO, LBA, 76293MB, 156250000 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 10
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
biomask f5e5 netmask ffed ttymask ffef
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

>How-To-Repeat:

Boot mp kernel with a routerboard rb44.  Might only be reproducable on a Dell
or this model motherboard/chipset.
       
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: