Date: Wed, 19 Nov 2003 10:16:40 -0600 From: Peter Schultz <pmes@btinet.net> To: John Baldwin <jhb@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: [PATCH] Please test SMP changes Message-ID: <3FBB9768.6010503@btinet.net> In-Reply-To: <XFMail.20031119070015.jhb@FreeBSD.org> References: <XFMail.20031119070015.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > [ Bcc'd to various arch mailing lists ] > > Please test the patch at http://www.FreeBSD.org/~jhb/patches/smp.patch > You can apply it to a sys/ check out by using patch -p6. It moves > the setting of mp_maxid into a separate function (cpu_mp_setmaxid()) > that is called before loader tunables so that UMA and others can use > it. cpu_mp_probe() is now called at SI_SUB_CPU / SI_ORDER_SECOND like > it used to be. This is necessay to re-enable the ACPI module on i386. > I have tested it on i386 but not on other archs. Please be sure to > test that a normal SMP kernel works as well as booting an SMP kernel > with 'kern.smp.disabled'. cpu_mp_probe() is no longer called if SMP > is disabled in the loader using the tunable. Thanks. > What all do I need to adjust on my end, other patches? I took 'device acpi' out of my kernel, but if I try to boot with the acpi module loaded, the kernel still uses MPTable for interrupts: Copyright (c) 1992-2003 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 5.1-CURRENT #0: Wed Nov 19 08:55:07 CST 2003 root@192.168.0.3:/usr/obj/usr/src/sys/MAXKERNEL_DEBUG Preloaded elf kernel "/boot/kernel/kernel" at 0xc07d8000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07d8250. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 402587648 (383 MB) avail memory = 385548288 (367 MB) MPTable: <INTEL 440GX > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Assuming intbase of 0 ioapic0 <Version 1.1> irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <TYANCP TYANTBLE> on motherboard ACPI-0168: *** Error: Could not transition to ACPI mode. acpi0: Could not enable ACPI: AE_NO_HARDWARE_RESPONSE device_probe_and_attach: acpi0 attach returned 6 Pete...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FBB9768.6010503>