From owner-freebsd-smp Thu Mar 21 15:51:51 2002 Delivered-To: freebsd-smp@freebsd.org Received: from spock.webexc.com (zzz-216043142149.splitrock.net [216.43.142.149]) by hub.freebsd.org (Postfix) with ESMTP id 3F22E37B400 for ; Thu, 21 Mar 2002 15:51:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by spock.webexc.com (Postfix) with ESMTP id CA9EA4D5 for ; Thu, 21 Mar 2002 18:56:05 -0500 (EST) Date: Thu, 21 Mar 2002 18:56:05 -0500 (EST) From: Matt Barton X-X-Sender: mbarton@spock.webexc.com To: freebsd-smp@freebsd.org Subject: FreeBSD 4.5: Second CPU Not Working on Dell PowerEdge 1650 Message-ID: <20020321183805.D1449-100000@spock.webexc.com> Organization: Webexcellence MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello I am not a subscriber to this list so I would appreciate direct replies to my mailbox. Thanks. Okay. My company recently acquired a new Dell PowerEdge 1650. These are new Dell boxes that seem to be mostly based on the 1550 model. We were able to get a deal on the machine and thus received a second processor. I'm not able to get FreeBSD to boot with the second processor enabled. It will boot just fine, but will only enable the first CPU. I am a total novice at FreeBSD with SMP enabled. FreeBSD wopr.webexc.com 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #0: Thu Mar 21 15:00:17 EST 2002 root@wopr.webexc.com:/usr/obj/usr/src/sys/WOPR i386 To enable SMP, I modified two lines in a copy of the GENERIC kernel configuration. options SMP options APIC_IO After compiling the kernel, I installed it and rebooted. The server came up with no problems, but with only one processor enabled. Not sure what I need to do from here, which I why I am writing this e-mail. I have included the output of "dmesg" and "mptable" below for you viewing. The pertainent error that I'm seeing at boot time is the following. APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 SMP: AP CPU #1 Launched! To me this looks like some kind of hardware incompatibility with the new 1650 model and FreeBSD, which isn't suprising considering these models were just released a month or so ago. Please let me know what you guys think. If I need to update my source to -stable, I can do that. Also, is there any way other than looking at "mptable" to know if the second processor is actually being used? Would "top" show me CPU stats for both processors? Just curious -- my first time doing this. Thank you! ===== Copyright (c) 1992-2002 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 4.5-RELEASE-p2 #0: Thu Mar 21 15:00:17 EST 2002 root@wopr.webexc.com:/usr/obj/usr/src/sys/WOPR Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1127.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 268369920 (262080K bytes) avail memory = 257638400 (251600K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Changing APIC ID for IO APIC #1 from 0 to 3 on chip Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xc0371000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fc230 npx0: on motherboard npx0: INT 16 interface pcib1: on motherboard IOAPIC #1 intpin 1 -> irq 2 IOAPIC #1 intpin 0 -> irq 3 IOAPIC #1 intpin 2 -> irq 5 IOAPIC #1 intpin 3 -> irq 7 pci1: on pcib1 em0: port 0xdce0-0xdcff mem 0xfeb40000-0xfeb5ffff,0xfeb60000-0xfeb7ffff irq 2 at device 2.0 on pci1 em0: Speed:10 Mbps Duplex:Half em1: port 0xdcc0-0xdcdf mem 0xfeb00000-0xfeb1ffff,0xfeb20000-0xfeb3ffff irq 3 at device 4.0 on pci1 em1: Speed:N/A Duplex:N/A ahc0: port 0xd800-0xd8ff mem 0xfeb81000-0xfeb81fff irq 5 at device 6.0 on pci1 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0xd400-0xd4ff mem 0xfeb80000-0xfeb80fff irq 7 at device 6.1 on pci1 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs pcib0: on motherboard pci0: on pcib0 pci0: at 12.0 atapci0: port 0x8b0-0x8bf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ohci0: mem 0xfe100000-0xfe100fff irq 11 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered isab0: at device 15.3 on pci0 isa0: on isab0 pcib2: on motherboard pci2: on pcib2 pcib3: on motherboard pci3: on pcib3 pcib4: on motherboard pci4: on pcib4 orm0: