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
[email protected]:/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
[email protected]:/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
[email protected]:/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 .. [email protected]
_____________________________________________
| \ 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:[email protected]
| "..in support of free software solutions." \ sip:[email protected]
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt