Re: Still more Redhat Module Troubles

From: mikpe (mikpe@csd.uu.se)
Date: Sat May 24 2003 - 05:17:45 EST


On 24 May 2003 00:02:30 -0400, John Shillinglaw wrote:
>Anyway I get not found messages when redhat modprobes char-major-10-1,
>eth1, etc. when it boots up. This seems to be related to aliases since
>eth1 is aliased to sis900 and char-major-10-1 to psaux. All help greatly
>appreciated... exact details and .config file below:
...
>I also tried to run the generate modprobe.conf script with no changes to
>the behavior.

Did you install the generated modprobe.conf in /etc? If not, do so.

rc.sysinit has a known problem that causes it to disable module
autoloading in 2.5 kernels. Fixed by the patch below.

mkinitrd generally doesn't work with 2.5 modules, or once the new
module-init-tools have been installed. I don't know how to fix
that; maybe an LKML archive search will find something.

--- /etc/rc.d/rc.sysinit~ 2003-02-24 22:54:17.000000000 +0100
+++ /etc/rc.d/rc.sysinit 2003-05-01 17:07:09.000000000 +0200
@@ -357,7 +357,7 @@
IN_INITLOG=
fi

-if ! LC_ALL=C grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
+if ! LC_ALL=C grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then
USEMODULES=y
fi

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