All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roe Peterson <roe@liveglobalbid.com>
To: linux-kernel@vger.kernel.org
Subject: 2.5.27 raid1 bug...
Date: Mon, 22 Jul 2002 12:23:35 -0600	[thread overview]
Message-ID: <3D3C4DA7.5DC4550C@liveglobalbid.com> (raw)


Okay, I've isolated a problem with raid1/md under 2.5.27...

Scenario:

    /dev/hda2 and /dev/hdb2 are unused partitions.

/etc/raidtab:
raiddev  /dev/md0
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
 device /dev/hda2
 raid-disk 0
 device /dev/hdb2
 raid-disk 1

mkraid /dev/md0

Fails with a kernel panic.  A bit of searching finds that this chunk of
code (md.c, about line 850):
     rdev = list_entry(&mddev->disks.next, mdk_rdev_t, same_set);
     sb = rdev->sb;

     memset(sb, 0, sizeof(*sb));

Is failing.  sb is == 1 !!

Anyone got any ideas?






             reply	other threads:[~2002-07-22 18:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-22 18:23 Roe Peterson [this message]
2002-07-22 21:22 ` 2.5.27 raid1 bug 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=3D3C4DA7.5DC4550C@liveglobalbid.com \
    --to=roe@liveglobalbid.com \
    --cc=linux-kernel@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.