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

Re: initrd-tools and booting root on lvm with new kernel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 6 Oct 2005 17:44:02 +0200
Maximilian Attems <maks@sternwelten.at> wrote:

> On Thu, Oct 06, 2005 at 09:29:06AM -0500, Manoj Srivastava wrote:
> <snip>
[snip snip]
> > mkinitramfs fails if the kernel
> > version is not at least 2.6.12, so it can't be used unilaterally. 

yaird should work with 2.6.8 and newer.

Added info to wiki page.


> >         I guess we could add a version specific check into the
> >  postinst to default to using yaird or mkinitramfs , if installed,
> > in preference to mkinitrd, though I am usually hesitant to add in
> >  version dependencies into kernel-package in general, I could be
> >  persuaded that an exception is justified in this case.

Alternatively kernel-package could fallback to other (installed) tools
if the default one fails, instead of hardcoding version numbers. Still
the priority of tools looked for and attempted would make sense to
adapt to the kernel version, but would then be less intrusivese.

mkinitrd could then have hardcoded that 2.6.13 and newer Will Fail(tm).

yaird by design is quite knowledgable at build time about the chances of
an image being broken (because it probes hardware at build time, where
mkinitramfs probes at runtime) and will fail if something is wrong.

Don't know avbout mkinitramfs but at least situations like "needs 2.6.12
or newer" could be hardcoded if it would otherwise silently build a
broken image.


> there are archs which should prefer mkinitrd at current state of
> affairs.
> 
> also it would be _very_ cool to do the switch after a major upload.
> just the switch to the newer tools and nothing else.
> ubuntu has been bitten by this transition.
> the user won't recognise that the oops is not the kernel fault.
> the best plan would be to do it after an 2.6.13-1 upload:
> an 2.6.13-2 with only this change.

If I understand you correctly then that only helps users frewuently
bringing their system up-to-date, and not someone doing a dist-upgrade
a year from now...


 - Jonas

- - -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDRWjbn7DbMsAkQLgRAkuKAJwOYHigfRRVdnI+YDaTLPBpFfms8ACdEc94
c84diJrVbWKFN7xP6G/+f/M=
=iPMY
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDRWvxn7DbMsAkQLgRAgYBAJ9YQtg4yKAf4IGKB542zd8hN1b40ACgk7uc
EmvNve1dBp2GfVLXZ7zccpY=
=IV0V
-----END PGP SIGNATURE-----



Reply to: