Re: 2.6.27rc1 cannot boot more than 8CPUs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Chua
Date: Friday, August 15, 2008 - 3:34 am

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;
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.27rc1 cannot boot more than 8CPUs, Jeff Chua, (Fri Aug 15, 3:34 am)
Re: 2.6.27rc1 cannot boot more than 8CPUs, Ingo Molnar, (Fri Aug 15, 7:07 am)
Re: 2.6.27rc1 cannot boot more than 8CPUs, Jeff Chua, (Sun Aug 17, 8:07 pm)
Re: 2.6.27rc1 cannot boot more than 8CPUs, Ingo Molnar, (Mon Aug 18, 1:00 am)