Re: 2.5.70: Lilo needs patching?

Andrew Morton (akpm@digeo.com)
Thu, 12 Jun 2003 15:43:33 -0700


Unai Garro Arrazola <Unai.Garro@ee.ed.ac.uk> wrote:
>
> Since version 2.5.69 (now with 2.5.70-mm6), I'm having trouble using lilo.
> Every time I try to change the lilo boot, the boot menu is either not
> changed, or it's corrupted. It looks like if Lilo doesn't manage to
> completely write the boot sector.
>
> I've been looking around, but I haven't found any information about this. Has
> anything changed in the latest versions? Are there any patches that I need to
> apply to lilo to make it work now?
>

It's a bug. Seems that the ramdisk driver has somehow managed to
compromise the livelock avoidance logic in the sync() system call.

For now you can

a) stop using the ramdisk driver (don't mount it) or

b) manually run `blockdev --flushbufs /dev/hdXX' against the boot
partition before rebooting.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/