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

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



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


 


Rackspace

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