Marc G. Fournier
2006-Jun-23 04:32 UTC
FreeBSD 6.x on Dual PIII server only seeing one CPU ...
Are there any known problems with FreeBSD 6.x and Dual PIII motherboards? My source tree is from May 25th ... I just noticed something while looking around my server, and there is no CPU1 running, only CPU0 ... I definitely have SMP enabled in my kernel: # strings /boot/kernel/kernel | grep SMP SMP_prvspace SMPpt Correcting Natoma config for SMP Kernel SMP SMP has been disabled from the loader FreeBSD/SMP: Multiprocessor System Detected: %d CPUs SMP: CPU %d exceeds maximum CPU %d, ignoring SMP: Added CPU %d (%s) SMP: cpuid = %d SMP: actual apic_id = %d SMP: correct apic_id = %d SMP: AP CPU #%d Launched! SMP: tlb shootdown to %d other cpus (only have %d) Indicates whether the TSC is safe to use in SMP mode npx0 cannot use IRQ 13 on an SMP system npx0 cannot be emulated on an SMP system but, as dmesg shows, no 2nd CPU is even being attempted to start: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #1: Sun Jun 18 00:01:02 ADT 2006 root@pluto.hub.org:/usr/obj/usr/src/sys/kernel acpi_alloc_wakeup_handler: can't alloc wake memory ACPI APIC Table: <INTEL SCB20 > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU - S 1266MHz (1263.45-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b4 Stepping = 4 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 4227792896 (4031 MB) avail memory = 4144308224 (3952 MB) ACPI-0698: *** Warning: Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [SB__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [ICNT] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [ACPI] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [LEDP] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [CSB5] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [BIOS] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [CMOS] had invalid type (Integer) for Scope operator, changed to (Scope) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 <Version 1.1> irqs 0-15 on motherboard ioapic1 <Version 1.1> irqs 16-31 on motherboard lapic3: Forcing LINT1 to edge trigger kbd1 at kbdmux0 acpi0: <INTEL SCB20> on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <mass storage, RAID> at device 2.0 (no driver attached) fxp0: <Intel 82550 Pro/100 Ethernet> port 0x1480-0x14bf mem 0xfe790000-0xfe790fff,0xfe760000-0xfe77ffff irq 21 at device 3.0 on pci0 miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:bd:67:66 fxp1: <Intel 82550 Pro/100 Ethernet> port 0x14c0-0x14ff mem 0xfeac0000-0xfeac0fff,0xfeaa0000-0xfeabffff irq 20 at device 4.0 on pci0 miibus1: <MII bus> on fxp1 inphy1: <i82555 10/100 media interface> on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:03:47:bd:67:67 pci0: <display, VGA> at device 12.0 (no driver attached) isab0: <PCI-ISA bridge> at device 15.0 on pci0 isa0: <ISA bus> on isab0 pci0: <mass storage, ATA> at device 15.1 (no driver attached) pci0: <serial bus, USB> at device 15.2 (no driver attached) pcib1: <ACPI Host-PCI bridge> on acpi0 pci1: <ACPI PCI bus> on pcib1 iir0: <Intel Integrated RAID Controller> mem 0xfc8f0000-0xfc8f3fff irq 30 at device 9.0 on pci1 iir0: [GIANT-LOCKED] pcib2: <ACPI Host-PCI bridge> on acpi0 pci2: <ACPI PCI bus> on pcib2 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xd0fff,0xd1000-0xd27ff,0xd2800-0xd3fff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] Timecounter "TSC" frequency 1263452709 Hz quality 800 Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle ses0 at iir0 bus 1 target 6 lun 0 ses0: <ESG-SHV SCA HSBP M16 0.05> Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device da0 at iir0 bus 2 target 0 lun 0 da0: <Intel Host Drive #00 > Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 174848MB (358088850 512 byte sectors: 255H 63S/T 22290C) Trying to mount root from ufs:/dev/da0s1a ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664
Marc G. Fournier
2006-Jun-23 20:45 UTC
FreeBSD 6.x on Dual PIII server only seeing one CPU ...
Now, looking back in my /var/log/messages files, I was right, it did see two CPUs when I first installed the OS: May 26 20:47:23 pluto kernel: cpu0 (BSP): APIC ID: 3 May 26 20:47:23 pluto kernel: cpu1 (AP): APIC ID: 0 Now, on June 10th, I'm seeing: Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 1: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 2: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 2: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B And on the 22nd, I'm still seeing 2 CPUs ... Jun 22 02:39:09 pluto kernel: cpu0 (BSP): APIC ID: 3 Jun 22 02:39:09 pluto kernel: cpu1 (AP): APIC ID: 0 It looks like yesterday around 17:58's crash/reboot is when I lost the 2nd CPU :( I haven't seen any errors from iir0 since the 10th though ... does anyone know what those mean? On Fri, 23 Jun 2006, Marc G. Fournier wrote:> > Are there any known problems with FreeBSD 6.x and Dual PIII motherboards? > > My source tree is from May 25th ... > > I just noticed something while looking around my server, and there is no CPU1 > running, only CPU0 ... I definitely have SMP enabled in my kernel: > > # strings /boot/kernel/kernel | grep SMP > SMP_prvspace > SMPpt > Correcting Natoma config for SMP > Kernel SMP > SMP has been disabled from the loader > FreeBSD/SMP: Multiprocessor System Detected: %d CPUs > SMP: CPU %d exceeds maximum CPU %d, ignoring > SMP: Added CPU %d (%s) > SMP: cpuid = %d > SMP: actual apic_id = %d > SMP: correct apic_id = %d > SMP: AP CPU #%d Launched! > SMP: tlb shootdown to %d other cpus (only have %d) > Indicates whether the TSC is safe to use in SMP mode > npx0 cannot use IRQ 13 on an SMP system > npx0 cannot be emulated on an SMP system > > but, as dmesg shows, no 2nd CPU is even being attempted to start: > > Copyright (c) 1992-2006 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 6.1-STABLE #1: Sun Jun 18 00:01:02 ADT 2006 > root@pluto.hub.org:/usr/obj/usr/src/sys/kernel > acpi_alloc_wakeup_handler: can't alloc wake memory > ACPI APIC Table: <INTEL SCB20 > > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) III CPU - S 1266MHz (1263.45-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0x6b4 Stepping = 4 > Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> > real memory = 4227792896 (4031 MB) > avail memory = 4144308224 (3952 MB) > ACPI-0698: *** Warning: Type override - [DEB_] had invalid type (Integer) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [MLIB] had invalid type (Integer) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [DATA] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [SIO_] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [SB__] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [ICNT] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [ACPI] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [LEDP] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [WUES] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [WUSE] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [CSB5] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [BIOS] had invalid type (Integer) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [CMOS] had invalid type (Integer) > for Scope operator, changed to (Scope) > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 <Version 1.1> irqs 0-15 on motherboard > ioapic1 <Version 1.1> irqs 16-31 on motherboard > lapic3: Forcing LINT1 to edge trigger > kbd1 at kbdmux0 > acpi0: <INTEL SCB20> on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > cpu0: <ACPI CPU> on acpi0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pci0: <ACPI PCI bus> on pcib0 > pci0: <mass storage, RAID> at device 2.0 (no driver attached) > fxp0: <Intel 82550 Pro/100 Ethernet> port 0x1480-0x14bf mem > 0xfe790000-0xfe790fff,0xfe760000-0xfe77ffff irq 21 at device 3.0 on pci0 > miibus0: <MII bus> on fxp0 > inphy0: <i82555 10/100 media interface> on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:03:47:bd:67:66 > fxp1: <Intel 82550 Pro/100 Ethernet> port 0x14c0-0x14ff mem > 0xfeac0000-0xfeac0fff,0xfeaa0000-0xfeabffff irq 20 at device 4.0 on pci0 > miibus1: <MII bus> on fxp1 > inphy1: <i82555 10/100 media interface> on miibus1 > inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp1: Ethernet address: 00:03:47:bd:67:67 > pci0: <display, VGA> at device 12.0 (no driver attached) > isab0: <PCI-ISA bridge> at device 15.0 on pci0 > isa0: <ISA bus> on isab0 > pci0: <mass storage, ATA> at device 15.1 (no driver attached) > pci0: <serial bus, USB> at device 15.2 (no driver attached) > pcib1: <ACPI Host-PCI bridge> on acpi0 > pci1: <ACPI PCI bus> on pcib1 > iir0: <Intel Integrated RAID Controller> mem 0xfc8f0000-0xfc8f3fff irq 30 at > device 9.0 on pci1 > iir0: [GIANT-LOCKED] > pcib2: <ACPI Host-PCI bridge> on acpi0 > pci2: <ACPI PCI bus> on pcib2 > orm0: <ISA Option ROMs> at iomem > 0xc0000-0xc7fff,0xc8000-0xd0fff,0xd1000-0xd27ff,0xd2800-0xd3fff on isa0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > Timecounter "TSC" frequency 1263452709 Hz quality 800 > Timecounters tick every 1.000 msec > Waiting 5 seconds for SCSI devices to settle > ses0 at iir0 bus 1 target 6 lun 0 > ses0: <ESG-SHV SCA HSBP M16 0.05> Fixed Processor SCSI-2 device ses0: SAF-TE > Compliant Device > da0 at iir0 bus 2 target 0 lun 0 > da0: <Intel Host Drive #00 > Fixed Direct Access SCSI-2 device da0: Tagged > Queueing Enabled > da0: 174848MB (358088850 512 byte sectors: 255H 63S/T 22290C) > Trying to mount root from ufs:/dev/da0s1a > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664