From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Bas Mevissen <ml@basmevissen.nl>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Shut up about the damn modules already...
Date: Fri, 13 Feb 2004 19:38:14 +0000 [thread overview]
Message-ID: <20040213193814.A8188@flint.arm.linux.org.uk> (raw)
In-Reply-To: <402D0083.7010606@basmevissen.nl>; from ml@basmevissen.nl on Fri, Feb 13, 2004 at 05:51:15PM +0100
On Fri, Feb 13, 2004 at 05:51:15PM +0100, Bas Mevissen wrote:
> I'm wondering why it is that the kernel is asking for non-existing
> modules so often. Is it that userspace applications try to access all
> kinds of devices too often (autoprobing) or it this (wanted) kernel
> behaviour?
Userspace probes the kernel to see if IPv6 is available by trying to
create an IPv6 socket.
The correct solution is to fix /etc/modprobe.conf such that it doesn't
try to load the module when you don't have it configured:
install net-pf-10 /bin/true
Note that if you alias net-pf-10 to ipv6 before this install line, you
need to replace net-pf-10 with ipv6 in the install line.
PS, I notice Arjan's RPM packages don't seem to contain the modprobe.conf
manual page... maybe this is what's causing some of the confusion?
PPS, It might also help to either mention in the man page that the
above corresponds to the original "alias modulename off" _or_ add
"install off /bin/true" into modprobe.conf.dist such that the old
alias line works as expected.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
next prev parent reply other threads:[~2004-02-13 19:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-12 3:13 [PATCH] Shut up about the damn modules already Rusty Russell
2004-02-12 15:13 ` Rik van Riel
2004-02-12 17:30 ` [PATCH] Documentation on how to debug modules Alex Goddard
2004-02-13 16:51 ` [PATCH] Shut up about the damn modules already Bas Mevissen
2004-02-13 18:55 ` Chris Wright
2004-02-13 19:38 ` Russell King [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-02-13 17:38 Samium Gromoff
2004-02-13 19:41 ` Russell King
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=20040213193814.A8188@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ml@basmevissen.nl \
--cc=rusty@rustcorp.com.au \
--cc=torvalds@osdl.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