public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Boyd Stephen Smith Jr." <bss03@volumehost.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Add a module post kernel config/build
Date: Wed, 18 Apr 2007 05:33:01 -0500	[thread overview]
Message-ID: <200704180533.06847.bss03@volumehost.net> (raw)
In-Reply-To: <873b2y59i7.fsf@newsguy.com>

[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]

On Wednesday 18 April 2007, reader@newsguy.com wrote about '[gentoo-user]  
Add a module post kernel config/build':
> Summary:
> How can I add an additional module once I've configured/built a kernel?
>
> Details: After looking thru the handbook, especially section about
> kernel config, I don't see information about how to add a module once
> a kernel is built and running.

For in-tree modules, go into the kernel source directory, use menuconfig or 
whatever to set that configuration setting to 'm', make, make 
modules-install.  (Or, at least, that's my preferred method modulo typos.)

Changing kernel settings doesn't always require a new kernel image; here's 
a table (please view in a fixed width font.

Old New Result
N   M   Rebuild modules
N   Y   Rebuild image
M   N   No rebuild needed
M   Y   Rebuild image [1]
Y   N   Rebuild image
Y   M   Rebuild image

If the image needs rebuilding, you'll also need to rebuild all modules.  
You'll also want to re-install anything you had to rebuild.

[1]: Remove the module from /lib/modules to make sure you don't try and 
load it twice.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-04-18 10:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18  9:15 [gentoo-user] Add a module post kernel config/build reader
2007-04-18 10:33 ` Boyd Stephen Smith Jr. [this message]
2007-04-19  0:44   ` [gentoo-user] " reader
2007-04-18 10:37 ` Alexander Skwar
2007-04-18 12:50   ` Neil Bothwick
2007-04-18 13:35     ` [gentoo-user] FUSE (was: Add a module post kernel config/build) Alexander Skwar
2007-04-18 15:00       ` Neil Bothwick
2007-04-19  0:40         ` [gentoo-user] " reader
2007-04-19  4:42           ` Nistor Andrei
2007-04-19  6:58           ` Alexander Skwar
2007-04-19 10:45             ` reader
2007-04-19 13:15               ` Neil Bothwick
2007-04-18 10:47 ` [gentoo-user] Add a module post kernel config/build Mike Williams
2007-04-18 11:10 ` Etaoin Shrdlu

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=200704180533.06847.bss03@volumehost.net \
    --to=bss03@volumehost.net \
    --cc=gentoo-user@lists.gentoo.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