Re: Raid 1/upgrade to 2.2.16

From: Paul Clements (Paul.Clements@SteelEye.com)
Date: Tue Aug 29 2000 - 17:26:55 EDT

  • Next message: Philipp Rumpf: "Re: [PATCH] af_rose.c: s/suser/capable/ + micro cleanups"

    David Lang wrote:
    >
    > One thing is that Redhat patches their kernels so the stock kernels
    > willnot work with the tools that redhat ships.
    >
    > another problem appears to be the fact that your new kernel is attempting
    > to load the modules created for the old kernel.
    >

    Yes. You need to run mkinitrd in order to create a ram disk with the new
    2.2.16
    modules that you just made. There's a man page for mkinitrd that should
    help...

    Paul

    ----
     
    > I can't tell you the redhat way of doing a kernel upgrade (things like
    > this are one of the resons I don't use redhat) but if you are useing the
    > stock kernel you will need to first apply the raid-0.9x patches (I don't
    > have the location handy, it is in the recent archive if they are available
    > somewhere) and for the modules issue, when you compile a new kernel you
    > will need to do a 'make modules' and 'make modules_install' unless you
    > configure the kernel include everything you need for your server and not
    > use modules.
    > 
    > David Lang
    > 
    >  On Tue, 29 Aug 2000, Kevin Jones wrote:
    > 
    > > Date: Tue, 29 Aug 2000 15:09:01 -0600
    > > From: Kevin Jones <kevin.jones@shaw.ca>
    > > To: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
    > >      "'linux-scsi@vger.kernel.org'" <linux-scsi@vger.kernel.org>,
    > >      "'linux-raid@vger.kernel.org'" <linux-raid@vger.kernel.org>
    > > Subject: Raid 1/upgrade to 2.2.16
    > >
    > > Installed Redhat 6.2. Set up 6 md's as Raid 1 during installation going
    > > across two 9 gig scsi drives.  Installation went perfectly. Decided to
    > > upgrade to 2.2.16. Went through the regular steps to installing a kernel.
    > > Included the Raid 1 support, SCSI support, and initrd support in xconfig.
    > > Made the 2.2.16 kernel as "newlinux" in lilo. Copied initrd-2.2.14-5.0.img
    > > to init-2.2.16.0.img for the ramdisk. Relinked System.map to the System.map
    > > made by the make dep.  Relinked Linux in /usr/src to the new kernel area.
    > >
    > > Now, all that being said, when I boot up the newlinux in lilo, I get this:
    > >
    > > <cut>
    > > Loading ncr53c8xx module
    > > /lib/ncr53c8xx.o: kernel-module version mismatch
    > >          /lib/ncr53c8xx.o was compiled for kernel version 2.2.14-5.0
    > >          while this kernel version is 2.2.16.
    > >
    > > Loading raid1 module
    > > /lib/raid1.o: kernel-module version mismatch
    > >          /lib/raid1.o was compiled for kernel version 2.2.14-5.0
    > >          while this kernel version is 2.2.16.
    > >
    > > Opps! Unable to load md0
    > > KERNEL PANIC: Unable to load root filesystem at 09:00
    > > <end cut>
    > >
    > > I have tried a few things to "attempt" and patch the raid and scsi drivers,
    > > but nothing seems to work.  Have a missed a step somewhere or are there new
    > > drivers/patches I should be looking for?  I have tried installing
    > > raidtools-19990824-0.90, but to no avail.
    > >
    > > The Software-Raid-HOWTO does explain somethings, however it is based upon
    > > making the raid from scratch once you are logged into the system on regular
    > > sdaX or hdaX partitions. Do I have to set raid up in this manner in order to
    > > get this working?
    > >
    > > Sorry for posting this to 3 different mailing lists, but this seems to
    > > relate to all three.
    > >
    > >                     \\|//
    > >                     (o^o)
    > > +-+-+-+-+-+-+-+-oOOo-(_)-oOOo-+-+-+-+-+--+-+
    > >                  Kevin C Jones
    > >   System Administrator - NOC (Engineering)
    > >  Shaw Cablesystems G.P.  kevin.jones@shaw.ca
    > >   Voice:(403)303-4812    Fax:(403)750-4504
    > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    > > -
    > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > > the body of a message to majordomo@vger.kernel.org
    > > Please read the FAQ at http://www.tux.org/lkml/
    > >
    > -
    > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
    > the body of a message to majordomo@vger.kernel.org
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/
    



    This archive was generated by hypermail 2b29 : Tue Aug 29 2000 - 17:32:40 EDT