mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@user.it.uu.se>
To: davidsen@tmr.com, linux-kernel@vger.kernel.org
Subject: Re: Module loading on demand
Date: Sat, 22 Feb 2003 16:45:48 +0100 (MET)	[thread overview]
Message-ID: <200302221545.h1MFjmkW006417@harpo.it.uu.se> (raw)

On Sat, 22 Feb 2003 08:43:29 -0500 (EST), Bill Davidsen wrote:
>I note that with "new modules" modules no longer seem to load as needed 
>but must be loaded by hand or explicitly in modprobe.conf.

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
 

(RedHat users should also comment out or remove the /sbin/update line in
/etc/inittab, but that's unrelated to the use of modules.)
===snip===

/Mikael

             reply	other threads:[~2003-02-22 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-22 15:45 Mikael Pettersson [this message]
2003-02-22 17:41 ` Alan Cox
2003-02-22 16:57   ` Magnus Danielson
  -- strict thread matches above, loose matches on Subject: below --
2003-02-22 13:43 Bill Davidsen
2003-02-22 16:48 ` Bart De Schuymer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200302221545.h1MFjmkW006417@harpo.it.uu.se \
    --to=mikpe@user.it.uu.se \
    --cc=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®