[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Problem compiling with vSMP cpu architecture support



I'm not familiar with ScaleMP / vSMP but it seems like it's a different 
machine type, with a different architecture for large scale SMP systems, 
right?

This sounds like infrastructure that Xen itself would need to support, since 
Xen is responsible for many of the lowlevel details of the underlying system.  
Simply compiling the infrastructure into the guest would not suffice to make 
Xen work right on that architecture.

Furthermore, it looks like the ScaleMP architecture patches are incompatible 
with the Xen patches, which is causing your compile error.  However, given 
there are likely to be deeper problems with this approach I'm not sure that 
getting the compilation to work would solve your problem...

Out of interest, does Xen itself actually boot on this system?

Cheers,
Mark

> hello,
>
> I've been having trouble enabling the scaleMP vSMP architecture support
> (my cpu is an intel core 2 duo "conroe" e6750) with a xen-patched linux
> kernel.
> Everytime I compile the kernel, gcc complains about smp_processor_id()
> being undeclared (and thus, ultimately fail when linking).
> Enabling PC-compatible subarch type solves it.
> here's the fail log:
>
>
> In file included from include/linux/irqflags.h:47,
>                  from include/asm/system.h:266,
>                  from include/linux/spinlock.h:58,
>                  from include/linux/module.h:10,
>                  from init/version.c:11:
> include/asm/mach-xen/asm/irqflags.h: In function 'raw_local_irq_disable':
> include/asm/mach-xen/asm/irqflags.h:43: warning: implicit declaration of
> function 'smp_processor_id'
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> arch/x86_64/kernel/built-in.o: In function `alternative_instructions':
> (.init.text+0x19e0): undefined reference to `smp_processor_id'
> arch/x86_64/kernel/built-in.o: In function `alternative_instructions':
> (.init.text+0x19f9): undefined reference to `smp_processor_id'
> arch/x86_64/kernel/built-in.o: In function `check_nmi_watchdog':
> (.init.text+0x2a25): undefined reference to `smp_processor_id'
> arch/x86_64/kernel/built-in.o: In function `check_nmi_watchdog':
> (.init.text+0x2a3f): undefined reference to `smp_processor_id'
> arch/x86_64/kernel/built-in.o: In function `nmi_cpu_busy':
> nmi.c:(.init.text+0x2bc3): undefined reference to `smp_processor_id'
> arch/x86_64/kernel/built-in.o:nmi.c:(.init.text+0x2bdd): more undefined
> references to `smp_processor_id' follow
> make: *** [.tmp_vmlinux1] Error 1
> zsh: exit 2     make
>
>
>
> I tried with vanilla kernels 2.6.20 and 2.6.22-1, xen-patched (as well
> as with the gentoo xen-sources 2.6.20-xen-r6 ebuild) but to no avail.
>
> Any help/guidelines would be appreciated, thanks,
>
> -Oliver
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.