Re: 2.6.16-rc4: known regressions
From: Joel Becker
Date: Wed Feb 22 2006 - 10:49:54 EST
On Wed, Feb 22, 2006 at 06:21:58AM -0500, Theodore Ts'o wrote:
> with all of the kernel modules I need compiled into the kernel. I
> still have no idea why mptscsi fails to detect SCSI disks when loaded
> as a module via initrd on various bits of IBM hardware (including the
> e326 and ls-20 blade), but works fine when compiled directly into the
> kernel....
Ted,
Do you mean that you are using a distro (eg, RHEL4 or something)
with a mainline kernel? We've seen something similar, and what we've
determined is happening is that insmod is returning before the module is
done initializing. It's not that mptscsi fails to detect the disks.
Rather, it's still in the detection process when the boot process tries
to mount /. So there's no / yet, and the thing hangs. In the case we
see, it's some interaction between the RHEL4/SLES9 version of
module-init-tools and the latest version of the kernel. Our first
attempt at fixing it was to change the linuxrc to sleep between each
insmod. This works, but only if the modules load and initialize
themsleves fast enough. Get a FC card in there, and it just doesn't
work. So we've taken to compiling the modules in-kernel.
Joel
--
"Three o'clock is always too late or too early for anything you
want to do."
- Jean-Paul Sartre
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
-
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/