* Re: SCSI discover order strangeness [Bug 8412] New: CONFIG_MOUSE_PS2 makes RAID detection fail
[not found] <200705010918.l419IC8B016596@fire-2.osdl.org>
@ 2007-05-01 9:46 ` Neil Brown
2007-05-02 3:31 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2007-05-01 9:46 UTC (permalink / raw)
To: bugme-daemon; +Cc: Greg KH, linux-kernel
[Please reply-to-all rather than replying through bugzilla so that
people on cc list get to see replies...
I hope bugzilla can pick the Bug number out of the middle of the
subject line....]
On Tuesday May 1, bugme-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=8412
>
> Summary: CONFIG_MOUSE_PS2 makes RAID detection fail
Based on subsequent comments, I think you got that backwards - absense
of CONFIG_MOUSE_PS2 makes RAID detection fail, but no matter..
> Kernel Version: 2.6.21
> Status: NEW
> Severity: low
> Owner: io_md@kernel-bugs.osdl.org
> Submitter: shutdown@brend.org
>
> Problem Description: If a kernel without CONFIG_MOUSE_PS2 enabled is used, the
> kernel won't detect my RAID1 array, but the hard drives it consits of are
> properly detected and the partition type reads "FD - Linux Raid Autodetect" as well.
> No /dev/md0 is created while booting the kernel.
> I built 2.6.21 with the same .config except for CONFIG_MOUSE_PS2 twice for
> testing purposes and discovered this weird thing.
> I'm going to attach the .config (without CONFIG_MOUSE_PS2), the dmesg of this
> kernel as well as the CONFIG_MOUSE_PS2-enabled kernels dmesg.
In the failure case, the SCSI drives (sdb, sdc) on which your raid
resides are not getting detected until after md initialisation has
decided that there is nothing to assemble.
My first thought was that the new threaded device discovery was
allowing md init to happen before scsi discovery was complete. Maybe
the presence of CONFIG_MOUSE_PS2 makes some bit go faster...
However
# CONFIG_SCSI_SCAN_ASYNC is not set
so maybe not...
Greg (or anyone else reading): you know about this threaded
discovery.. could it allow some discovery to complete after userspace
has started, and does CONFIG_SCSI_SCAN_ASYNC affect it?
I think you best bet is to not depend on raid-auto-detect but to run
mdadm to assemble your arrays instead. As your root isn't on md/raid,
that should be trivial to arrange.
NeilBrown
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SCSI discover order strangeness [Bug 8412] New: CONFIG_MOUSE_PS2 makes RAID detection fail
2007-05-01 9:46 ` SCSI discover order strangeness [Bug 8412] New: CONFIG_MOUSE_PS2 makes RAID detection fail Neil Brown
@ 2007-05-02 3:31 ` Greg KH
2007-05-07 4:22 ` Neil Brown
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2007-05-02 3:31 UTC (permalink / raw)
To: Neil Brown; +Cc: bugme-daemon, linux-kernel
On Tue, May 01, 2007 at 07:46:36PM +1000, Neil Brown wrote:
>
> My first thought was that the new threaded device discovery was
> allowing md init to happen before scsi discovery was complete. Maybe
> the presence of CONFIG_MOUSE_PS2 makes some bit go faster...
>
> However
> # CONFIG_SCSI_SCAN_ASYNC is not set
>
> so maybe not...
>
> Greg (or anyone else reading): you know about this threaded
> discovery.. could it allow some discovery to complete after userspace
> has started, and does CONFIG_SCSI_SCAN_ASYNC affect it?
This kind of threaded discovery is different from the bus-level threaded
probing that I originally proposed a while back, and then later
retracted due to bugs.
So this is just a scsi thing, I know nothing about it.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SCSI discover order strangeness [Bug 8412] New: CONFIG_MOUSE_PS2 makes RAID detection fail
2007-05-02 3:31 ` Greg KH
@ 2007-05-07 4:22 ` Neil Brown
0 siblings, 0 replies; 3+ messages in thread
From: Neil Brown @ 2007-05-07 4:22 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
On Tuesday May 1, greg@kroah.com wrote:
> On Tue, May 01, 2007 at 07:46:36PM +1000, Neil Brown wrote:
> >
> > My first thought was that the new threaded device discovery was
> > allowing md init to happen before scsi discovery was complete. Maybe
> > the presence of CONFIG_MOUSE_PS2 makes some bit go faster...
> >
> > However
> > # CONFIG_SCSI_SCAN_ASYNC is not set
> >
> > so maybe not...
> >
> > Greg (or anyone else reading): you know about this threaded
> > discovery.. could it allow some discovery to complete after userspace
> > has started, and does CONFIG_SCSI_SCAN_ASYNC affect it?
>
> This kind of threaded discovery is different from the bus-level threaded
> probing that I originally proposed a while back, and then later
> retracted due to bugs.
>
> So this is just a scsi thing, I know nothing about it.
>
OK, thanks. It turns out they are USB drives, so maybe it is a USB
problem, or maybe their expectations are wrong.
It also turns out that the email->bugzilla gateway completely failed
for me in trying to deal with this bug. Ho hum.
NeilBrown
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-07 4:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200705010918.l419IC8B016596@fire-2.osdl.org>
2007-05-01 9:46 ` SCSI discover order strangeness [Bug 8412] New: CONFIG_MOUSE_PS2 makes RAID detection fail Neil Brown
2007-05-02 3:31 ` Greg KH
2007-05-07 4:22 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox