kernel build/install problems (modules directory)
Dextro
ulist at gs1.ubuntuforums.org
Fri Mar 11 16:54:55 UTC 2005
Robert Staudinger Wrote:
> Hello,
>
> i'm trying to build the linux-source-2.6.10 kernel package on my
> machine
> (ppc G3/600) using the following command:
> -----
> $ fakeroot make-kpkg --append-to-version=rst --revision=1 kernel_image
> --initrd
> -----
>
> The deb builds smoothly but install fails with the message:
> -----
> mostpress:/usr/src# dpkg -i kernel-image-2.6.10rst_1_powerpc.deb
> Selecting previously deselected package kernel-image-2.6.10rst.
> (Reading database ... 131864 files and directories currently
> installed.)
> Unpacking kernel-image-2.6.10rst (from
> kernel-image-2.6.10rst_1_powerpc.deb) ...
> Setting up kernel-image-2.6.10rst (1) ...
> /usr/sbin/mkinitrd: /lib/modules/2.6.10rst: Not a directory
> /usr/sbin/mkinitrd: MODULES needs to be set to none?
> Failed to create initrd image.
> dpkg: error processing kernel-image-2.6.10rst (--install):
> subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
> kernel-image-2.6.10rst
> mostpress:/usr/src#
> -----
>
> The problem seem to be that the modules are installed into
> /lib/modules/2.6.10rstn (note the trailing 'n')
>
> The trailing n also shows up in my version.h
> -----
> mostpress:/usr/src# cat linux-source-2.6.10/include/linux/version.h
> #define UTS_RELEASE "2.6.10rstn"
> #define LINUX_VERSION_CODE 132618
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
> mostpress:/usr/src#
> -----
>
> I'd be very happy for any hints.
> Thanks,
> Rob
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Same problem here.
I followed the howto on the wiki:
http://www.ubuntulinux.org/wiki/KernelHowto
Apparantly there's something not ok with the howto.
Maybe someone has a solution?
--
Dextro
More information about the ubuntu-users
mailing list