Date: Sun, 24 Apr 2005 12:39:49 +1000 From: Matthew Sullivan <matthew@uq.edu.au> To: Andre Guibert de Bruet <andy@siliconlandmark.com> Cc: freebsd-current@freebsd.org Subject: Re: SMP on Compaq DL380 Message-ID: <426B06F5.3030506@uq.edu.au> In-Reply-To: <20050423152223.Q68772@lexi.siliconlandmark.com> References: <4267A1CF.3080903@uq.edu.au> <20050422190208.M68772@lexi.siliconlandmark.com> <20050423020305.I68772@lexi.siliconlandmark.com> <426A20E5.5020604@uq.edu.au> <20050423152223.Q68772@lexi.siliconlandmark.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Andre Guibert de Bruet wrote: > > On Sat, 23 Apr 2005, Matthew Sullivan wrote: > >> Andre Guibert de Bruet wrote: >> >>> On Sat, 23 Apr 2005, Matthew Sullivan wrote: >>> >>>> Andre Guibert de Bruet wrote: >>>> >>>>> On Thu, 21 Apr 2005, Matthew Sullivan wrote: >>>>> >>>>>> I've been reading about problems with HP/Compaq's regarding >>>>>> launching of second CPUs on SMP systems. >>>>>> >>>>>> I've been through the BIOS settings and there seems to be no >>>>>> settings to change the APCI table etc.... >>>>>> >>>>>> Now one thing that does seem common, when I have BIOS's with MP >>>>>> table version set to 1.4 FreeBSD doesn't report the second CPU >>>>>> being launched (even though it is seen in the acpidump).... When >>>>>> I set the BIOS to version 1.2 of the MP table the second CPU is >>>>>> reported and launched. >>>>>> >>>>>> Now the Compaq DL380's I have done seem to have the ability to >>>>>> set 1.4 or 1.2 of the table ... mptable reports 1.4... (below) >>>>>> >>>>>> Any suggestions on how to launch the second CPU...? >>>>> >>>>> >>>>> Make a boot -v from this machine available. >>>> >>>> >>>> http://scorpion.sorbs.net/dmesg.txt >>> >>> >>> The lack of the following seems to indicate that you do not have >>> "device apic" enabled in your kernel config (You need "options SMP" >>> as well to get FreeBSD to do more than just recognize both CPUs): >>> >>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >>> cpu0 (BSP): APIC ID: 0 >>> cpu1 (AP): APIC ID: <some number> >>> >>> Please share your config and the steps that you are taking to build >>> your kernel. >> >> >> /usr/src/sys/i386/conf/SCORPION has been copied to: >> http://scorpion.sorbs.net/SCORPION >> >> /etc/make.conf contains 'KERNCONF=SCORPION' >> then I follow the instructions in the Makefile.... >> >> cd /usr/src >> make buildworld >> make buildkernel >> make installkernel >> reboot >> mergemaster -p >> make installworld >> mergemaster >> reboot >> >> (before I read the man page for make.conf I was using >> KERNCONF=SCORPION in the appropriate places on the command line) > > > The dmesg shows that you compiled the kernel using this config file > anyway. All is good so far. > > Processors: APIC ID Version State Family Model > Step Flags > 0 0x10 BSP, usable 6 2 1 0x0381 > 0 0x10 AP, usable 6 8 6 0x383fbff > > The APIC IDs here are the same. The flags on the would-be AP are what > I would expect for a recent i686. The BSP barely qualify it to be a > gen-1 Pentium. I wouldn't trust any of the values being reported. > Could you obtain the real identity of these CPUs and confirm that > they're not mismatched? The easy way of doing this if your BIOS > doesn't post this information is using a Knoppix LiveCD and doing a > cat /proc/cpuinfo. Ok can't do the knoppix thing atm, however... CPU0 -> 866/256/133/1.65v SL47S CPU1 -> 866/256/133/1.70v SL48V Both are shown detected by the BIOS, and both are shown as 866MHz 133MHz busses, and 256k cache (as one would expect) > > If both CPUs are reporting the same ID, I can see how we're not > launching the second proc; We assume that ID 0 is the BSP and > additional processors have different APIC IDs. Is something really > borked here? Yep! But the acpidump -t shows 2 different ID's.... Regards, Mat -- Matthew Sullivan Specialist Systems Programmer Information Technology Services The University of Queensland [-- Attachment #2 --] 0 *H 010 + 0 *H 0r0Z*0 *H 010 UAU10U Queensland10UBrisbane1%0#U The University of Queensland1(0&UInformation Technology Services10UCertificate Server0 040121233621Z 060121233621Z010 UAU1%0#U The University of Queensland1'0%UInformation Tecnology Services10 &,dccmatt10UMatthew Sullivan1 0 *H matthew@uq.edu.au0\0 *H K 0HA ~?AJ#0z^TY%L~3:ܠDŽoӄ'Zբ,pK h0f0U0 `HB0U#0&2MA{7XT0 U0matthew@its.uq.edu.au0 *H ]f*fe 7>Că3$K:C%˜pr0(;wP@H$U ҷs;#BdYMz9 Z ȥ-Z=53Fl .jٍ \]W)R+,!6Ampz:3 JFwH2LRD"ױTb^#)/xgBRr{(1&fcv@Jpc4fcy{SaU0r0Z*0 *H 010 UAU10U Queensland10UBrisbane1%0#U The University of Queensland1(0&UInformation Technology Services10UCertificate Server0 040121233621Z 060121233621Z010 UAU1%0#U The University of Queensland1'0%UInformation Tecnology Services10 &,dccmatt10UMatthew Sullivan1 0 *H matthew@uq.edu.au0\0 *H K 0HA ~?AJ#0z^TY%L~3:ܠDŽoӄ'Zբ,pK h0f0U0 `HB0U#0&2MA{7XT0 U0matthew@its.uq.edu.au0 *H ]f*fe 7>Că3$K:C%˜pr0(;wP@H$U ҷs;#BdYMz9 Z ȥ-Z=53Fl .jٍ \]W)R+,!6Ampz:3 JFwH2LRD"ױTb^#)/xgBRr{(1&fcv@Jpc4fcy{SaU1@0<0010 UAU10U Queensland10UBrisbane1%0#U The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0 + -0 *H 1 *H 0 *H 1 050424023949Z0# *H 1w,6[+䞴Ϝ0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0 +710010 UAU10U Queensland10UBrisbane1%0#U The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0*H 1010 UAU10U Queensland10UBrisbane1%0#U The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0 *H @.̗xmAw=;s]IG11U RcpJP[J^u,Wh4help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426B06F5.3030506>
