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

Re: Applying the kernel-patch-2.2.10-raid 2.2.10-3 to 2.2.15




From: Mike Bilow <mikebw@colossus.bilow.com>


> We have a potato system running on 2.2.14.  It was not easy to do.
>
> First, the RAID v0.90 patches on kernel.org are very old and unstable, and
> they should not be used.  The real place to get patches against the newer
> kernels if from Ingo Molnar -- http://people.redhat.com/mingo/ -- and this
> is what we are using in connection with 2.2.14.  Ingo's patch against
> 2.2.14 is labeled "beta 1," while his patch against 2.2.15 is labeled
> "alpha 0."  I guess you take your choice between them.

When do I use the patches?  At install time, I use the boot-floppies from
the archive, which persumably dont have the patch applied.  Or do I boot
with my custom-image?

> Second, you will need a recent Lilo.  RAID v0.90 support was added to Lilo
> as of 21.4.0, so the one currently in potato (21.4.2) should work.  You
> will also need to configure /etc/lilo.conf manually.

Doable.

> Third, the boot floppies do not have the RAID tools, such as mkraid, so
> you need to have these on a separate mountable floppy so you can create
> the RAID set in the first place.  You may also have to explicitly create
> /dev/md? devices in your root ramdisk with mknod.

Doable.

> Fourth, the Debian installation programs do not understand anything about
> /dev/md0 as an installable target, so you pretty much have to drop out to
> the shell and run everything manually up to the point where you can mount
> /dev/md0 onto /target, and after that it is a fairly normal installation.
> Understand that this means you are on your own for fdisk, mkraid, mkfs,
> and so on.

Again, this is a little painful, but not a problem.

> Fifth, you probably want to apply the patch I recommend in critical bug
> 61227, since kernel panic and filesystem corruption can result otherwise.

OK, but I wont be swapping to the RAID.

> Can this be done?  Definitely -- we did it.  However, this is not a
> project for anyone unless they are up for a challenge.

Challanges are fine, but only if success stories exist.

As I understand it, I boot normally from the netinstcd, switch to VT2,
partition, mkraid, mount, and proceed with install.  I make some changes to
lilo.conf, making device=/dev/md0

Now what?  When I reboot, will the kernel (2.2.14) boot from md0 ?


Thanks,



Reply to: