Subject: Re: Bad count of CPUs
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Heron Gallegos <gallegos@csxxi.net.mx>
List: current-users
Date: 10/12/2006 10:38:45
> >
> > Do you beleieve is enough with the following lines for
> > my file GENERIC.ACPI ???
> > #--------------------------------
> > include "arch/amd64/conf/GENERIC"
> >
> > no options MPBIOS_SCANPCI
> > options MPACPI
> > acpi0   at mainbus0
> > #--------------------------------
>
> Yes, and add
> options         MULTIPROCESSOR
> for SMP support

venera> cat /sys/arch/amd64/conf/GENERIC.MPACPI
# $NetBSD$
#
# GENERIC.MPACPI machine description file

include "arch/amd64/conf/GENERIC"

no options MPBIOS_SCANPCI
options MPACPI
options MULTIPROCESSOR
acpi0   at mainbus0
venera>

The dmesg is at end. If you need more testing, I would like to help.

Regards
Heron Gallegos
Saltillo Coahuila Mexico

NetBSD 3.0.1 (GENERIC.MPACPI) #0: Thu Oct 12 05:10:05 CDT 2006
	gallegos@venera:/sys/arch/amd64/compile/GENERIC.MPACPI
total memory = 4095 MB
avail memory = 3921 MB
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0:                   Intel(R) Xeon(TM) CPU 2.80GHz, 2800.18 MHz
cpu0: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,B21,MMXX,MMX>
cpu0: features: bffbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW>
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: calibrating local timer
cpu0: apic clock running at 202 MHz
cpu0: 64 page colors
cpu1 at mainbus0: apid 4 (application processor)
cpu1: starting
cpu1:                   Intel(R) Xeon(TM) CPU 2.80GHz, 2861.92 MHz
cpu1: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,B21,MMXX,MMX>
cpu1: features: bffbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW>
cpu1: L2 cache 2 MB 64B/line 8-way
cpu2 at mainbus0: apid 1 (application processor)
cpu2: starting
cpu2:                   Intel(R) Xeon(TM) CPU 2.80GHz, 2828.11 MHz
cpu2: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,B21,MMXX,MMX>
cpu2: features: bffbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW>
cpu2: L2 cache 2 MB 64B/line 8-way
cpu3 at mainbus0: apid 5 (application processor)
cpu3: starting
cpu3:                   Intel(R) Xeon(TM) CPU 2.80GHz, 2828.11 MHz
cpu3: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu3: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,B21,MMXX,MMX>
cpu3: features: bffbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW>
cpu3: L2 cache 2 MB 64B/line 8-way
cpu4 at mainbus0: apid 2 (application processor)
cpu4: starting
cpu4:                   Intel(R) Xeon(TM) CPU 2.80GHz, 2828.11 MHz
cpu4: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu4: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,B21,MMXX,MMX>
cpu4: features: bffbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW>
cpu4: L2 cache 2 MB 64B/line 8-way
cpu5 at mainbus0: apid 6 (application processor)
cpu5: starting
cpu5:                   Intel(R) Xeon(TM) CPU 2.80GHz, 2828.11 MHz
cpu5: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu5: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,B21,MMXX,MMX>
cpu5: features: bffbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW>
cpu5: L2 cache 2 MB 64B/line 8-way
cpu6 at mainbus0: apid 3 (application processor)
cpu6: starting
cpu6:                   Intel(R) Xeon(TM) CPU 2.80GHz, 2828.11 MHz
cpu6: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu6: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,B21,MMXX,MMX>
cpu6: features: bffbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW>
cpu6: L2 cache 2 MB 64B/line 8-way
cpu7 at mainbus0: apid 7 (application processor)
cpu7: starting
cpu7:                   Intel(R) Xeon(TM) CPU 2.80GHz, 2828.11 MHz
cpu7: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu7: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,B21,MMXX,MMX>
cpu7: features: bffbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW>
cpu7: L2 cache 2 MB 64B/line 8-way
ioapic0 at mainbus0 apid 8 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0 apid 9 (I/O APIC)
ioapic1: pa 0xfec81000, version 20, 24 pins
ioapic2 at mainbus0 apid 10 (I/O APIC)
ioapic2: pa 0xfec81400, version 20, 24 pins
mainbus0: Intel MP Specification (Version 1.4) (INTEL    Lindenhurst )
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type PCI
mpbios: bus 6 is type PCI
mpbios: bus 7 is type PCI
mpbios: bus 8 is type ISA
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
acpi: WARNING: no matching I/O apic for SCI, assuming ioapic0
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
INT0800 at acpi0 not configured
PNP0A05 [Generic ACPI Bus] at acpi0 not configured
PNP0401 [ECP printer port] at acpi0 not configured
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
PNP0F13 [PS/2 Port for PS/2-style Mice] at acpi0 not configured
PNP0501 [16550A-compatible COM port] at acpi0 not configured
PNP0501 [16550A-compatible COM port] at acpi0 not configured
PNP0700 [PC standard floppy disk controller] at acpi0 not configured
PNP0C0C [ACPI power button device] at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel product 0x3590 (rev. 0x0c)
Intel product 0x3591 (undefined subclass 0x00, revision 0x0c) at pci0 dev 0 function 1 not configured
Intel product 0x3594 (miscellaneous system, revision 0x0c) at pci0 dev 1 function 0 not configured
ppb0 at pci0 dev 2 function 0: Intel product 0x3595 (rev. 0x0c)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 3 function 0: Intel product 0x3596 (rev. 0x0c)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci2 dev 0 function 0: Intel product 0x0329 (rev. 0x09)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ahd0 at pci3 dev 2 function 0
ahd0: Enabling 39Bit Addressing
ahd0: interrupting at ioapic1 pin 8 (irq 5)
ahd0: aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
scsibus0 at ahd0: 16 targets, 8 luns per target
ahd1 at pci3 dev 2 function 1
ahd1: Enabling 39Bit Addressing
ahd1: interrupting at ioapic1 pin 9 (irq 10)
ahd1: aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
scsibus1 at ahd1: 16 targets, 8 luns per target
Intel product 0x0326 (interrupt system, interface 0x20, revision 0x09) at pci2 dev 0 function 1 not configured
ppb3 at pci2 dev 0 function 2: Intel product 0x032a (rev. 0x09)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci4 dev 2 function 0: Intel i82546GB 1000BASE-T Ethernet, rev. 3
wm0: interrupting at ioapic2 pin 6 (irq 10)
wm0: 64-bit 133MHz PCIX bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:30:48:2f:b0:72
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm1 at pci4 dev 2 function 1: Intel i82546GB 1000BASE-T Ethernet, rev. 3
wm1: interrupting at ioapic2 pin 7 (irq 11)
wm1: 64-bit 133MHz PCIX bus
wm1: 256 word (8 address bits) MicroWire EEPROM
wm1: Ethernet address 00:30:48:2f:b0:73
makphy1 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 5
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
Intel product 0x0327 (interrupt system, interface 0x20, revision 0x09) at pci2 dev 0 function 3 not configured
ppb4 at pci0 dev 4 function 0: Intel product 0x3597 (rev. 0x0c)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
ppb5 at pci0 dev 6 function 0: Intel product 0x3599 (rev. 0x0c)
pci6 at ppb5 bus 6
pci6: i/o space, memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 29 function 0: Intel 82801EB/ER USB UHCI Controller (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16 (irq 5)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801EB/ER USB UHCI Controller (rev. 0x02)
uhci1: interrupting at ioapic0 pin 19 (irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801EB/ER USB UHCI Controller (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18 (irq 10)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801EB/ER USB UHCI Controller (rev. 0x02)
uhci3: interrupting at ioapic0 pin 16 (irq 5)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
Intel 82801EB/ER USB EHCI Controller (USB serial bus, interface 0x20, revision 0x02) at pci0 dev 29 function 7 not configured
ppb6 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0xc2)
pci7 at ppb6 bus 7
pci7: i/o space, memory space enabled
vga0 at pci7 dev 1 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801EB LPC Interface Bridge (rev. 0x02)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801EB IDE Controller (ICH5) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
Intel 82801EB/ER SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
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
sysbeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
ioapic0: enabling
ioapic1: enabling
ioapic2: enabling
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <LITE-ON CD-ROM LTN-5291S, , NS08> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
sd0 at scsibus0 target 0 lun 0: <FUJITSU, MAW3073NC, 0104> disk fixed
sd0: 70136 MB, 78753 cyl, 2 head, 911 sec, 512 bytes/sect x 143638992 sectors
sd0: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <FUJITSU, MAT3073NC, 0108> disk fixed
sd1: 70136 MB, 78753 cyl, 2 head, 911 sec, 512 bytes/sect x 143638992 sectors
sd1: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers, tagged queueing
ses0 at scsibus0 target 8 lun 0: <SUPER, GEM359 REV001, 1.09> processor fixed
ses0: SAF-TE Compliant Device
ses0: async, 8-bit transfers
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
cpu2: CPU 1 running
cpu4: CPU 2 running
cpu6: CPU 3 running
cpu1: CPU 4 running
cpu3: CPU 5 running
cpu5: CPU 6 running
cpu7: CPU 7 running
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)