Re: md: bug in file drivers/md/md.c, line 1513

From: Neil Brown
Date: Wed Mar 23 2005 - 17:29:12 EST


On Tuesday March 22, paul+nospam@xxxxxxxxxx wrote:
> This is on kernel 2.6.11, mdadm 1.4.0
>
> The system has MD devices that are auto-configured on boot.
>
> However, there are also devices connected via another SCSI adapter
> (actually, a Qlogic QLA2300). I'm using a module for that. As the
> auto-configure only runs at boot (or rather, when the md subsystem is
> started). I wanted to restart a raid-0 device that I had previously
> created. I did:
>
> mdadm --run /dev/md10

As you admit, this is wrong. You want something like
mdadm --assemble /dev/md10 /dev/.....(list of component devices)

or describe the md10 array (e.g. via UUID) in /etc/mdadm.conf

>
> as a simple attempt to see what would happen. What happened was the
> error message in the subject, and a "COMPLETE RAID STATE PRINTOUT"...
> In that output there is a line "md10:", the next line is
> "md1: <sde1><sdd1><sdc1><sdb1><sda1>".
>
>
> Admittedly the usage may be wrong, but having the kernel say "bug" can't
> be right :-)
>

Yes, there are quite a few of those silly bug messages. I've removed
a few, but have not yet gone through and checked and removed all the
bad ones.
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/