[opensuse] error in 2.6.20.3 kernel for xen

2007-03-22 Thread phcolaris
hi all,

trying to compile 2.6.20.3 with a support for xen.
I guess I'm missing something, just can't see what exactly.
many thanks for hint

rgds
phil


make -f buildconfigs/mk.linux-2.6-xen0 build
make[1]: Entering directory `/home/pdjg/public_html/xen/xen-3.0.4_1-src'
if grep ^CONFIG_MODULES= linux-2.6.20.3-xen0/.config ; then \
make -C linux-2.6.20.3-xen0 ARCH=x86_64 modules ; \
make -C linux-2.6.20.3-xen0 ARCH=x86_64
INSTALL_MOD_PATH=/home/pdjg/public_html/xen/xen-3.0.4_1-src/dist/install
modules_install ; \
fi
CONFIG_MODULES=y
make[2]: Entering directory
`/home/pdjg/public_html/xen/xen-3.0.4_1-src/linux-2.6.20.3-xen0'
scripts/kconfig/conf -s arch/x86_64/Kconfig
drivers/macintosh/Kconfig:126:warning: 'select' used by config symbol
'PMAC_BACKLIGHT' refer to undefined symbol 'FB_BACKLIGHT'
#
# configuration written to .config
#
make[2]: Leaving directory
`/home/pdjg/public_html/xen/xen-3.0.4_1-src/linux-2.6.20.3-xen0'
make[2]: Entering directory
`/home/pdjg/public_html/xen/xen-3.0.4_1-src/linux-2.6.20.3-xen0'
  CHK include/linux/version.h
  CHK include/linux/utsrelease.h
  CC  arch/x86_64/kernel/asm-offsets.s
In file included from include/asm/thread_info.h:12,
 from include/linux/thread_info.h:21,
 from include/linux/preempt.h:9,
 from include/linux/spinlock.h:49,
 from include/linux/capability.h:45,
 from include/linux/sched.h:46,
 from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/mach-xen/asm/page.h:4:26: error: linux/config.h: No such
file or directory
In file included from include/linux/spinlock.h:57,
 from include/linux/capability.h:45,
 from include/linux/sched.h:46,
 from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/mach-xen/asm/system.h:20:1: warning: LOCK_PREFIX redefined
In file included from include/asm/bitops.h:8,
 from include/linux/bitops.h:9,
 from include/linux/thread_info.h:20,
 from include/linux/preempt.h:9,
 from include/linux/spinlock.h:49,
 from include/linux/capability.h:45,
 from include/linux/sched.h:46,
 from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/alternative.h:126:1: warning: this is the location of the
previous definition
In file included from include/linux/spinlock.h:57,
 from include/linux/capability.h:45,
 from include/linux/sched.h:46,
 from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/mach-xen/asm/system.h:90: error: redefinition of ‘struct
alt_instr’
In file included from include/linux/slab.h:14,
 from include/linux/percpu.h:5,
 from include/linux/rcupdate.h:41,
 from include/linux/pid.h:4,
 from include/linux/sched.h:72,
 from arch/x86_64/kernel/asm-offsets.c:7:
include/linux/gfp.h: In function ‘gfp_zone’:
include/linux/gfp.h:80: error: ‘GFP_ZONEMASK’ undeclared (first use in
this function)
include/linux/gfp.h:80: error: (Each undeclared identifier is reported
only once
include/linux/gfp.h:80: error: for each function it appears in.)
include/linux/gfp.h:81: error: ‘GFP_ZONETYPES’ undeclared (first use in
this function)
make[3]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make[2]: *** [prepare0] Error 2
make[2]: Leaving directory
`/home/pdjg/public_html/xen/xen-3.0.4_1-src/linux-2.6.20.3-xen0'
make[2]: Entering directory
`/home/pdjg/public_html/xen/xen-3.0.4_1-src/linux-2.6.20.3-xen0'
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
System.map -b /home/pdjg/public_html/xen/xen-3.0.4_1-src/dist/install -r
2.6.20.3-xen0; fi
make[2]: Leaving directory
`/home/pdjg/public_html/xen/xen-3.0.4_1-src/linux-2.6.20.3-xen0'
make -C linux-2.6.20.3-xen0 ARCH=x86_64
INSTALL_PATH=/home/pdjg/public_html/xen/xen-3.0.4_1-src/dist/install
vmlinuz
make[2]: Entering directory
`/home/pdjg/public_html/xen/xen-3.0.4_1-src/linux-2.6.20.3-xen0'
  CHK include/linux/version.h
  CHK include/linux/utsrelease.h
  CC  arch/x86_64/kernel/asm-offsets.s
In file included from include/asm/thread_info.h:12,
 from include/linux/thread_info.h:21,
 from include/linux/preempt.h:9,
 from include/linux/spinlock.h:49,
 from include/linux/capability.h:45,
 from include/linux/sched.h:46,
 from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/mach-xen/asm/page.h:4:26: error: linux/config.h: No such
file or directory
In file included from include/linux/spinlock.h:57,
 from include/linux/capability.h:45,
 from include/linux/sched.h:46,
 from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/mach-xen/asm/system.h:20:1: warning: LOCK_PREFIX redefined
In file included from include/asm/bitops.h:8,
   

[opensuse-factory] xen in factory release

2007-03-21 Thread phcolaris
hi,

just some feedback on xen in the factory release, I hope this help to
anyone who looks after the xen implementation in opensuse.
rg
phil

- the xen kernel didn't create correct entry in /boot/grub/menu.lst,
didn't identify my root settings and didn't add what I've got in the
other boots

- I'm using console, so I add console=tty0 console=ttyS0,57600 in the
menu.lst
however, the output on console is just 
��������������������������������������������
��������������������������������������������
��������������������������������������������
��������������������������������������������
��������������������������������������������
��������������������������������������������
��������������������������������������������


- couldn't use the cpus =  option, there is a bug if I'm right

# HG changeset patch
# User Ewan Mellor [EMAIL PROTECTED]
# Date 1169721257 0
# Node ID 82c306ad212e3714cf9292611a0ddb8de7a3b5dc
# Parent  32f7d3200a995c5ae9b0819c63d51c51e2febe73
Have the sxp parsing cope when the cpus field is a list, which can
happen
after a reboot.

From Daniele Palumbo [EMAIL PROTECTED].

Signed-off-by: Ewan Mellor [EMAIL PROTECTED]

diff -r 32f7d3200a99 -r 82c306ad212e tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py   Thu Jan 25 10:29:33 2007
+
+++ b/tools/python/xen/xend/XendConfig.py   Thu Jan 25 10:34:17 2007
+
@@ -572,7 +572,7 @@ class XendConfig(dict):
 # 0-3,^1   - [0,2,3]
 # 0-3,^1,1 - [0,1,2,3]
 try:
-if 'cpus' in cfg:
+if 'cpus' in cfg and type(cfg['cpus']) != list:
 cpus = []
 for c in cfg['cpus'].split(','):
 if c.find('-') != -1:



___ 
Try the all-new Yahoo! Mail. The New Version is radically easier to use – The 
Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]