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

compiling a kernel from kernel.org



hello,

in the new last days I've been trying to compile a recent kernel from kernel.org

I fetched a kernel from http://www.kernel.org/

mainline:	2.6.32-rc5	2009-10-16	[Full Source]
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.32-rc5.tar.bz2

unpacked it using tar xjvf linux-2.6.32-rc5.tar.bz2 -C /usr/src
linked : ln -s /usr/src/linux-2.6.32-rc5.tar.bz2 /usr/src/linux

cp /boot/config-`uname -r` /usr/src/linux/.config
make oldconfig

then I started building the packages with

make-kpkg buildpackage --revision 20091016 --initrd

it started compiling it and it ended after a loinger time with :


make[1]: Leaving directory `/usr/src/linux-2.6.32-rc5'
dpkg-genchanges -b -mUnknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>
../linux-source-2.6.32-rc5_20091016_amd64.changes
dpkg-genchanges: warning: package linux-image-2.6.32-rc5 in control file but not in files list dpkg-genchanges: warning: package linux-image-2.6.32-rc5-dbg in control file but not in files list dpkg-genchanges: warning: package linux-uml-2.6.32-rc5 in control file but not in files list dpkg-genchanges: warning: package linux-xen0-2.6.32-rc5 in control file but not in files list
dpkg-genchanges: binary-only upload - not including any source code
 signfile linux-source-2.6.32-rc5_20091016_amd64.changes
gpg: skipped "Unknown Kernel Package Maintainer": secret key not available
gpg: [stdin]: clearsign failed: secret key not available

dpkg-buildpackage: binary only upload (no source included)
dpkg-buildpackage: warning: Failed to sign .changes file
make: *** [debian/stamp/build/buildpackage] Error 1

following packages have been created in /usr/src:

linux-doc-2.6.32-rc5_20091016_all.deb
linux-headers-2.6.32-rc5_20091016_amd64.deb
linux-headers-2.6.32-rc5_2.6.32-rc5-10.00.Custom_amd64.deb
linux-manual-2.6.32-rc5_20091016_all.deb
linux-source-2.6.32-rc5_20091016_all.deb
linux-source-2.6.32-rc5_20091016_amd64.changes
linux-xenu-2.6.32-rc5_20091016_amd64.deb
linux-xenu-2.6.32-rc5_2.6.32-rc5-10.00.Custom_amd64.deb


ok, so far - it looked good even thouigh that "xenu" part annoyed me somehow.

when I treid to install linux-xenu-2.6.32-rc5_20091016_amd64.deb

I got:

pegasos:/usr/src# dpkg -i linux-xenu-2.6.32-rc5_20091016_amd64.deb
Selecting previously deselected package linux-xenu-2.6.32-rc5.
(Reading database ... 215220 files and directories currently installed.)
Unpacking linux-xenu-2.6.32-rc5 (from linux-xenu-2.6.32-rc5_20091016_amd64.deb) ...
Done.
Setting up linux-xenu-2.6.32-rc5 (20091016) ...
Internal Error: Could not find image (/boot/vmlinuz-2.6.32-rc5)
dpkg: error processing linux-xenu-2.6.32-rc5 (--install):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-xenu-2.6.32-rc5


Obviously something is badly wrong then.
I am using Debian Unstable with kernel 2.6.31 (Linux pegasos 2.6.31-trunk-amd64 #1 SMP Mon Oct 12 23:36:11 UTC 2009 x86_64 GNU/Linux) and Grub2

anyone has an idea whats wrong here? Or am I doing it completely wrong?

Thx for reading at least...

Gregor Galwas



Reply to: