Package: kernel-package
Version: 10.045
Severity: normal
Hi,
with xen-3.0 now in unstable I tried building a xen kernel with
make-kpkg again and found some problems:
1) make-kpkg --subarch xen ...
exec debian/rules DEBIAN_REVISION=2.6.16-xen-1 APPEND_TO_VERSION=-xen-1
KPKG_SUBARCH=xen ROOT_CMD=fakeroot kernel-image
...
Makefile:525:
/home/mrvn/xen-3.0/xen-3.0-3.0.2+hg9651/linux-2.6.16-xen/arch/xen/Makefile: No
such file or directory
make[1]: *** No rule to make target
`/home/mrvn/xen-3.0/xen-3.0-3.0.2+hg9651/linux-2.6.16-xen/arch/xen/Makefile'.
Stop.
Specifying a subarch of xen seems to set the architecture to xen as
well for some reason.
2) make-kpkg --arch amd64 --subarch xen ...
...
cp arch/x86_64/boot/bzImage
/home/mrvn/xen-3.0/xen-3.0-3.0.2+hg9651/linux-2.6.16-xen/debian/linux-xen0-2.6.16-xen-xen-1//boot/vmlinuz-2.6.16-xen-xen-1
cp: cannot stat `arch/x86_64/boot/bzImage': No such file or directory
make: *** [install/linux-xen0-2.6.16-xen-xen-1] Error 1
The reason for this is a failure to detect xen. The .config option
differs on amd64:
/usr/share/kernel-package/ruleset/arches/amd64.mk:
- ifeq ($(strip $(CONFIG_X86_XEN)),)
+ ifeq ($(strip $(CONFIG_X86_64_XEN)),)
Fixing that I get a deb with:
$ file boot/*
boot/System.map-xen0-2.6.16-xen-xen-1: ASCII text
boot/config-xen0-2.6.16-xen-xen-1: ASCII English text
boot/xen0-linux-2.6.16-xen-xen-1: ELF 64-bit LSB executable, AMD x86-64,
version 1 (SYSV), statically linked, not stripped
I haven't booted it yet but it looks promising.
MfG
Goswin
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.16-rc4-xen
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages kernel-package depends on:
ii dpkg 1.10.28 Package maintenance system for Deb
ii dpkg-dev 1.10.28 Package building tools for Debian
ii gcc [c-compiler] 4:3.3.5-3 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.5-13 The GNU C compiler
ii gcc-3.4 [c-compiler] 3.4.3-13 The GNU C compiler
ii make 3.80-9 The GNU version of the "make" util
ii perl 5.8.4-8sarge3 Larry Wall's Practical Extraction
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]