On Thu, Aug 14, 2008 at 5:07 PM, Ingo Molnar <mingo@elte.hu> wrote:
wrote:
CONFIG_X86_BIGSMP.\n");
Attached. cpu.8
CONFIG_X86_32=y
CONFIG_X86_PC=y
CONFIG_X86=y
CONFIG_NR_CPUS=8
Attached. cpu.16
CONFIG_X86_32=y
CONFIG_X86_PC=y
CONFIG_X86=y
CONFIG_NR_CPUS=16
Attached cpu.16.big
CONFIG_X86_32=y
CONFIG_X86=y
CONFIG_X86_GENERICARCH=y
CONFIG_X86_BIGSMP=y
# CONFIG_X86_PC is not set
CONFIG_NR_CPUS=16
Attached cpu.16.nobig (same as cpu.16 except with modifed patch)
CONFIG_X86_32=y
CONFIG_X86_PC=y
CONFIG_X86=y
CONFIG_NR_CPUS=16
Attached is the modified patch to make the warning appears. It's Yinghai's
patch modified to just display the error and continue to boot.
Thanks,
Jeff
--- linux.16/arch/x86/kernel/smpboot.c.org 2008-08-15 18:15:37 +0800
+++ linux.16/arch/x86/kernel/smpboot.c 2008-08-15 18:13:42 +0800
@@ -999,9 +999,12 @@
printk(KERN_WARNING
"More than 8 CPUs detected - skipping them.\n"
"Use CONFIG_X86_GENERICARCH and CONFIG_X86_BIGSMP.\n");
- }
-#endif
+ err = -1;
+ } else
+ err = do_boot_cpu(apicid, cpu);
+#else
err = do_boot_cpu(apicid, cpu);
+#endif
zap_low_mappings();
low_mappings = 0;