[YLUG] Kernel build troubles

Chia-Hung Lin javadeveloper99 at yahoo.co.uk
Sun May 30 11:37:51 UTC 2010


I haven't used xen with make-kpkg before. But from the message it looks like bzImage is not there due to `No such file or directory' message. In addition, I found a message - http://lists.xensource.com/archives/html/xen-merge/2006-01/msg00101.html, saying that seemingly it is because make-kpkg is not tool that xen is aware of. 

--- On Sat, 29/5/10, Stephen Patterson <steve at patter.me.uk> wrote:

> From: Stephen Patterson <steve at patter.me.uk>
> Subject: [YLUG] Kernel build troubles
> To: "York Linux Users Group" <york at mailman.lug.org.uk>
> Date: Saturday, 29 May, 2010, 17:07
> 
> 
> 
> 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
> 
> 
> _______________________________________________
> York mailing list
> York at lists.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/york
> 


      



More information about the York mailing list