Re: some 2.5.66 issues

From: mikpe@csd.uu.se
Date: Fri Mar 28 2003 - 17:50:01 EST


On 29 Mar 2003 00:24:14 +0100, Ronald Bultje wrote:
>people are asking for comments on 2.5.x, so here goes. gcc-2.96, RH-7.3,
>kernel 2.5.66 with module-init-tools-0.9.10.
...
>* module_request() is still broken - it returns 0 but the specified
>module isn't loaded

To summarise: RH user-space, 2.5 kernel, modules don't autoload.

This is a well-known user-space (*) bug. Fix below.

(*) Well, unless "dropping /proc/ksyms for no good reason" counts
as a 2.5 kernel bug.

--- /etc/rc.d/rc.sysinit.~1~ 2002-08-22 23:10:52.000000000 +0200
+++ /etc/rc.d/rc.sysinit 2003-01-14 03:04:57.000000000 +0100
@@ -334,7 +334,7 @@
     IN_INITLOG=
 fi
 
-if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
+if ! 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:33 EST