mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: overwriting module params given on kernel command line?
Date: Sun, 22 Jan 2012 13:24:20 +0400	[thread overview]
Message-ID: <4F1BD5C4.9000006@msgid.tls.msk.ru> (raw)

Hello.

I noticed that recent kernels does not allow overwriting
module parameters given on kernel command line anymore.

One particular example of this is ipv6.disable.  I usually
boot kernel with ipv6.disable=1, because all these systems
does not have ipv6 connectivity anyway and v6 isn't needed.
But I remember that in earlier versions it was possible to
specify this parameter in modprobe line:

 rmmod ipv6; modprobe ipv6 disable=0

and v6 were enabled after this reload (rmmod is possible
while it is disabled).  It works in, at least, 2.6.32
kernels.

But now, in 3.0, the modprobe command line parameter appears
to be ignored and the one specified on _kernel_ command
line takes precedence.

To me, it does not look right, I'd expect modprobe command
line to be "stronger" than kernel command line.

So, am I right that kernel command line has more "weight"
here, and if yes, why?

Thanks,

/mjt

                 reply	other threads:[~2012-01-22  9:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4F1BD5C4.9000006@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --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®