[YLUG] Kernel build troubles

Stephen Patterson steve at patter.me.uk
Sat May 29 17:01:48 UTC 2010




Hi, I'm trying to build a new kernel & have hit a snag with
debian's  make-kpkg. It seems to build the kernel OK (or at least without
terminal  errors) and fails when attempting to package the kernel

Building kernel 2.6.18 with xen domU patches, for Athlon CPU on a 
generic 32 bit i686

$ make-kpkg --rootcmd=fakeroot
kernel_image

any ideas ?

--
  INSTALL
net/xfrm/xfrm_user.ko
  INSTALL sound/soundcore.ko
if [ -r
System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8 -r 2.6.18.8;
fi make[2]: Leaving directory `/home/steve/linux-2.6.18-xen.hg'
test
! -e scripts/package/builddeb || mv -f scripts/package/builddeb
scripts/package/builddeb.kpkg-dist test ! -e scripts/package/Makefile ||
test -f scripts/package/Makefile.kpkg-dist || (mv -f
scripts/package/Makefile scripts/package/Makefile.kpkg-dist &&
(echo "# Dummy file "; echo "help:") > 
scripts/package/Makefile) test ! -f Documentation/lguest/lguest ||			    
\
	    install -p    -o root -g root  -m  644
Documentation/lguest/lguest
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/lguest
test ! -f
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/lguest
||		   \
	    chmod 755
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/lguest
test ! -e
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/source
||			  \
	   mv
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/source
./debian/source-link
test ! -e
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/build
||			  \
	   mv
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/build
./debian/build-link
test ! -e ./debian/source-link ||					       \
	   mv ./debian/source-link
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/source
test ! -e  ./debian/build-link ||					       \
	   mv 
./debian/build-link
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8/lib/modules/2.6.18.8/build
/sbin/depmod -q -FSystem.map -b
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8 2.6.18.8;
FATAL: Could not open 'System.map': No such file or directory
make[1]: [debian/stamp/install/linux-image-2.6.18.8] Error 1 (ignored)
test ! -f System.map ||	 cp System.map			       \
			/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8//boot/System.map-2.6.18.8;
test ! -f System.map ||	 chmod 644			       \
			/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8//boot/System.map-2.6.18.8;
cp arch/i386/boot/bzImage
/home/steve/linux-2.6.18-xen.hg/debian/linux-image-2.6.18.8//boot/vmlinuz-2.6.18.8
cp: cannot stat `arch/i386/boot/bzImage': No such file or directory
make[1]: *** [debian/stamp/install/linux-image-2.6.18.8] Error 1
make[1]: Leaving directory `/home/steve/linux-2.6.18-xen.hg'
make:
*** [kernel_image] Error 2


-- 
Stephen Patterson 
steve at patter.me.uk :: http://patter.me.uk/
http://uk.linkedin.com/pub/stephen-patterson/1b/533/544
GPG:
B416F0DE :: Jabber: patter at jabber.org



-- 
Stephen Patterson 
steve at patter.me.uk :: http://patter.me.uk/
http://uk.linkedin.com/pub/stephen-patterson/1b/533/544
GPG:
B416F0DE :: Jabber: patter at jabber.org




More information about the York mailing list