Messages in this thread | | | Subject | Re: Module loading on demand | From | Alan Cox <> | Date | 22 Feb 2003 17:41:15 +0000 |
| |
On Sat, 2003-02-22 at 15:45, Mikael Pettersson wrote: > If this is the RedHat system you mentioned in your post on sym53c8xx > loading oddity, then you need apply the fix below which I posted to > LKML on Jan 19th. > > ===snip=== > If you're running a RedHat system, you'll also need the following > patch to /etc/rc.d/rc.sysinit. Without it the kernel's modprobe and > hotplug functionalities will be disabled by rc.sysinit. > > --- /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
The other nasty is that if you install Rusty's rpms for the better module tools, and then install a Red Hat kernel errata your errata kernel will not boot because the Rusty tools replace insmod.static with a tool which only works standalone on 2.5. Its not a big deal since most people who build 2.5 kernels build their own 2.4 ones too, and you can fix the initrd by hand, but it is one to know about.
- 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/
| |