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

Re: 2.6.14-rc5 uploaded to experimental available at http://people.debian.org/~luther/2.6.14-rc5



On Sun, Oct 30, 2005 at 12:35:55AM -0500, Patrick Finnegan wrote:
> Sven Luther declared on Tuesday 25 October 2005 06:03 am:
> > Hello,
> >
> > I just uploaded 2.6.14-rc5 packages to experimental, which are a test
> > run before 2.6.14 gets released and the corresponding packages go to
> > unstable. Since they are NEW i have made them available under :
> >
> >   http://people.debian.org/~luther/2.6.14-rc5
> >
> > And apt-gettable at :
> >
> >   deb http://http://people.debian.org/~luther/2.6.14-rc5/ ./
> >   deb-src http://http://people.debian.org/~luther/2.6.14-rc5/ ./
> >
> > Those are only powerpc packages now, but i send this mail in hopes
> > that :
> >
> >   1) powerpc users use them and test them out, with either yaird or
> >   initramfs-tools (but beware #335264 which will be fixed in -9).
> 
> When I try to install, I get this as a result:
> ----------------------------------------------------------------------
> root@quasar:~# apt-get install linux-image-2.6.14-rc5-powerpc
> Reading package lists... Done
> Building dependency tree... Done
> Suggested packages:
>   linux-doc-2.6.14 linux-source-2.6.14
> The following NEW packages will be installed:
>   linux-image-2.6.14-rc5-powerpc
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/15.7MB of archives.
> After unpacking 47.5MB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
>   linux-image-2.6.14-rc5-powerpc
> Install these packages without verification [y/N]? y
> Selecting previously deselected package linux-image-2.6.14-rc5-powerpc.
> (Reading database ... 15120 files and directories currently installed.)
> Unpacking linux-image-2.6.14-rc5-powerpc (from 
> .../linux-image-2.6.14-rc5-powerpc_2.6.13+2.6.14-rc5-0experimental.1_powerpc.deb) ...
> 
> You are attempting to install an initrd kernel image (version
> 2.6.14-rc5-powerpc) while running a kernel of version 2.4.27-powerpc, but

Why in hell are you running a 2.4.27 kernel ? This was not the default sarge
kernel and i expicitly mentioned it should not be used, having been mostly
abandoned upstream over two years ago.

Anyway, ...

> you have no suitable ramdisk generation tool installed among
> /usr/sbin/mkinitrd /usr/sbin/mkinitrd.yaird /usr/sbin/mkinitramfs.  This will 
> break the installation, unless a
> suitable ramdisk generation tool is also being installed right
> now.

Exact, yaird cannot build initrd's running on a 2.4.27 kernel, since it need
/sys, which is only present in 2.6 kernels.

So, you have two ways, either use initramfs-tools instead of yaird (altough
mostly untested on powerpc, may work though), or do an intermediary upgrade to
the sarge 2.6.8 kernels or the etch 2.6.12 ones, reboot and then install, not
the 2.6.14-rc5 kernels, but the 2.6.14-1 currently in sid.

> Could not find . at /var/lib/dpkg/tmp.ci/preinst line 228.
> Setting up linux-image-2.6.14-rc5-powerpc (2.6.13+2.6.14-rc5-0experimental.1) ...
> Failed to find suitable ramdisk generation tool for kernel version 
> 2.6.14-rc5-powerpc on running kernel 2.4.27-powerpc in /usr/sbin/mkinitrd 
> /usr/sbin/mkinitrd.yaird /usr/sbin/mkinitramfs
> dpkg: error processing linux-image-2.6.14-rc5-powerpc (--configure):
>  subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
>  linux-image-2.6.14-rc5-powerpc
> E: Sub-process /usr/bin/dpkg returned an error code (1)

As expected, i am happy it works as planed, but maybe i should put more
informative error message in it or something.

> ----------------------------------------------------------------------
> 
> I've got yaird installed:
> -rwxr-xr-x  1 root root 28426 Aug 15 10:51 /usr/sbin/mkinitrd
> -rwxr-xr-x  1 root root  1940 Sep 11 23:30 /usr/sbin/mkinitrd.yaird
> 
> Anything obvious I'm doing wrong?  Contents of my /etc/apt/sources.list:
> 
> deb http://ftp.uwsg.indiana.edu/linux/debian testing main non-free contrib
> deb-src http://ftp.uwsg.indiana.edu/linux/debian testing main non-free contrib
> 
> deb http://people.debian.org/~luther/2.6.14-rc5/ ./

Yeah, probably need to erase that one now that 2.6.14-1 is in sid :)

Friendly,

Sven Luther



Reply to: