Author Topic: Compile fails with support SMP > 8 and max # CPU  (Read 2200 times)

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 420
    • http://blog.avirtualhome.com
Compile fails with support SMP > 8 and max # CPU
« on: January 12, 2011, 12:50:36 PM »
A question was posted by Mason in the comments section of How to compile a Ubuntu Maverick 2.6.35 kernel for Lucid

When I enable * Support for big SMP systems with more than 8 CPUs and Maximum number of CPUs . It will compile fail. I have try many times.

Any one know how to fix this problem ? Thanks
« Last Edit: January 12, 2011, 01:03:19 PM by Peter »
Peter van der Does
AVH Plugins developer

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 420
    • http://blog.avirtualhome.com
Re: Compile fails with support SMP > 8 and max # CPU
« Reply #1 on: January 12, 2011, 12:51:56 PM »
What error message do you get when compiling?
Peter van der Does
AVH Plugins developer

Mason

  • Guest
Re: Compile fails with support SMP > 8 and max # CPU
« Reply #2 on: January 12, 2011, 08:08:13 PM »
arch/x86/built-in.o: In function `xen_unpin_page':
/root/maverick/source/arch/x86/xen/mmu.c:1030: undefined reference to `page_to_nid'
arch/x86/built-in.o: In function `page_zone':
/root/maverick/source/include/linux/mm.h:560: undefined reference to `page_to_nid'
arch/x86/built-in.o:/root/maverick/source/include/linux/mm.h:603: more undefined references to `page_to_nid' follow
make[2]: *** [.tmp_vmlinux1] Error 1
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/root/maverick/source'
make: *** [/root/maverick/source/debian/stamps/stamp-build-core2] Error 2

root@sissw01:~/maverick/source#

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 420
    • http://blog.avirtualhome.com
Re: Compile fails with support SMP > 8 and max # CPU
« Reply #3 on: January 12, 2011, 09:10:08 PM »
From what i can determine from sources online this might actually be a bug in the kernel. There are reports of other functions that show the same problem and it was related to 32bit.

You might want to bring this up on the kernel mail list.
Peter van der Does
AVH Plugins developer

Francesco

  • Guest
Re: Compile fails with support SMP > 8 and max # CPU
« Reply #4 on: January 21, 2011, 12:21:28 PM »
Hi there,

do you have news? I'm into same trouble :-)

Thanks,
-FG

Francesco Gringoli

  • Guest
Re: Compile fails with support SMP > 8 and max # CPU
« Reply #5 on: January 23, 2011, 08:00:01 AM »
Hi there,

setting CONFIG_NODES_SHIFT to a lower value than the default chosen by Ubuntu it compiles without complaining.

Cheers,
-Francesco