Gentoo Archives: gentoo-user

From: Masood Ahmed <coolmasood@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: modules built post kernel install (on the fly)
Date: Sat, 04 Mar 2006 15:51:19
Message-Id: 20060304154007.GA10658@mainframe
In Reply to: [gentoo-user] Re: modules built post kernel install (on the fly) by Peter
1 Peter wrote:
2 > On Sat, 04 Mar 2006 09:15:04 -0600, Harry Putnam wrote:
3 >
4 > > Is this possible:
5 > >
6 > > Compile a module by itself (not during kernel compile) and insert that
7 > > module into a running kernel.
8 > >
9 >
10 > Yes.
11 >
12 > cd /usr/src/linux
13 > make menuconfig or make xconfig
14 > choose the module option you wish to enable
15 > Select whether to build into the kernel or as a module.
16 > exit and save
17 > make
18 > make modules_install
19 >
20 > You should not have to copy bzImage unless you built your new modules into
21 > the kernel.
22 >
23 > Then edit your /etc/autoload directory to include the module you want to
24 > modprobe into the system.
25 >
26
27 This sounds simpler than what i had thought. I suggest giving this a
28 try. My earlier suggestion to read the Makefiles has been taken back
29 now.. :)
30
31 --
32 Linux Kernel : 2.6.15-gentoo-r7
33 GCC version : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
34 Processor : AMD Athlon XP 2600+
35 RAM : 1 GB DDR 333 SDRAM
36 CFLAGS USED : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
37 -fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
38 -fno-crossjumping -falign-functions=16 -falign-loops=16
39 -falign-jumps=16 -fno-align-labels -mfpmath=387,sse
40 -maccumulate-outgoing-args
41 CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden