linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@cse.unsw.edu.au>
To: cwebster@ec.rr.com
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Software RAID Stopped Working With Aurora Kernel
Date: Mon, 20 May 2002 21:26:35 +1000 (EST)	[thread overview]
Message-ID: <15592.56683.75251.569129@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from Calvin Webster on Sunday May 19

On Sunday May 19, cwebster@ec.rr.com wrote:
> Looking for help from list members in resolving software RAID problems.

Here is the help:

1/  You seem to have two copies of raid5.o which seems to be confusing
    modprobe.  
    I don't know why, but in one instance it tried to load
      /lib/raid5.o
    and gets :unresolved symbol md_unregister_thread_R4ba824f9

    The other time it correctly loads
      /lib/modules/2.4.18-0.92sparc/kernel/drivers/md/raid5.o

    I suggest removing /lib/raid5.c

2/ 2.4 raid is *not* upwards compatable with patched 2.2 raid on Sparc64
   or any architecture that requires a 64bit integer to be 64bit
   aligned  instead of just 32bit aligned.  
   I'm sorry, but this was a bug in the raid patches and it is not
   practical to reliably detect raid devices that were built
   badly because of this bug.  The bug results in the on-disc
   superblock being laid out wrongly.

   You will need to remake the array for 2.4.
   If you remake the array correctly, you will not lose any
   data.

   Alternately, if you are feeling adventurous, you could download
   and compile mdadm 1.0.1 from
     http://www.cse.unsw.edu.au/~neilb/source/mdadm/

   For each device that should be part of the array (e.g. /dev/sda1)
   run
      mdadm --examine /dev/sda1
   This should show you some sensible information up to the Checksum,
   and then bad information after that.
   Then run
      mdadm --examine --sparc2.2  /dev/sda1
   This should show you the same sensible information, and then
   sensible information after the Checksum as well.
   If it does, then run
      mdadm --examine --sparc2.2update /dev/sda1
   and this should show the same sensible information, and then update
   the superblock on the device to have this information too.
   After this,
      mdadm --examine --sparc2.2 /dev/sda1
   should show the correct information.

   If this works, you can then run the same command on the order
   devices, and then assemble the array with
      mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 ...
   or whatever your actual device names are.

   Note: I have not tested this code, but it looks OK.
   If you try it and something goes wrong, then give me as much
   information as you can and I will do my best to make sure you get
   your data back.

   Note2: --sparc2.2 and --sparc2.2update are not yet documented,
    except in this mail item.
    If you confirm that they work, I will add some documentation.

NeilBrown

  reply	other threads:[~2002-05-20 11:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-19 23:38 Software RAID Stopped Working With Aurora Kernel Calvin Webster
2002-05-20 11:26 ` Neil Brown [this message]
2002-05-20 19:25   ` Cal Webster
2002-05-20 21:09     ` Neil Brown
2002-05-20 21:33       ` Calvin D. Webster
2002-05-21 11:24   ` Calvin D. Webster
2002-05-21 12:10     ` Neil Brown
2002-05-21 17:30       ` Cal Webster
2002-05-21 20:46         ` Neil Brown
2002-05-21 22:12           ` Calvin D. Webster
2002-05-21 23:51             ` Neil Brown
2002-05-22 12:00               ` Calvin D. Webster
2002-05-27  4:59                 ` Neil Brown
2002-05-29 13:07                   ` Calvin Webster
2002-05-29 23:16                     ` Neil Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15592.56683.75251.569129@notabene.cse.unsw.edu.au \
    --to=neilb@cse.unsw.edu.au \
    --cc=cwebster@ec.rr.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).