Problem when trying to compile ubuntu-kernel from source (via apt-
Thomas Stather
thomas.stather at sit.fraunhofer.de
Mon Mar 1 09:13:20 UTC 2010
Hello everybody
I have a strange problem when i tried to compile my own XEN Dom0/DomU
Kernel from source (i used the apt-src kernel sources).
I followed this manual:
https://help.ubuntu.com/community/Kernel/Compile
I created a new flavour called "xen" (see
http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/)
and patched the kernel-source with the xen-patches (2.6.31-11).After
that, i ran:
debian/rules updateconfigs
and i enabled the new XEN config-attributes only for my flavour
For compilation, i ran
DEB_BUILD_OPTIONS=parallel=2 AUTOBUILD=1 skipmodule=1 skipabi=1
debian/rules binary-debs
And here is the first of my 2 problems. When i omitted the skipmodule
flag, i got some warnings about missing modules, what exactly does this
mean (are the modules in the kernel config but not in the kernel source
anymore????)?
Then i set the flag, and the compilation went through fine (about 20
minutes) but i got the following error:
WW: Explicitly asked to ignore failures (probably not good)
II: New modules (you've been busy, wipe the poop off your nose)
II: Done
dh_testdir
dh_testroot
dh_clean -k -plinux-image-2.6.31-19-xen
dh_clean -k -plinux-headers-2.6.31-19-xen
dh_clean -k -plinux-image-debug-2.6.31-19-xen
# The main image
# compress_file logic required because not all architectures
# generate a zImage automatically out of the box
install -m644 -D
/root/linux-2.6.31/debian/build/build-xen/arch/x86_64/boot/bzImage \
/root/linux-2.6.31/debian/linux-image-2.6.31-19-xen/boot/vmlinuz-2.6.31-19-xen
install: cannot stat
`/root/linux-2.6.31/debian/build/build-xen/arch/x86_64/boot/bzImage': No
such file or directory
make: *** [install-xen] Error 1
I have some knowledge about debian/ubuntu package building, but as i
discovered, the kernel rules-file is a bit complicated and i don't know
where the error could be. What i know is that
/root/linux-2.6.31/debian/linux-image-2.6.31-19-xen/boot/vmlinuz-2.6.31-19-xen
doesn't exist
Can you please help me, because i really need this Xen Dom0/U Kernel for
Ubuntu Karmic (x86_64).
Greets Thomas
--
Thomas Stather, Fraunhofer SIT
Abteilung PSS
Zimmer 64
Rheinstrasse 75, 64295 Darmstadt, Germany
Tel: +49 (0) 6151 86960058
http://www.sit.fraunhofer.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thomas_stather.vcf
Type: text/x-vcard
Size: 222 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20100301/d4ed59b6/attachment.vcf>
More information about the kernel-team
mailing list