Re: OpenBSD 5.1 - snapshot - bsd.mp only detects one CPU of dual-processor AOpen DX34 Plus board
On 2012-02-14, Adriaan wrote: > On 2/14/12, Brynet wrote: >> On Mon, Feb 13, 2012 at 11:34:59PM +0100, Adriaan wrote: >>> ... >>> OpenBSD 5.1 (GENERIC.MP) #187: Sat Feb 11 12:30:14 MST 2012 >>> apm0 at bios0: Power Management spec V1.2 >>> acpi at bios0 function 0x0 not configured >>> .. >>> >>> I need the machine right now for testing my new Internet line, but in >>> two or three days, I could install some older snapshots or 5.0 to find >>> out about which time this regression occurred. >>> >>> Adriaan >> >> Hmm, your system doesn't have legacy MP tables. You'll need to use acpi >> to bootstrap the other processor. > > A year ago, with a 4.9 snapshot the acpi stuff on that box was > configured, and both CPUs detected. Perhaps that kernel was modified to disable apm. config -ef /bsd
Re: OpenBSD 5.1 - snapshot - bsd.mp only detects one CPU of dual-processor AOpen DX34 Plus board
On Tue, Feb 14, 2012 at 10:00:52AM +0100, Adriaan wrote: > A year ago, with a 4.9 snapshot the acpi stuff on that box was > configured, and both CPUs detected. For some reason the probe for apm fails on your system in 4.9, so acpi was allowed to attach. In later releases, it seems the probe for apm succeeds, which is prefered for older systems. Unfortunately for you the BIOS vendor didn't include MP tables, so the decision to use apm over acpi means the kernel is now unaware of additional processors. Check for BIOS knobs? or.. as previously suggested: > > 'disable apm' in config(8) or UKC. > > > > -Bryan. > > > So how would you explain that? ;) > > Adriaan Hmm, what were you unable to understand about that? -Bryan.
Re: OpenBSD 5.1 - snapshot - bsd.mp only detects one CPU of dual-processor AOpen DX34 Plus board
On 2/14/12, Brynet wrote: > On Mon, Feb 13, 2012 at 11:34:59PM +0100, Adriaan wrote: >> ... >> OpenBSD 5.1 (GENERIC.MP) #187: Sat Feb 11 12:30:14 MST 2012 >> apm0 at bios0: Power Management spec V1.2 >> acpi at bios0 function 0x0 not configured >> .. >> >> I need the machine right now for testing my new Internet line, but in >> two or three days, I could install some older snapshots or 5.0 to find >> out about which time this regression occurred. >> >> Adriaan > > Hmm, your system doesn't have legacy MP tables. You'll need to use acpi > to bootstrap the other processor. A year ago, with a 4.9 snapshot the acpi stuff on that box was configured, and both CPUs detected. OpenBSD 4.9 (GENERIC.MP) #785: Fri Feb 18 14:16:01 MST 2011 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel Pentium III ("GenuineIntel" 686-class) 857 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE real mem = 536375296 (511MB) avail mem = 517447680 (493MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/20/02, BIOS32 rev. 0 @ 0xf0230, SMBIOS rev. 2.3 @ 0xfa920 (44 entries) bios0: vendor AOpen version "V4.0 R1.22EN" date 02/20/2002 bios0: AOpen DX34 Plus acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC acpi0: wakeup devices PCI0(S1) KBC0(S1) PS2M(S1) UAR1(S1) UAR2(S1) USB0(S1) USB1(S1) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > > 'disable apm' in config(8) or UKC. > > -Bryan. > So how would you explain that? ;) Adriaan
Re: OpenBSD 5.1 - snapshot - bsd.mp only detects one CPU of dual-processor AOpen DX34 Plus board
On Mon, Feb 13, 2012 at 11:34:59PM +0100, Adriaan wrote: > ... > OpenBSD 5.1 (GENERIC.MP) #187: Sat Feb 11 12:30:14 MST 2012 > apm0 at bios0: Power Management spec V1.2 > acpi at bios0 function 0x0 not configured > .. > > I need the machine right now for testing my new Internet line, but in > two or three days, I could install some older snapshots or 5.0 to find > out about which time this regression occurred. > > Adriaan Hmm, your system doesn't have legacy MP tables. You'll need to use acpi to bootstrap the other processor. 'disable apm' in config(8) or UKC. -Bryan.
OpenBSD 5.1 - snapshot - bsd.mp only detects one CPU of dual-processor AOpen DX34 Plus board
Because last year I helped somebody with a 4.4 pf.conf, this machine had a disk with OpenBSD 4.4 on it. I copied the bsd.rd of the latest snapshot to "/" in order to install the snapshot. The installer correctly detected a multi-processor machine and thus installed bsd.mp as bsd kernel # ls -l /bsd* -rw-r--r-- 1 root wheel 9013244 Feb 12 12:54 /bsd -rw-r--r-- 1 root wheel 6427696 Feb 12 12:54 /bsd.rd -rw-r--r-- 1 root wheel 8993610 Feb 12 12:54 /bsd.sp This kernel however fails to detect the second CPU OpenBSD 5.1 (GENERIC.MP) #187: Sat Feb 11 12:30:14 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel Pentium III ("GenuineIntel" 686-class) 857 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE real mem = 536342528 (511MB) avail mem = 517455872 (493MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/20/02, BIOS32 rev. 0 @ 0xf0230, SMBIOS rev. 2.3 @ 0xfa920 (44 entries) bios0: vendor AOpen version "V4.0 R1.22EN" date 02/20/2002 bios0: AOpen DX34 Plus apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf0200/0xb00 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfa290/176 (9 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C686 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xbc00 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT82C691 PCI" rev 0xc4 viaagp0 at pchb0: v2 agp0 at viaagp0: aperture at 0xe000, size 0x1000 ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce2 MX" rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x22 pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) wd0 at pciide0 channel 1 drive 1: wd0: 16-sector PIO, LBA, 1549MB, 3173184 sectors wd0(pciide0:1:1): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x10: irq 5 viapm0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x30: SMI iic0 at viapm0iic0: addr 0x20 01=01 02=02 03=03 04=04 05=05 06=06 07=07 08=08 09=09 0a=0a 0b=0b 0c=0c 0d=0d 0e=0e 0f=0f 10=10 11=11 12=12 13=13 14=14 15=15 16=16 17=17 18=18 19=19 1a=1a 1b=1b 1c=1c 1d=1d 1e=1e 1f=1f 20=20 21=21 22=22 23=23 24=24 25=25 26=26 27=27 28=28 29=29 2a=2a 2b=2b 2c=2c 2d=2d 2e=2e 2f=2f 30=30 31=31 32=32 33=33 34=34 35=35 36=36 37=37 38=38 39=39 3a=3a 3b=3b 3c=3c 3d=3d 3e=3e 3f=3f 41=01 42=02 43=03 44=04 45=05 46=06 47=07 48=08 49=09 4a=0a 4b=0b 4c=0c 4d=0d 4e=0e 4f=0f 50=10 51=11 52=12 53=13 54=14 55=15 56=16 57=17 58=18 59=19 5a=1a 5b=1b 5c=1c 5d=1d 5e=1e 5f=1f 60=20 61=21 62=22 63=23 64=24 65=25 66=26 67=27 68=28 69=29 6a=2a 6b=2b 6c=2c 6d=2d 6e=2e 6f=2f 70=30 71=31 72=32 73=33 74=34 75=35 76=36 77=37 78=38 79=39 7a=3a 7b=3b 7c=3c 7d=3d 7e=3e 7f=3f 81=01 82=02 83=03 84=04 85=05 86=06 87=07 88=08 89=09 8a=0a 8b=0b 8c=0c 8d=0d 8e=0e 8f=0f 90=10 91=11 92=12 93=13 94=14 95=15 96=16 97=17 98=18 99=19 9a=1a 9b=1b 9c=1c 9d=1d 9e=1e 9f=1f a0=20 a1=21 a2=22 a3=23 a4=24 a5=25 a6=26 a7=27 a8=28 a9=29 aa=2a ab=2b ac=2c ad=2d ae=2e af=2f b0=30 b1=31 b2=32 b3=33 b4=34 b5=35 b6=36 b7=37 b8=38 b9=39 ba=3a bb=3b bc=3c bd=3d be=3e bf=3f c1=01 c2=02 c3=03 c4=04 c5=05 c6=06 c7=07 c8=08 c9=09 ca=0a cb=0b cc=0c cd=0d ce=0e cf=0f d0=10 d1=11 d2=12 d3=13 d4=14 d5=15 d6=16 d7=17 d8=18 d9=19 da=1a db=1b dc=1c dd=1d de=1e df=1f e0=20 e1=21 e2=22 e3=23 e4=24 e5=25 e6=26 e7=27 e8=28 e9=29 ea=2a eb=2b ec=2c ed=2d ee=2e ef=2f f0=30 f1=31 f2=32 f3=33 f4=34 f5=35 f6=36 f7=37 f8=38 f9=39 fa=3a fb=3b fc=3c fd=3d fe=3e ff=3f words 00= 01=0101 02=0202 03=0303 04=0404 05=0505 06=0606 07=0707 iic0: addr 0x24 20=20 21=20 22=20 23=20 24=20 25=20 26=20 27=20 28=20 29=20 2a=20 2b=20 2c=20 2d=20 2e=20 2f=20 30=20 31=20 32=20 33=20 34=20 35=20 36=20 37=20 38=20 39=20 3a=20 3b=20 3c=20 3d=20 3e=20 3f=20 40=40 41=40 42=40 43=40 44=40 45=40 46=40 47=40 48=40 49=40 4a=40 4b=40 4c=40 4d=40 4e=40 4f=40 50=40 51=40 52=40 53=40 54=40 55=40 56=40 57=40 58=40 59=40 5a=40 5b=40 5c=40 5d=40 5e=40 5f=40 60=60 61=60 62=60 63=60 64=60 65=60 66=60 67=60 68=60 69=60 6a=60 6b=60 6c=60 6d=60 6e=60 6f=60 70=60 71=60 72=60 73=60 74=60 75=60 76=60 77=60 78=60 79=60 7a=60 7b=60 7c=60 7d=60 7e=60 7f=60 80=80 81=80 82=80 83=80 84=80 85=80 86=80 87=80 88=80 89=80 8a=80 8b=80 8c=80 8d=80 8e=80 8f=80 90=80 91=80 92=80 93=80 94=80 95=80 96=80 97=80 98=80 99=80 9a=80 9b=80 9c=80 9d=80 9e=80 9f=80 a0=a0 a1=a0 a2=a0 a3=a0 a4=a0 a5=a0 a6=a0 a7=a0 a8=a0 a9=a0 aa=a0 ab=a0 ac=a0 ad=a0 ae=a0 af=a0 b0=a0 b1=a0 b2=a0 b3=a0 b4=a0 b5=a0 b6=a0 b7=a0 b8=a0 b9=a0 ba=a0 bb=a0 bc=a0 bd=a0 be=a0 bf=a0 c0=c0 c1=c0 c2=c0 c3