snapshot bsd.mp panics

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

snapshot bsd.mp panics

Todd T. Fries-2
[ using 733264 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-current (GENERIC.MP) #81: Thu Apr 21 00:10:03 MDT 2011
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FE
real mem  = 1073184768 (1023MB)
avail mem = 1045463040 (997MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0panic: cpu at apic id 0 already attached?
Stopped at      Debugger+0x4:   popl    %ebp
Debugger(d08e3546,d0ba8b24,d0992a68,d0ba8b24,d08c0b02) at Debugger+0x4
panic(d0992a68,0,0,0,d0ba8b54) at panic+0x5d
apic_format_redir(d1e95fc0,d1da8400,d0ba8c04,d03e655b,0) at apic_format_redir
config_attach(d1e95fc0,d09c2b28,d0ba8c04,d083fb70,0) at config_attach+0x140
acpimadt_attach(d1e93c00,d1ea9d80,d0ba8c94,d03e655b,d0830190) at acpimadt_attac
h+0x36a
config_attach(d1e93c00,d09c3ddc,d0ba8c94,d0830e50,0) at config_attach+0x140
acpi_attach(d1e95f80,d1e93c00,d0ba8d84,d03e655b,0) at acpi_attach+0x4f1
config_attach(d1e95f80,d09c3c98,d0ba8d84,d07766c0,2f) at config_attach+0x140
biosattach(d1e95fc0,d1e95f80,d0ba8e5c,d03e655b,0) at biosattach+0x456
config_attach(d1e95fc0,d09c2abc,d0ba8e5c,d05a82b0,10) at config_attach+0x140
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
Debugger(d08e3546,d0ba8b24,d0992a68,d0ba8b24,d08c0b02) at Debugger+0x4
panic(d0992a68,0,0,0,d0ba8b54) at panic+0x5d
apic_format_redir(d1e95fc0,d1da8400,d0ba8c04,d03e655b,0) at apic_format_redir
config_attach(d1e95fc0,d09c2b28,d0ba8c04,d083fb70,0) at config_attach+0x140
acpimadt_attach(d1e93c00,d1ea9d80,d0ba8c94,d03e655b,d0830190) at acpimadt_attac
h+0x36a
config_attach(d1e93c00,d09c3ddc,d0ba8c94,d0830e50,0) at config_attach+0x140
acpi_attach(d1e95f80,d1e93c00,d0ba8d84,d03e655b,0) at acpi_attach+0x4f1
config_attach(d1e95f80,d09c3c98,d0ba8d84,d07766c0,2f) at config_attach+0x140
biosattach(d1e95fc0,d1e95f80,d0ba8e5c,d03e655b,0) at biosattach+0x456
config_attach(d1e95fc0,d09c2abc,d0ba8e5c,d05a82b0,10) at config_attach+0x140
mainbus_attach(0,d1e95fc0,0,d09c00d4,0) at mainbus_attach+0x4e
config_attach(0,d09c00d4,0,0,d0a343e0) at config_attach+0x140
config_rootfound(d08e2506,0,0,d03d7ef1,0) at config_rootfound+0x46
cpu_configure(d0af11e0,1,1000,cff3f000,1) at cpu_configure+0x29
main(d02004ba,d02004c2,0,0,0) at main+0x40a
ddb{0}> mach ddbcpu 1
Invalid cpu 1

Previously running kernel:

[ using 628800 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-2008 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.4-beta (GENERIC.MP) #837: Tue Aug  5 12:18:32 MDT 2008
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.
27 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SSE
real mem  = 1073184768 (1023MB)
avail mem = 1029234688 (981MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIO
S rev. 2.3 @ 0xfb1e0 (47 entries)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc200/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks CSB5" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0
xec000/0x4000!
ipmi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.
27 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SSE
mainbus0: bus 0 is type PCI  
mainbus0: bus 1 is type PCI  
mainbus0: bus 2 is type PCI  
mainbus0: bus 3 is type ISA  
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int
 1 (irq 11), address 00:06:5b:ec:9c:f6
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int
 0 (irq 7), address 00:06:5b:ec:9c:f7
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 2 (
irq 5)
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct f
ixed
sd0: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct f
ixed
sd1: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct f
ixed
sd2: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
safte0 at scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor
fixed
ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 3 (
irq 11)
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
uhci0 at pci0 dev 10 function 0 "VIA VT83C572 USB" rev 0x62: apic 3 int 4 (irq
 11)
uhci1 at pci0 dev 10 function 1 "VIA VT83C572 USB" rev 0x62: apic 3 int 5 (irq
 7)
ehci0 at pci0 dev 10 function 2 "VIA VT6202 USB" rev 0x65: apic 3 int 6 (irq 5
)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 256MB SDRAM registered ECC PC133CL2
spdmem1 at iic0 addr 0x51: 256MB SDRAM registered ECC PC133CL2
spdmem2 at iic0 addr 0x52: 256MB SDRAM registered ECC PC133CL2
spdmem3 at iic0 addr 0x53: 256MB SDRAM registered ECC PC133CL2
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus2 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> ATAPI 5/cdrom rem
ovable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 2 i
nt 3 (irq 3), version 1.0, legacy support
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
softraid0 at root
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x7f
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x7f
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x7f
root on sd0a swap on sd0b dump on sd0b

bsd.rd hangs on 'rd0: fixed,..':

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-current (RAMDISK_CD) #41: Thu Apr 21 00:17:13 MDT 2011
    [hidden email]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FE
real mem  = 1073184768 (1023MB)
avail mem = 1048649728 (1000MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (application processor)
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus -1 (ZION)
acpiprt3 at acpi0: bus 2 (PCI2)
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0x!
cpu at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int 6
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int 7
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 2 (i)
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi5
sd0: 70007MB, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi3
sd1: 70007MB, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi9
sd2: 70007MB, 512 bytes/sec, 143374650 sec total
scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor fixed not cdahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 3 (i)
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
uhci0 at pci0 dev 10 function 0 "VIA VT83C572 USB" rev 0x62: apic 3 int 4 (irq )
uhci1 at pci0 dev 10 function 1 "VIA VT83C572 USB" rev 0x62: apic 3 int 5 (irq )
ehci0 at pci0 dev 10 function 2 "VIA VT6202 USB" rev 0x65: apic 3 int 6 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> ATAPI 5/cdrom remoe
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 2 int
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
rd0: fixed, 3872 blocks

Tried with 'disable acpimadt' and it works:

>> OpenBSD/i386 BOOT 3.02
boot> bsd.rd49cur -c
booting hd0a:bsd.rd49cur: 5929292+952636 [61+226208+214150]=0x6fbc8c
entry point at 0x200120

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-current (RAMDISK_CD) #41: Thu Apr 21 00:17:13 MDT 2011
    [hidden email]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FE
real mem  = 1073184768 (1023MB)
avail mem = 1048649728 (1000MB)
User Kernel Config
UKC> disable acpimadt
254 acpimadt0 disabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus -1 (ZION)
acpiprt3 at acpi0: bus 2 (PCI2)
mpbios at bios0 function 0x0 not configured
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0x!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: irq 11, add6
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: irq 7, addr7
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: irq 5
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi5
sd0: 70007MB, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi3
sd1: 70007MB, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi9
sd2: 70007MB, 512 bytes/sec, 143374650 sec total
scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor fixed not cd
ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: irq 11
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
uhci0 at pci0 dev 10 function 0 "VIA VT83C572 USB" rev 0x62: irq 11
uhci1 at pci0 dev 10 function 1 "VIA VT83C572 USB" rev 0x62: irq 7
ehci0 at pci0 dev 10 function 2 "VIA VT6202 USB" rev 0x65: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> ATAPI 5/cdrom remoe
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: irq 3, vet
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ffed netmask ffed ttymask ffff
rd0: fixed, 3872 blocks
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x7f
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x7f
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x7f
umass0 at uhub0 port 1 configuration 1 interface 0 "Western Digital My Book 1112
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd3 at scsibus3 targ 1 lun 0: <WD, My Book 1110, 2003> SCSI2 0/direct fixed
sd3: 953199MB, 512 bytes/sec, 1952151552 sec total
cd1 at scsibus3 targ 1 lun 1: <WD, Virtual CD 1110, 2003> SCSI2 5/cdrom removabe
scsibus3 targ 1 lun 2: <WD, SES Device, 2003> SCSI2 13/enclosure services fixedd
softraid0 at root
scsibus4 at softraid0: 1 targets
sd4 at scsibus4 targ 0 lun 0: <OPENBSD, SR RAID 0, 004> SCSI2 0/direct fixed
sd4: 209699MB, 512 bytes/sec, 429465405 sec total
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

kern.osrelease=4.9
hw.machine=i386
hw.model=Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class)
hw.product=PowerEdge 1650
hw.disknames=sd0:,sd1:,sd2:,cd0:,fd0:,rd0:65ee03026b2add82,sd3:867f04c3ea7a7417:
hw.ncpufound=1

There are definately two cpus in this system.

4.4 release with 'disable acpimadt' freezes in 'iic0 at piixpm0':

[ using 628768 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-2008 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.4 (GENERIC.MP) #844: Tue Aug 12 17:24:39 MDT 2008
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,ME
real mem  = 267878400 (255MB)
avail mem = 250523648 (238MB)
User Kernel Config
UKC> disable acpimadt
440 acpimadt0 disabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus -1 (ZION)
acpiprt3 at acpi0: bus 2 (PCI2)
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0x!
ipmi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,ME
mainbus0: bus 0 is type PCI  
mainbus0: bus 1 is type PCI  
mainbus0: bus 2 is type PCI  
mainbus0: bus 3 is type ISA  
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int 6
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int 7
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 2 (i)
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fid
sd0: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fid
sd1: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fid
sd2: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
safte0 at scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor fd
ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 3 (i)
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
uhci0 at pci0 dev 10 function 0 "VIA VT83C572 USB" rev 0x62: apic 3 int 4 (irq )
uhci1 at pci0 dev 10 function 1 "VIA VT83C572 USB" rev 0x62: apic 3 int 5 (irq )
ehci0 at pci0 dev 10 function 2 "VIA VT6202 USB" rev 0x65: apic 3 int 6 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93: SMI
iic0 at piixpm0

4.4 release works with 'disable acpimadt' 'disable piixpm':
[ using 628768 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-2008 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.4 (GENERIC.MP) #844: Tue Aug 12 17:24:39 MDT 2008
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,ME
real mem  = 267878400 (255MB)
avail mem = 250523648 (238MB)
User Kernel Config
UKC> disable acpimadt
440 acpimadt0 disabled
UKC> disable piixpm
197 piixpm* disabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus -1 (ZION)
acpiprt3 at acpi0: bus 2 (PCI2)
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0x!
ipmi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,ME
mainbus0: bus 0 is type PCI  
mainbus0: bus 1 is type PCI  
mainbus0: bus 2 is type PCI  
mainbus0: bus 3 is type ISA  
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int 6
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int 7
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 2 (i)
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fid
sd0: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fid
sd1: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fid
sd2: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
safte0 at scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor fd
ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 3 (i)
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
uhci0 at pci0 dev 10 function 0 "VIA VT83C572 USB" rev 0x62: apic 3 int 4 (irq )
uhci1 at pci0 dev 10 function 1 "VIA VT83C572 USB" rev 0x62: apic 3 int 5 (irq )
ehci0 at pci0 dev 10 function 2 "VIA VT6202 USB" rev 0x65: apic 3 int 6 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus2 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> ATAPI 5/cdrom remoe
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 2 int
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 1 configuration 1 interface 0 "Western Digital My Book 1112
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd3 at scsibus3 targ 1 lun 0: <WD, My Book 1110, 2003> SCSI2 0/direct fixed
sd3: 953199MB, 121515 cyl, 255 head, 63 sec, 512 bytes/sec, 1952151552 sec total
cd1 at scsibus3 targ 1 lun 1: <WD, Virtual CD 1110, 2003> SCSI2 5/cdrom removabe
ses0 at scsibus3 targ 1 lun 2: <WD, SES Device, 2003> SCSI2 13/enclosure servicd
ses0: unable to read enclosure configuration
softraid0 at root
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x7f
softraid0: sd0d can not read metadata version 4, expected 3
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x7f
softraid0: sd1d can not read metadata version 4, expected 3
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x7f
softraid0: sd2d can not read metadata version 4, expected 3
root on sd0a swap on sd0b dump on sd0b

# sysctl hw
hw.machine=i386
hw.model=Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class)
hw.ncpu=2
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0,sd1,sd2,cd0,fd0,sd3,cd1
hw.diskcount=7
hw.sensors.safte0.temp0=20.56 degC, OK
hw.cpuspeed=1264
hw.vendor=Dell Computer Corporation
hw.product=PowerEdge 1650
hw.serialno=23TML11
hw.uuid=44454c4c-3300-1054-804d-b2c04f4c3131
hw.physmem=267878400
hw.usermem=267862016

4.9-current with 'disable acpimadt' 'disable piixpm':
>> OpenBSD/i386 BOOT 3.02
boot> bsd.mp49cur -cs
booting hd0a:bsd.mp49cur: 8286496+1100996 [61+373888+358899]=0x9a6e34
entry point at 0x200120

[ using 733264 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-current (GENERIC.MP) #81: Thu Apr 21 00:10:03 MDT 2011
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FE
real mem  = 267878400 (255MB)
avail mem = 253333504 (241MB)
User Kernel Config
UKC> disable acpimadt
487 acpimadt0 disabled
UKC> disable piixpm
207 piixpm* already disabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus -1 (ZION)
acpiprt3 at acpi0: bus 2 (PCI2)
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.2z
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FE
mpbios0: bus 0 is type PCI  
mpbios0: bus 1 is type PCI  
mpbios0: bus 2 is type PCI  
mpbios0: bus 3 is type ISA  
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0x!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int 6
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 3 int 7
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 2 (i)
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi5
sd0: 70007MB, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi3
sd1: 70007MB, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFX1> SCSI3 0/direct fi9
sd2: 70007MB, 512 bytes/sec, 143374650 sec total
safte0 at scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor fd
ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 3 int 3 (i)
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
uhci0 at pci0 dev 10 function 0 "VIA VT83C572 USB" rev 0x62: apic 3 int 4 (irq )
uhci1 at pci0 dev 10 function 1 "VIA VT83C572 USB" rev 0x62: apic 3 int 5 (irq )
ehci0 at pci0 dev 10 function 2 "VIA VT6202 USB" rev 0x65: apic 3 int 6 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> ATAPI 5/cdrom remoe
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 2 int
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x7f
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x7f
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x7f
umass0 at uhub0 port 1 configuration 1 interface 0 "Western Digital My Book 1112
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd3 at scsibus3 targ 1 lun 0: <WD, My Book 1110, 2003> SCSI2 0/direct fixed
sd3: 953199MB, 512 bytes/sec, 1952151552 sec total
cd1 at scsibus3 targ 1 lun 1: <WD, Virtual CD 1110, 2003> SCSI2 5/cdrom removabe
ses0 at scsibus3 targ 1 lun 2: <WD, SES Device, 2003> SCSI2 13/enclosure servicd
ses0: unable to read enclosure configuration
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 1 targets
sd4 at scsibus5 targ 0 lun 0: <OPENBSD, SR RAID 0, 004> SCSI2 0/direct fixed
sd4: 209699MB, 512 bytes/sec, 429465405 sec total
root on sd0a swap on sd0b dump on sd0b

acpidump:

[demime removed a uuencoded section named dell1650.tar.gz which was 103 lines]
--
Todd Fries .. [hidden email]

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| 2525 NW Expy #525, Oklahoma City, OK 73112  \  sip:[hidden email]
| "..in support of free software solutions."  \  sip:[hidden email]
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt

Reply | Threaded
Open this post in threaded view
|

Re: snapshot bsd.mp panics

Mark Kettenis
Todd, can you try the diff below?

Index: cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/cpu.c,v
retrieving revision 1.42
diff -u -p -r1.42 cpu.c
--- cpu.c 27 Nov 2010 13:03:04 -0000 1.42
+++ cpu.c 26 Apr 2011 10:01:37 -0000
@@ -176,30 +176,27 @@ cpu_attach(struct device *parent, struct
 {
  struct cpu_info *ci = (struct cpu_info *)self;
  struct cpu_attach_args *caa = (struct cpu_attach_args *)aux;
-
 #ifdef MULTIPROCESSOR
- int cpunum = ci->ci_dev.dv_unit;
+ int cpunum = self->dv_unit;
  vaddr_t kstack;
  struct pcb *pcb;
 #endif
 
- if (caa->cpu_role == CPU_ROLE_AP) {
-#ifdef MULTIPROCESSOR
- if (cpu_info[cpunum] != NULL)
- panic("cpu at apic id %d already attached?", cpunum);
- cpu_info[cpunum] = ci;
-#endif
- } else {
+ if (caa->cpu_role != CPU_ROLE_AP) {
  ci = &cpu_info_primary;
 #ifdef MULTIPROCESSOR
  if (caa->cpu_number != lapic_cpu_number()) {
  panic("%s: running cpu is at apic %d"
-    " instead of at expected %d",
-    self->dv_xname, lapic_cpu_number(), caa->cpu_number);
+    " instead of at expected %d", self->dv_xname,
+    lapic_cpu_number(), caa->cpu_number);
  }
 #endif
  bcopy(self, &ci->ci_dev, sizeof *self);
  }
+
+#ifdef MULTIPROCESSOR
+ cpu_info[cpunum] = ci;
+#endif
 
  ci->ci_self = ci;
  ci->ci_apicid = caa->cpu_number;

Reply | Threaded
Open this post in threaded view
|

Re: snapshot bsd.mp panics

Todd T. Fries-2
This works for both GENERIC and GENERIC.MP. The 'disable piixpm' being
a requirement for this hardware is a known issue for which this is the
only known workaround.

>> OpenBSD/i386 PXEBOOT 3.16
boot> bsd
booting tftp:bsd: 8311452+1102536 [61+375200+360455]=0x9ae0e8
entry point at 0x200120

[ using 736132 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-current (GENERIC) #35: Sat Apr 30 20:52:04 CDT 2011
    [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
real mem  = 1073152000 (1023MB)
avail mem = 1045401600 (996MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus -1 (ZION)
acpiprt3 at acpi0: bus 2 (PCI2)
acpicpu0 at acpi0
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <HITACHI, DK32DJ-72MC, D4D4> SCSI3 0/direct fixed
sd0: 70007MB, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <HITACHI, DK32DJ-72MC, D4D4> SCSI3 0/direct fixed
sd1: 70007MB, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <HITACHI, DK32EJ-72NC, 160B> SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
sd2: 70007MB, 512 bytes/sec, 143374650 sec total
safte0 at scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor fixed
ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93: SMI
iic0 at piixpm0

>> OpenBSD/i386 PXEBOOT 3.16
boot> set timeout 0
boot> bsd -c
booting tftp:bsd: 8311452+1102536 [61+375200+360455]=0x9ae0e8
entry point at 0x200120

[ using 736132 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-current (GENERIC) #35: Sat Apr 30 20:52:04 CDT 2011
    [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
real mem  = 1073152000 (1023MB)
avail mem = 1045401600 (996MB)
User Kernel Config
UKC> disable piixpm
212 piixpm* disabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus -1 (ZION)
acpiprt3 at acpi0: bus 2 (PCI2)
acpicpu0 at acpi0
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <HITACHI, DK32DJ-72MC, D4D4> SCSI3 0/direct fixed
sd0: 70007MB, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <HITACHI, DK32DJ-72MC, D4D4> SCSI3 0/direct fixed
sd1: 70007MB, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <HITACHI, DK32EJ-72NC, 160B> SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
sd2: 70007MB, 512 bytes/sec, 143374650 sec total
safte0 at scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor fixed
ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <TEAC, CD-224E, 3.7D> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 1 int 11, version 1.0, legacy support
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x64
mpath0 at root
scsibus3 at mpath0: 256 targets
vscsi0 at root
scsibus4 at vscsi0: 2048 targets
softraid0 at root
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x64
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x5e
PXE boot MAC address 00:06:5b:ec:81:34, interface em0
nfs_boot: using interface em0, with revarp & bootparams
panic: reverse arp not answered by rarpd(8) or dhcpd(8)
Stopped at      Debugger+0x4:   popl    %ebp
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> boot reboot

>> OpenBSD/i386 PXEBOOT 3.16
boot> bsd.mp -ca
booting tftp:bsd.mp: 8332416+1102948 [61+376592+361819]=0x9b3f2c
entry point at 0x200120

[ using 738888 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-current (GENERIC.MP) #0: Sat Apr 30 21:09:23 CDT 2011
    [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
real mem  = 1073152000 (1023MB)
avail mem = 1045377024 (996MB)
User Kernel Config
UKC> disable piixpm
212 piixpm* disabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
bios0: Dell Computer Corporation PowerEdge 1650
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus -1 (ZION)
acpiprt3 at acpi0: bus 2 (PCI2)
acpicpu0 at acpi0
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
scsibus0 at ahc0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <HITACHI, DK32DJ-72MC, D4D4> SCSI3 0/direct fixed
sd0: 70007MB, 512 bytes/sec, 143374650 sec total
sd1 at scsibus0 targ 1 lun 0: <HITACHI, DK32DJ-72MC, D4D4> SCSI3 0/direct fixed
sd1: 70007MB, 512 bytes/sec, 143374650 sec total
sd2 at scsibus0 targ 2 lun 0: <HITACHI, DK32EJ-72NC, 160B> SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
sd2: 70007MB, 512 bytes/sec, 143374650 sec total
safte0 at scsibus0 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 0.28> SCSI2 3/processor fixed
ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
scsibus1 at ahc1: 16 targets, initiator 7
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <TEAC, CD-224E, 3.7D> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 1 int 11, version 1.0, legacy support
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x64
mpath0 at root
scsibus3 at mpath0: 256 targets
vscsi0 at root
scsibus4 at vscsi0: 2048 targets
softraid0 at root
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x64
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x5e
PXE boot MAC address 00:06:5b:ec:81:34, interface em0
root device (default em0):


Penned by Mark Kettenis on 20110426  5:03.37, we have:
| Todd, can you try the diff below?
|
| Index: cpu.c
| ===================================================================
| RCS file: /cvs/src/sys/arch/i386/i386/cpu.c,v
| retrieving revision 1.42
| diff -u -p -r1.42 cpu.c
| --- cpu.c 27 Nov 2010 13:03:04 -0000 1.42
| +++ cpu.c 26 Apr 2011 10:01:37 -0000
| @@ -176,30 +176,27 @@ cpu_attach(struct device *parent, struct
|  {
|   struct cpu_info *ci = (struct cpu_info *)self;
|   struct cpu_attach_args *caa = (struct cpu_attach_args *)aux;
| -
|  #ifdef MULTIPROCESSOR
| - int cpunum = ci->ci_dev.dv_unit;
| + int cpunum = self->dv_unit;
|   vaddr_t kstack;
|   struct pcb *pcb;
|  #endif
|  
| - if (caa->cpu_role == CPU_ROLE_AP) {
| -#ifdef MULTIPROCESSOR
| - if (cpu_info[cpunum] != NULL)
| - panic("cpu at apic id %d already attached?", cpunum);
| - cpu_info[cpunum] = ci;
| -#endif
| - } else {
| + if (caa->cpu_role != CPU_ROLE_AP) {
|   ci = &cpu_info_primary;
|  #ifdef MULTIPROCESSOR
|   if (caa->cpu_number != lapic_cpu_number()) {
|   panic("%s: running cpu is at apic %d"
| -    " instead of at expected %d",
| -    self->dv_xname, lapic_cpu_number(), caa->cpu_number);
| +    " instead of at expected %d", self->dv_xname,
| +    lapic_cpu_number(), caa->cpu_number);
|   }
|  #endif
|   bcopy(self, &ci->ci_dev, sizeof *self);
|   }
| +
| +#ifdef MULTIPROCESSOR
| + cpu_info[cpunum] = ci;
| +#endif
|  
|   ci->ci_self = ci;
|   ci->ci_apicid = caa->cpu_number;

--
Todd Fries .. [hidden email]

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| 2525 NW Expy #525, Oklahoma City, OK 73112  \  sip:[hidden email]
| "..in support of free software solutions."  \  sip:[hidden email]
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt

Reply | Threaded
Open this post in threaded view
|

Re: snapshot bsd.mp panics

Brad Smith-14
On 30/04/11 10:54 PM, Todd T. Fries wrote:
> This works for both GENERIC and GENERIC.MP. The 'disable piixpm' being
> a requirement for this hardware is a known issue for which this is the
> only known workaround.

Where did the second CPU in the system go?

>>> OpenBSD/i386 PXEBOOT 3.16
> boot>  bsd
> booting tftp:bsd: 8311452+1102536 [61+375200+360455]=0x9ae0e8
> entry point at 0x200120
>
> [ using 736132 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org
>
> OpenBSD 4.9-current (GENERIC) #35: Sat Apr 30 20:52:04 CDT 2011
>      [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
> real mem  = 1073152000 (1023MB)
> avail mem = 1045401600 (996MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
> bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
> bios0: Dell Computer Corporation PowerEdge 1650
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S4 S5
> acpi0: tables DSDT FACP APIC SPCR
> acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 132MHz
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
> ioapic0: misconfigured as apic 0, remapped to apid 1
> ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
> ioapic1: misconfigured as apic 0, remapped to apid 2
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (PCI1)
> acpiprt2 at acpi0: bus -1 (ZION)
> acpiprt3 at acpi0: bus 2 (PCI2)
> acpicpu0 at acpi0
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
> ipmi at mainbus0 not configured
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
> pci1 at pchb0 bus 1
> em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
> em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
> ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
> scsibus0 at ahc0: 16 targets, initiator 7
> sd0 at scsibus0 targ 0 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
> sd0: 70007MB, 512 bytes/sec, 143374650 sec total
> sd1 at scsibus0 targ 1 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
> sd1: 70007MB, 512 bytes/sec, 143374650 sec total
> sd2 at scsibus0 targ 2 lun 0:<HITACHI, DK32EJ-72NC, 160B>  SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
> sd2: 70007MB, 512 bytes/sec, 143374650 sec total
> safte0 at scsibus0 targ 6 lun 0:<PE/PV, 1x3 SCSI BP, 0.28>  SCSI2 3/processor fixed
> ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
> scsibus1 at ahc1: 16 targets, initiator 7
> pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
> pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
> pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
> pci2 at pchb3 bus 2
> vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93: SMI
> iic0 at piixpm0
>
>>> OpenBSD/i386 PXEBOOT 3.16
> boot>  set timeout 0
> boot>  bsd -c
> booting tftp:bsd: 8311452+1102536 [61+375200+360455]=0x9ae0e8
> entry point at 0x200120
>
> [ using 736132 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org
>
> OpenBSD 4.9-current (GENERIC) #35: Sat Apr 30 20:52:04 CDT 2011
>      [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
> real mem  = 1073152000 (1023MB)
> avail mem = 1045401600 (996MB)
> User Kernel Config
> UKC>  disable piixpm
> 212 piixpm* disabled
> UKC>  quit
> Continuing...
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
> bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
> bios0: Dell Computer Corporation PowerEdge 1650
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S4 S5
> acpi0: tables DSDT FACP APIC SPCR
> acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 132MHz
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
> ioapic0: misconfigured as apic 0, remapped to apid 1
> ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
> ioapic1: misconfigured as apic 0, remapped to apid 2
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (PCI1)
> acpiprt2 at acpi0: bus -1 (ZION)
> acpiprt3 at acpi0: bus 2 (PCI2)
> acpicpu0 at acpi0
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
> ipmi at mainbus0 not configured
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
> pci1 at pchb0 bus 1
> em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
> em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
> ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
> scsibus0 at ahc0: 16 targets, initiator 7
> sd0 at scsibus0 targ 0 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
> sd0: 70007MB, 512 bytes/sec, 143374650 sec total
> sd1 at scsibus0 targ 1 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
> sd1: 70007MB, 512 bytes/sec, 143374650 sec total
> sd2 at scsibus0 targ 2 lun 0:<HITACHI, DK32EJ-72NC, 160B>  SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
> sd2: 70007MB, 512 bytes/sec, 143374650 sec total
> safte0 at scsibus0 targ 6 lun 0:<PE/PV, 1x3 SCSI BP, 0.28>  SCSI2 3/processor fixed
> ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
> scsibus1 at ahc1: 16 targets, initiator 7
> pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
> pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
> pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
> pci2 at pchb3 bus 2
> vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
> pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus2 at atapiscsi0: 2 targets
> cd0 at scsibus2 targ 0 lun 0:<TEAC, CD-224E, 3.7D>  ATAPI 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 1 int 11, version 1.0, legacy support
> pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> 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
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> mtrr: Pentium Pro MTRR support
> ahc0: target 0 using 16bit transfers
> ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x64
> mpath0 at root
> scsibus3 at mpath0: 256 targets
> vscsi0 at root
> scsibus4 at vscsi0: 2048 targets
> softraid0 at root
> ahc0: target 1 using 16bit transfers
> ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x64
> ahc0: target 2 using 16bit transfers
> ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x5e
> PXE boot MAC address 00:06:5b:ec:81:34, interface em0
> nfs_boot: using interface em0, with revarp&  bootparams
> panic: reverse arp not answered by rarpd(8) or dhcpd(8)
> Stopped at      Debugger+0x4:   popl    %ebp
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb>  boot reboot
>
>>> OpenBSD/i386 PXEBOOT 3.16
> boot>  bsd.mp -ca
> booting tftp:bsd.mp: 8332416+1102948 [61+376592+361819]=0x9b3f2c
> entry point at 0x200120
>
> [ using 738888 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org
>
> OpenBSD 4.9-current (GENERIC.MP) #0: Sat Apr 30 21:09:23 CDT 2011
>      [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
> real mem  = 1073152000 (1023MB)
> avail mem = 1045377024 (996MB)
> User Kernel Config
> UKC>  disable piixpm
> 212 piixpm* disabled
> UKC>  quit
> Continuing...
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
> bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
> bios0: Dell Computer Corporation PowerEdge 1650
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S4 S5
> acpi0: tables DSDT FACP APIC SPCR
> acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 132MHz
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
> ioapic0: misconfigured as apic 0, remapped to apid 1
> ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
> ioapic1: misconfigured as apic 0, remapped to apid 2
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (PCI1)
> acpiprt2 at acpi0: bus -1 (ZION)
> acpiprt3 at acpi0: bus 2 (PCI2)
> acpicpu0 at acpi0
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
> ipmi at mainbus0 not configured
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
> pci1 at pchb0 bus 1
> em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
> em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
> ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
> scsibus0 at ahc0: 16 targets, initiator 7
> sd0 at scsibus0 targ 0 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
> sd0: 70007MB, 512 bytes/sec, 143374650 sec total
> sd1 at scsibus0 targ 1 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
> sd1: 70007MB, 512 bytes/sec, 143374650 sec total
> sd2 at scsibus0 targ 2 lun 0:<HITACHI, DK32EJ-72NC, 160B>  SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
> sd2: 70007MB, 512 bytes/sec, 143374650 sec total
> safte0 at scsibus0 targ 6 lun 0:<PE/PV, 1x3 SCSI BP, 0.28>  SCSI2 3/processor fixed
> ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
> scsibus1 at ahc1: 16 targets, initiator 7
> pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
> pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
> pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
> pci2 at pchb3 bus 2
> vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
> pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus2 at atapiscsi0: 2 targets
> cd0 at scsibus2 targ 0 lun 0:<TEAC, CD-224E, 3.7D>  ATAPI 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 1 int 11, version 1.0, legacy support
> pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> 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
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> mtrr: Pentium Pro MTRR support
> ahc0: target 0 using 16bit transfers
> ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x64
> mpath0 at root
> scsibus3 at mpath0: 256 targets
> vscsi0 at root
> scsibus4 at vscsi0: 2048 targets
> softraid0 at root
> ahc0: target 1 using 16bit transfers
> ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x64
> ahc0: target 2 using 16bit transfers
> ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x5e
> PXE boot MAC address 00:06:5b:ec:81:34, interface em0
> root device (default em0):
>
>
> Penned by Mark Kettenis on 20110426  5:03.37, we have:
> | Todd, can you try the diff below?
> |
> | Index: cpu.c
> | ===================================================================
> | RCS file: /cvs/src/sys/arch/i386/i386/cpu.c,v
> | retrieving revision 1.42
> | diff -u -p -r1.42 cpu.c
> | --- cpu.c 27 Nov 2010 13:03:04 -0000 1.42
> | +++ cpu.c 26 Apr 2011 10:01:37 -0000
> | @@ -176,30 +176,27 @@ cpu_attach(struct device *parent, struct
> |  {
> |   struct cpu_info *ci = (struct cpu_info *)self;
> |   struct cpu_attach_args *caa = (struct cpu_attach_args *)aux;
> | -
> |  #ifdef MULTIPROCESSOR
> | - int cpunum = ci->ci_dev.dv_unit;
> | + int cpunum = self->dv_unit;
> |   vaddr_t kstack;
> |   struct pcb *pcb;
> |  #endif
> |
> | - if (caa->cpu_role == CPU_ROLE_AP) {
> | -#ifdef MULTIPROCESSOR
> | - if (cpu_info[cpunum] != NULL)
> | - panic("cpu at apic id %d already attached?", cpunum);
> | - cpu_info[cpunum] = ci;
> | -#endif
> | - } else {
> | + if (caa->cpu_role != CPU_ROLE_AP) {
> |   ci =&cpu_info_primary;
> |  #ifdef MULTIPROCESSOR
> |   if (caa->cpu_number != lapic_cpu_number()) {
> |   panic("%s: running cpu is at apic %d"
> | -    " instead of at expected %d",
> | -    self->dv_xname, lapic_cpu_number(), caa->cpu_number);
> | +    " instead of at expected %d", self->dv_xname,
> | +    lapic_cpu_number(), caa->cpu_number);
> |   }
> |  #endif
> |   bcopy(self,&ci->ci_dev, sizeof *self);
> |   }
> | +
> | +#ifdef MULTIPROCESSOR
> | + cpu_info[cpunum] = ci;
> | +#endif
> |
> |   ci->ci_self = ci;
> |   ci->ci_apicid = caa->cpu_number;
>


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply | Threaded
Open this post in threaded view
|

Re: snapshot bsd.mp panics

Todd T. Fries-2
Interesting question, I didn't notice (asleep at the wheel obviously!) but
I also didn't remove it physically, it's still there.. ;-)

Penned by Brad Smith on 20110430 22:16.51, we have:
| On 30/04/11 10:54 PM, Todd T. Fries wrote:
| >This works for both GENERIC and GENERIC.MP. The 'disable piixpm' being
| >a requirement for this hardware is a known issue for which this is the
| >only known workaround.
|
| Where did the second CPU in the system go?
|
| >>>OpenBSD/i386 PXEBOOT 3.16
| >boot>  bsd
| >booting tftp:bsd: 8311452+1102536 [61+375200+360455]=0x9ae0e8
| >entry point at 0x200120
| >
| >[ using 736132 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org
| >
| >OpenBSD 4.9-current (GENERIC) #35: Sat Apr 30 20:52:04 CDT 2011
| >     [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC
| >cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
| >cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
| >real mem  = 1073152000 (1023MB)
| >avail mem = 1045401600 (996MB)
| >mainbus0 at root
| >bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
| >bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
| >bios0: Dell Computer Corporation PowerEdge 1650
| >acpi0 at bios0: rev 0
| >acpi0: sleep states S0 S4 S5
| >acpi0: tables DSDT FACP APIC SPCR
| >acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
| >acpitimer0 at acpi0: 3579545 Hz, 32 bits
| >acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
| >cpu0 at mainbus0: apid 0 (boot processor)
| >cpu0: apic clock running at 132MHz
| >ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
| >ioapic0: misconfigured as apic 0, remapped to apid 1
| >ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
| >ioapic1: misconfigured as apic 0, remapped to apid 2
| >acpiprt0 at acpi0: bus 0 (PCI0)
| >acpiprt1 at acpi0: bus 1 (PCI1)
| >acpiprt2 at acpi0: bus -1 (ZION)
| >acpiprt3 at acpi0: bus 2 (PCI2)
| >acpicpu0 at acpi0
| >bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
| >ipmi at mainbus0 not configured
| >pci0 at mainbus0 bus 0: configuration mode 1 (bios)
| >pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
| >pci1 at pchb0 bus 1
| >em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
| >em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
| >ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
| >scsibus0 at ahc0: 16 targets, initiator 7
| >sd0 at scsibus0 targ 0 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
| >sd0: 70007MB, 512 bytes/sec, 143374650 sec total
| >sd1 at scsibus0 targ 1 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
| >sd1: 70007MB, 512 bytes/sec, 143374650 sec total
| >sd2 at scsibus0 targ 2 lun 0:<HITACHI, DK32EJ-72NC, 160B>  SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
| >sd2: 70007MB, 512 bytes/sec, 143374650 sec total
| >safte0 at scsibus0 targ 6 lun 0:<PE/PV, 1x3 SCSI BP, 0.28>  SCSI2 3/processor fixed
| >ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
| >scsibus1 at ahc1: 16 targets, initiator 7
| >pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
| >pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
| >pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
| >pci2 at pchb3 bus 2
| >vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
| >wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
| >wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
| >piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93: SMI
| >iic0 at piixpm0
| >
| >>>OpenBSD/i386 PXEBOOT 3.16
| >boot>  set timeout 0
| >boot>  bsd -c
| >booting tftp:bsd: 8311452+1102536 [61+375200+360455]=0x9ae0e8
| >entry point at 0x200120
| >
| >[ using 736132 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org
| >
| >OpenBSD 4.9-current (GENERIC) #35: Sat Apr 30 20:52:04 CDT 2011
| >     [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC
| >cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
| >cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
| >real mem  = 1073152000 (1023MB)
| >avail mem = 1045401600 (996MB)
| >User Kernel Config
| >UKC>  disable piixpm
| >212 piixpm* disabled
| >UKC>  quit
| >Continuing...
| >mainbus0 at root
| >bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
| >bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
| >bios0: Dell Computer Corporation PowerEdge 1650
| >acpi0 at bios0: rev 0
| >acpi0: sleep states S0 S4 S5
| >acpi0: tables DSDT FACP APIC SPCR
| >acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
| >acpitimer0 at acpi0: 3579545 Hz, 32 bits
| >acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
| >cpu0 at mainbus0: apid 0 (boot processor)
| >cpu0: apic clock running at 132MHz
| >ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
| >ioapic0: misconfigured as apic 0, remapped to apid 1
| >ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
| >ioapic1: misconfigured as apic 0, remapped to apid 2
| >acpiprt0 at acpi0: bus 0 (PCI0)
| >acpiprt1 at acpi0: bus 1 (PCI1)
| >acpiprt2 at acpi0: bus -1 (ZION)
| >acpiprt3 at acpi0: bus 2 (PCI2)
| >acpicpu0 at acpi0
| >bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
| >ipmi at mainbus0 not configured
| >pci0 at mainbus0 bus 0: configuration mode 1 (bios)
| >pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
| >pci1 at pchb0 bus 1
| >em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
| >em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
| >ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
| >scsibus0 at ahc0: 16 targets, initiator 7
| >sd0 at scsibus0 targ 0 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
| >sd0: 70007MB, 512 bytes/sec, 143374650 sec total
| >sd1 at scsibus0 targ 1 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
| >sd1: 70007MB, 512 bytes/sec, 143374650 sec total
| >sd2 at scsibus0 targ 2 lun 0:<HITACHI, DK32EJ-72NC, 160B>  SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
| >sd2: 70007MB, 512 bytes/sec, 143374650 sec total
| >safte0 at scsibus0 targ 6 lun 0:<PE/PV, 1x3 SCSI BP, 0.28>  SCSI2 3/processor fixed
| >ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
| >scsibus1 at ahc1: 16 targets, initiator 7
| >pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
| >pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
| >pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
| >pci2 at pchb3 bus 2
| >vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
| >wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
| >wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
| >pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
| >pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
| >atapiscsi0 at pciide0 channel 0 drive 0
| >scsibus2 at atapiscsi0: 2 targets
| >cd0 at scsibus2 targ 0 lun 0:<TEAC, CD-224E, 3.7D>  ATAPI 5/cdrom removable
| >cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
| >ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 1 int 11, version 1.0, legacy support
| >pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
| >usb0 at ohci0: USB revision 1.0
| >uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
| >isa0 at pcib0
| >isadma0 at isa0
| >com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
| >com0: console
| >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
| >spkr0 at pcppi0
| >npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
| >fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
| >fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
| >mtrr: Pentium Pro MTRR support
| >ahc0: target 0 using 16bit transfers
| >ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x64
| >mpath0 at root
| >scsibus3 at mpath0: 256 targets
| >vscsi0 at root
| >scsibus4 at vscsi0: 2048 targets
| >softraid0 at root
| >ahc0: target 1 using 16bit transfers
| >ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x64
| >ahc0: target 2 using 16bit transfers
| >ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x5e
| >PXE boot MAC address 00:06:5b:ec:81:34, interface em0
| >nfs_boot: using interface em0, with revarp&  bootparams
| >panic: reverse arp not answered by rarpd(8) or dhcpd(8)
| >Stopped at      Debugger+0x4:   popl    %ebp
| >RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
| >DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
| >ddb>  boot reboot
| >
| >>>OpenBSD/i386 PXEBOOT 3.16
| >boot>  bsd.mp -ca
| >booting tftp:bsd.mp: 8332416+1102948 [61+376592+361819]=0x9b3f2c
| >entry point at 0x200120
| >
| >[ using 738888 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org
| >
| >OpenBSD 4.9-current (GENERIC.MP) #0: Sat Apr 30 21:09:23 CDT 2011
| >     [hidden email]:/usr/obj/sys/arch/i386/compile/GENERIC.MP
| >cpu0: Intel(R) Pentium(R) III CPU family 1266MHz ("GenuineIntel" 686-class) 1.27 GHz
| >cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
| >real mem  = 1073152000 (1023MB)
| >avail mem = 1045377024 (996MB)
| >User Kernel Config
| >UKC>  disable piixpm
| >212 piixpm* disabled
| >UKC>  quit
| >Continuing...
| >mainbus0 at root
| >bios0 at mainbus0: AT/286+ BIOS, date 10/08/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
| >bios0: vendor Dell Computer Corporation version "A11" date 10/08/2003
| >bios0: Dell Computer Corporation PowerEdge 1650
| >acpi0 at bios0: rev 0
| >acpi0: sleep states S0 S4 S5
| >acpi0: tables DSDT FACP APIC SPCR
| >acpi0: wakeup devices RTC_(S5) PCI0(S5) PCI1(S5) PCI2(S5)
| >acpitimer0 at acpi0: 3579545 Hz, 32 bits
| >acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
| >cpu0 at mainbus0: apid 0 (boot processor)
| >cpu0: apic clock running at 132MHz
| >ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 16 pins
| >ioapic0: misconfigured as apic 0, remapped to apid 1
| >ioapic1 at mainbus0: apid 2 pa 0xfec01000, version 11, 16 pins
| >ioapic1: misconfigured as apic 0, remapped to apid 2
| >acpiprt0 at acpi0: bus 0 (PCI0)
| >acpiprt1 at acpi0: bus 1 (PCI1)
| >acpiprt2 at acpi0: bus -1 (ZION)
| >acpiprt3 at acpi0: bus 2 (PCI2)
| >acpicpu0 at acpi0
| >bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x6000 0xcf000/0x1800 0xec000/0x4000!
| >ipmi at mainbus0 not configured
| >pci0 at mainbus0 bus 0: configuration mode 1 (bios)
| >pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
| >pci1 at pchb0 bus 1
| >em0 at pci1 dev 2 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 1, address 00:06:5b:ec:81:34
| >em1 at pci1 dev 4 function 0 "Intel PRO/1000XT (82544EI)" rev 0x02: apic 2 int 0, address 00:06:5b:ec:81:35
| >ahc0 at pci1 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 2
| >scsibus0 at ahc0: 16 targets, initiator 7
| >sd0 at scsibus0 targ 0 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
| >sd0: 70007MB, 512 bytes/sec, 143374650 sec total
| >sd1 at scsibus0 targ 1 lun 0:<HITACHI, DK32DJ-72MC, D4D4>  SCSI3 0/direct fixed
| >sd1: 70007MB, 512 bytes/sec, 143374650 sec total
| >sd2 at scsibus0 targ 2 lun 0:<HITACHI, DK32EJ-72NC, 160B>  SCSI3 0/direct fixed t10.HITACHI_DK32EJ-72NC_____412P9341
| >sd2: 70007MB, 512 bytes/sec, 143374650 sec total
| >safte0 at scsibus0 targ 6 lun 0:<PE/PV, 1x3 SCSI BP, 0.28>  SCSI2 3/processor fixed
| >ahc1 at pci1 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 2 int 3
| >scsibus1 at ahc1: 16 targets, initiator 7
| >pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
| >pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
| >pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
| >pci2 at pchb3 bus 2
| >vga1 at pci0 dev 12 function 0 "ATI Rage XL" rev 0x27
| >wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
| >wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
| >pchb4 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93
| >pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
| >atapiscsi0 at pciide0 channel 0 drive 0
| >scsibus2 at atapiscsi0: 2 targets
| >cd0 at scsibus2 targ 0 lun 0:<TEAC, CD-224E, 3.7D>  ATAPI 5/cdrom removable
| >cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
| >ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 1 int 11, version 1.0, legacy support
| >pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
| >usb0 at ohci0: USB revision 1.0
| >uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
| >isa0 at pcib0
| >isadma0 at isa0
| >com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
| >com0: console
| >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
| >spkr0 at pcppi0
| >npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
| >fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
| >fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
| >mtrr: Pentium Pro MTRR support
| >ahc0: target 0 using 16bit transfers
| >ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x64
| >mpath0 at root
| >scsibus3 at mpath0: 256 targets
| >vscsi0 at root
| >scsibus4 at vscsi0: 2048 targets
| >softraid0 at root
| >ahc0: target 1 using 16bit transfers
| >ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x64
| >ahc0: target 2 using 16bit transfers
| >ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x5e
| >PXE boot MAC address 00:06:5b:ec:81:34, interface em0
| >root device (default em0):
| >
| >
| >Penned by Mark Kettenis on 20110426  5:03.37, we have:
| >| Todd, can you try the diff below?
| >|
| >| Index: cpu.c
| >| ===================================================================
| >| RCS file: /cvs/src/sys/arch/i386/i386/cpu.c,v
| >| retrieving revision 1.42
| >| diff -u -p -r1.42 cpu.c
| >| --- cpu.c 27 Nov 2010 13:03:04 -0000 1.42
| >| +++ cpu.c 26 Apr 2011 10:01:37 -0000
| >| @@ -176,30 +176,27 @@ cpu_attach(struct device *parent, struct
| >|  {
| >|   struct cpu_info *ci = (struct cpu_info *)self;
| >|   struct cpu_attach_args *caa = (struct cpu_attach_args *)aux;
| >| -
| >|  #ifdef MULTIPROCESSOR
| >| - int cpunum = ci->ci_dev.dv_unit;
| >| + int cpunum = self->dv_unit;
| >|   vaddr_t kstack;
| >|   struct pcb *pcb;
| >|  #endif
| >|
| >| - if (caa->cpu_role == CPU_ROLE_AP) {
| >| -#ifdef MULTIPROCESSOR
| >| - if (cpu_info[cpunum] != NULL)
| >| - panic("cpu at apic id %d already attached?", cpunum);
| >| - cpu_info[cpunum] = ci;
| >| -#endif
| >| - } else {
| >| + if (caa->cpu_role != CPU_ROLE_AP) {
| >|   ci =&cpu_info_primary;
| >|  #ifdef MULTIPROCESSOR
| >|   if (caa->cpu_number != lapic_cpu_number()) {
| >|   panic("%s: running cpu is at apic %d"
| >| -    " instead of at expected %d",
| >| -    self->dv_xname, lapic_cpu_number(), caa->cpu_number);
| >| +    " instead of at expected %d", self->dv_xname,
| >| +    lapic_cpu_number(), caa->cpu_number);
| >|   }
| >|  #endif
| >|   bcopy(self,&ci->ci_dev, sizeof *self);
| >|   }
| >| +
| >| +#ifdef MULTIPROCESSOR
| >| + cpu_info[cpunum] = ci;
| >| +#endif
| >|
| >|   ci->ci_self = ci;
| >|   ci->ci_apicid = caa->cpu_number;
| >
|
|
| --
| This message has been scanned for viruses and
| dangerous content by MailScanner, and is
| believed to be clean.

--
Todd Fries .. [hidden email]

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| 2525 NW Expy #525, Oklahoma City, OK 73112  \  sip:[hidden email]
| "..in support of free software solutions."  \  sip:[hidden email]
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt

Reply | Threaded
Open this post in threaded view
|

Re: snapshot bsd.mp panics

Mark Kettenis
> Date: Sun, 1 May 2011 01:48:33 -0500
> From: "Todd T. Fries" <[hidden email]>
>
> Interesting question, I didn't notice (asleep at the wheel obviously!) but
> I also didn't remove it physically, it's still there.. ;-)

I don't see how my diff would make the 2nd CPU completely disappear.
Did you by any chance disable the CPU in the bios?

Reply | Threaded
Open this post in threaded view
|

Re: snapshot bsd.mp panics

Todd T. Fries-2
I did not intentionally disable the cpu in the bios.  I'll verify it
is not disabled next time I'm in the bios.

Looks like according to the conserver logs I have I booted a GENERIC not
a GENERIC.MP kernel after the last cold boot.

Next time I'm physically at the system I'll try booting a GENERIC.MP kernel
after a cold boot, nice hint Stuart.

Thanks,

Penned by Stuart Henderson on 20110501 15:27.10, we have:
| check cold vs. warm boots ..
|
| On 2011/05/01 22:14, Mark Kettenis wrote:
| > > Date: Sun, 1 May 2011 01:48:33 -0500
| > > From: "Todd T. Fries" <[hidden email]>
| > >
| > > Interesting question, I didn't notice (asleep at the wheel obviously!) but
| > > I also didn't remove it physically, it's still there.. ;-)
| >
| > I don't see how my diff would make the 2nd CPU completely disappear.
| > Did you by any chance disable the CPU in the bios?
| >

--
Todd Fries .. [hidden email]

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| 2525 NW Expy #525, Oklahoma City, OK 73112  \  sip:[hidden email]
| "..in support of free software solutions."  \  sip:[hidden email]
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt