public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* md: bug in file drivers/md/md.c, line 1513
@ 2005-03-22 16:44 Paul Slootman
  2005-03-23 22:27 ` Neil Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Slootman @ 2005-03-22 16:44 UTC (permalink / raw)
  To: linux-kernel

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 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 :-)


Paul Slootman


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: md: bug in file drivers/md/md.c, line 1513
  2005-03-22 16:44 md: bug in file drivers/md/md.c, line 1513 Paul Slootman
@ 2005-03-23 22:27 ` Neil Brown
  2005-03-24  9:07   ` Paul Slootman
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2005-03-23 22:27 UTC (permalink / raw)
  To: Paul Slootman; +Cc: linux-kernel

On Tuesday March 22, paul+nospam@wurtel.net 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: md: bug in file drivers/md/md.c, line 1513
  2005-03-23 22:27 ` Neil Brown
@ 2005-03-24  9:07   ` Paul Slootman
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Slootman @ 2005-03-24  9:07 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-kernel

On Thu 24 Mar 2005, Neil Brown wrote:
> On Tuesday March 22, paul+nospam@wurtel.net 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

It took a bit of trial and error (I find the mdadm docs a bit
confusing...) but I came up with this:

mdadm --assemble --super-minor=10 --config=partitions /dev/md10


> > 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.

Keep up the good work :-)


Paul Slootman

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-24  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 16:44 md: bug in file drivers/md/md.c, line 1513 Paul Slootman
2005-03-23 22:27 ` Neil Brown
2005-03-24  9:07   ` Paul Slootman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox