All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas -Balu- Walter <tw@itreff.de>
To: Thomas -Balu- Walter <tw@itreff.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: Woody, initrd, raid1, boot
Date: Tue, 18 Jun 2002 19:19:09 +0200	[thread overview]
Message-ID: <20020618191909.D16630@itreff.de> (raw)
In-Reply-To: <20020618112549.C14962@itreff.de>; from tw@itreff.de on Tue, Jun 18, 2002 at 11:25:49AM +0200

+ Thomas -Balu- Walter <tw@itreff.de> [18.06.02 11:25]:
[root=/dev/md1 not working]

Update - I am getting closer :)


One reason why it did not work here was that I had to create
the initrd in chroot (the mounted md-devices the original system got
copied to), this was it got /dev/md*, raidmodules and
other things needed to get raid running into the initrd.

I did not even have to change the partition type to autodetect, since
raidstart and such are available and get started in the created initrd.

(master = first ide controller, secondary = second IDE controller, no
master/slave hdd)

But now I am stuck and booting while simulating a broken secondary IDE
controller.

If I take off the master cable (powered off of course) I can boot into
the raid - and get the following messages:

md: could not lock [dev 03:03] sero-size? Marking faulty
md: could not import [dev 03:03], trying to mount raid nevertheless
md: autorun
...
former device [dev 03:03] is unavailable, removing from array
...

So it just ignores hda and boots into the remaining mirrored hdc.

But after rebuilding the raidset and removing the cable to the secondary
controller i get:

ide0 on 0x1f0-0x1f7, 0x 3f6 on IRQ14
md: could not lock [dev 16:03] sero-size? Marking faulty
md: could not import [dev 16:03]
md: autostart [dev 16:03] failed
/dev/md1: invalid argument
...
Kernel panic, because of missing root.

To fix I've tried to make the partitions raid-autodetect, created a new
initrd (because the old one still had "failed-disk" in it) and finally
added "
        disk=/dev/hda
        bios=0x80
        disk=/dev/hdc
        bios=0x80
" to lilo.conf.

with no luck - Why does it not "try to mount raid nevertheless" this
way?

     Balu

      reply	other threads:[~2002-06-18 17:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 15:15 Woody, initrd, raid1, boot Thomas -Balu- Walter
2002-06-17 18:50 ` Jakob Oestergaard
2002-06-17 19:35   ` Scott Bisker
2002-06-18  9:25   ` Thomas -Balu- Walter
2002-06-18 17:19     ` Thomas -Balu- Walter [this message]

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=20020618191909.D16630@itreff.de \
    --to=tw@itreff.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.