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

[Xen-users] xenU SMP support gone in 2.0-testing?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xenU SMP support gone in 2.0-testing?
From: David Becker <becker@xxxxxxxxxxx>
Date: Mon, 26 Sep 2005 14:43:42 -0400
Delivery-date: Mon, 26 Sep 2005 18:41:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
I tried to make a SMP xenU from the current xenU 2.0-testing.hg tree
and failed.   Is SMP for xenU's still possible in 2.0?

I re-enabled the SMP config question in the Kconfig file and then
the build fails immediately in asm-offset.s.  Building a non-SMP kernel
works just fine.

Here are the compile msgs and the Kconfig diff:


  CC      arch/i386/kernel/asm-offsets.s
In file included from include/asm-xen/asm/msr.h:4,
                 from include/asm-xen/asm/processor.h:17,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/smp.h: In function `on_each_cpu':
include/linux/smp.h:67: warning: implicit declaration of function
`current_thread_info'
include/linux/smp.h:67: error: invalid type argument of `->'
include/linux/smp.h:70: error: invalid type argument of `->'
include/linux/smp.h:70: warning: implicit declaration of function
`test_thread_flag'
include/linux/smp.h:70: error: `TIF_NEED_RESCHED' undeclared (first use
in this function)
include/linux/smp.h:70: error: (Each undeclared identifier is reported
only once
include/linux/smp.h:70: error: for each function it appears in.)
In file included from include/asm-xen/asm/processor.h:17,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/msr.h: In function `wrmsrl':
include/asm-xen/asm/msr.h:47: error: invalid type argument of `->'
In file included from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/processor.h: In function `load_esp0':
include/asm-xen/asm/processor.h:500: error: invalid type argument of
`->'
In file included from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm/thread_info.h: At top level:
include/asm/thread_info.h:89: warning: `current_thread_info' was
declared implicitly `extern' and later `static'
include/asm-xen/asm/processor.h:500: warning: previous declaration of
`current_thread_info'
include/asm/thread_info.h:89: warning: type mismatch with previous
implicit declaration
include/asm-xen/asm/processor.h:500: warning: previous implicit
declaration of `current_thread_info'
include/asm/thread_info.h:89: warning: `current_thread_info' was
previously implicitly declared to return `int'
In file included from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/thread_info.h:51: warning: `test_thread_flag' was declared
implicitly `extern' and later `static'
include/linux/smp.h:70: warning: previous declaration of
`test_thread_flag'
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2




$ hg diff linux-2.6-xen-sparse/arch/xen/i386/Kconfig
diff -r 9d3927f57bb2 linux-2.6-xen-sparse/arch/xen/i386/Kconfig
--- a/linux-2.6-xen-sparse/arch/xen/i386/Kconfig        Sun Aug 28
02:43:33 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/Kconfig        Mon Sep 26
14:39:48 2005
@@ -341,7 +341,7 @@
        def_bool HPET_TIMER && RTC=y
 
 config SMP
-       bool
+       bool "Symmetric multi-processing support"
        default n
 #config SMP
 #      bool "Symmetric multi-processing support"



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

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