Skip to contentSkip to conversation

BUILD BREAK (was Re: Switch the default build to make the -xen kernel, not the -xen0 and -xenU)

DISCUSSION Sean Dague 1 participant 2 messages Mar 24, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Sean Dague

author
#1 lore raw
Quoted 23 lines · Xen patchbot -unstable

Diffstat output:

 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

# HG changeset patch
# User [email protected]
# Node ID af0573e9e5258db0a9d28aa954dd302ddd2c2d23
# Parent 74e33cc868cff29b68c7d629dc5ee7472221df51
Switch the default build to make the -xen kernel, not the -xen0 and -xenU kernels. Distros will be using -xen exclusively, so this change means that developers and users of unstable will be (by default) using the same configuration as the distros.

This can be overridden by setting KERNELS="linux-2.6-xen0 linux-2.6-xenU" on the command line.

diff -r 74e33cc868cf -r af0573e9e525 Makefile

Makefile line 6

Quoted 6 lines
Makefile +1 -1
@@ -2,7 +2,7 @@
 # Grand Unified Makefile for Xen.
 #
 
-KERNELS ?= linux-2.6-xen0 linux-2.6-xenU
+KERNELS ?= linux-2.6-xen
 # You may use wildcards in the above e.g. KERNELS=*2.6*

While I applaud the change, the linux-2.6-xen kernel doesn't actually compile. :)

The relevant build breakage is here.

INSTALL sound/usb/snd-usb-audio.ko
INSTALL sound/usb/snd-usb-lib.ko
INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /home/sdague/xen-unstable/dist/install -r 2.6.16-xen; fi
WARNING:
/home/sdague/xen-unstable/dist/install/lib/modules/2.6.16-xen/kernel/drivers/net/b44.ko needs unknown symbol dma_get_cache_alignment
make[3]: *** [_modinst_post] Error 1
make[3]: Leaving directory `/home/sdague/xen-unstable/linux-2.6.16-xen' make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/sdague/xen-unstable'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/home/sdague/xen-unstable'
make: *** [install-kernels] Error 1

-Sean

Signature · 3 lines
Sean Dague
IBM Linux Technology Center                     email: [email protected]
Open Hypervisor Team                           alt: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw
Quoted 36 lines · Sean Dague
Quoted 23 lines · Xen patchbot -unstable

Diffstat output:

 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

# HG changeset patch
# User [email protected]
# Node ID af0573e9e5258db0a9d28aa954dd302ddd2c2d23
# Parent 74e33cc868cff29b68c7d629dc5ee7472221df51
Switch the default build to make the -xen kernel, not the -xen0 and -xenU kernels. Distros will be using -xen exclusively, so this change means that developers and users of unstable will be (by default) using the same configuration as the distros.

This can be overridden by setting KERNELS="linux-2.6-xen0 linux-2.6-xenU" on the command line.

diff -r 74e33cc868cf -r af0573e9e525 Makefile

Makefile line 6

Quoted 6 lines
Makefile +1 -1
@@ -2,7 +2,7 @@
 # Grand Unified Makefile for Xen.
 #
 
-KERNELS ?= linux-2.6-xen0 linux-2.6-xenU
+KERNELS ?= linux-2.6-xen
 # You may use wildcards in the above e.g. KERNELS=*2.6*

While I applaud the change, the linux-2.6-xen kernel doesn't actually compile. :)

The relevant build breakage is here.

Quoted 15 lines

INSTALL sound/usb/snd-usb-audio.ko
INSTALL sound/usb/snd-usb-lib.ko
INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /home/sdague/xen-unstable/dist/install -r 2.6.16-xen; fi
WARNING:
/home/sdague/xen-unstable/dist/install/lib/modules/2.6.16-xen/kernel/drivers/net/b44.ko needs unknown symbol dma_get_cache_alignment
make[3]: *** [_modinst_post] Error 1
make[3]: Leaving directory `/home/sdague/xen-unstable/linux-2.6.16-xen' make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/sdague/xen-unstable'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/home/sdague/xen-unstable'
make: *** [install-kernels] Error 1

Sorry, it's a friday. To clarify this is:

gcc-4.0.1 (GCC) 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0) Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

On x86_64

-Sean

Signature · 3 lines
Sean Dague
IBM Linux Technology Center                     email: [email protected]
Open Hypervisor Team                           alt: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel