On 5/26/07, Matthew Wilcox <[EMAIL PROTECTED]> wrote:
On Sat, May 26, 2007 at 01:11:27PM -0600, Grant Grundler wrote:
> Thibaut Varene's parisc box didn't find the root disk.
> Problem is he had ASYNC_SCAN enabled and the required SYM2 driver builtin
> but the root disk wasn't discovered before the kernel wanted to mount root.
> Oh, and he (like many folks who build their own kernels) didn't use
> an initrd or initramfs. So no chance to load scsi_wait_scan module.

I don't know what Thibaut's problem was, but this explanation is
definitely incorrect.  If you build in the sym2 driver and the scsi
core, then we wait for the discs to be discovered automatically.

My problem was that:
- I use a standalone kernel (no init{rd,ramfs})
- I have CONFIG_MODULES=y
- I build all my (needed) scsi drivers 'y' (builtin)

Yet CONFIG_SCSI_WAIT_SCAN defaults to 'm' with no possibility of
setting it otherwise. So I ended up with a kernel with builtin async
scsi scan and no wait_scan, thus not waiting for the probes to
complete before trying to mount rootfs...

Editing KConfig to allow setting CONFIG_SCSI_WAIT_SCAN=y "fixed" the problem.

HTH

T-Bone

--
Thibaut VARENE
http://www.parisc-linux.org/~varenet/
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to