Date: Mon, 7 Oct 2002 22:41:05 -0500 (CDT) From: Jonathan R Feldkamp <jrf4772@ksu.edu> To: Robert Bopko <zero@estimese.net> Cc: Danny Braniss <danny@cs.huji.ac.il>, Stephen Karrington <sk@dreamtime.net>, James Schmidt <james@JamesSchmidt.Com>, <smp@freebsd.org> Subject: Re: se7500cw2 hack to try Message-ID: <Pine.GSO.4.33L.0210072205010.4553-100000@unix1.cc.ksu.edu> In-Reply-To: <20021006100955.GA13526@finom.estimese.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Danny, I tried your new version of mp_machdep.c, it didn't compile... :) lines 2205, and 2206 use an undefined variable 'x', I replaced them with logical_cpu, compiled, installed, and booted. the results are below, smp is still dead :( ---- dmesg stuff ------------------------ Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 CPU0: cpu_apic_version[0] is 0x00000000 CPU1: cpu_apic_version[0] is 0x00050014 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 3, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x00178020, at 0xfec80000 io2 (APIC): apic id: 4, version: 0x00178020, at 0xfec80400 Preloaded elf kernel "kernel" at 0xc03b2000. ------------------------------------------ ---- sysctl stuff ------------------------ osage:~>sysctl machdep.smp_active machdep.smp_active: 0 osage:~>sysctl machdep.smp_cpus machdep.smp_cpus: 1 osage:~>sysctl hw.ncpu hw.ncpu: 7531633 ------------------------------------------ for those at smp@freebsd.org, I put a copy Danny's mp_machdep.c up at: http://www-personal.ksu.edu/~jrf4772/mp_machdep.c I think we may be getting close here... Thanks, jon On Sun, 6 Oct 2002, Robert Bopko wrote: > ahh i am not a smp specialist. :-( > > dmesg from working linux: > > Initializing CPU#1 > masked ExtINT on CPU#1 > ESR value before enabling vector: 00000000 > ESR value after enabling vector: 00000000 > Calibrating delay loop... 3984.58 BogoMIPS > CPU: Before vendor init, caps: 3febfbff 00000000 00000000, vendor = 0 > CPU: L1 I cache: 12K, L1 D cache: 8K > CPU: L2 cache: 512K > !!!!CPU: Physical Processor ID: 3!!!! > CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000 > Intel machine check reporting enabled on CPU#1. > CPU: After generic, caps: 3febfbff 00000000 00000000 00000000 > CPU: Common caps: 3febfbff 00000000 00000000 00000000 > CPU1: Intel(R) XEON(TM) CPU 2.00GHz stepping 04 > Total of 2 processors activated (7956.07 BogoMIPS). > > but the panic message: > > "AP #1 (PHY# 6) failed!" > so the freebsd kernel want use Physical ID 6 not ID 3. > > here is another mp_machdep.c with overrided AP PHY ID to 3, and > disabled second IPI startup instructions. > and please add another kernel parameter to loader.conf: > hw.ncpu="2" > > thanks. > > ps: hw.ncpu: 7531970? :-) your pc must be big like las vegas. ;-) > > On Sun, Oct 06, 2002 at 12:27:12PM +0300, Danny Braniss wrote: > > > > > now please. > > > edit /boot/loader.conf and add there this lines: > > > machdep.smp_active="1" > > > machdep.smp_cpus="2" > > > > no luck, > > hw.ncpu: 7531970 > > machdep.smp_cpus: 1 > > machdep.smp_active: 0 > > > > as long as we are debugging, this is ok, putting things in loader.conf, > > but in my case most of these boxes are 'diskless/dataless' with a shared > > root, and not all are smp. > > > > danny > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.33L.0210072205010.4553-100000>