WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem compiling with vSMP cpu architecture support
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Fri, 4 Jan 2008 17:42:16 +0000
Cc: rargh <rargh@xxxxxxxxxxx>
Delivery-date: Fri, 04 Jan 2008 09:42:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4772FAC0.9060005@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4772FAC0.9060005@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
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

<Prev in Thread] Current Thread [Next in Thread>