View previous topic :: View next topic |
Author |
Message |
zbrox n00b
Joined: 26 Jan 2004 Posts: 56 Location: bulgaria
|
Posted: Wed Jan 28, 2004 10:57 am Post subject: [SOLVED] how to compile a kernel module |
|
|
i have a running up-to-date gentoo system. but i just found out that i needed the ext3 kernel module, but i have removed it from the config file i used during the compilation of the kernel. so i was wondering how can i compile this module and how to insert it on runtime(ins mod and stuff).
all help would be highly appreciate it! thank you in advance! _________________ Fitter Happier
Last edited by zbrox on Mon Feb 09, 2004 9:26 pm; edited 1 time in total |
|
Back to top |
|
|
Scotty49 Tux's lil' helper
Joined: 14 May 2003 Posts: 86
|
Posted: Wed Jan 28, 2004 11:12 am Post subject: |
|
|
Hello!
Just do the following:
Code: | cd /usr/src/linux
make menuconfig
|
Navigate to the file systems menu and select <M> for etx3. Exit menuconfig saving your configuration and then enter
Code: | make modules modules_install
|
and that's it. The module will be compiled and afterwards can be inserted using insmod.
Greetings, Scotty |
|
Back to top |
|
|
zbrox n00b
Joined: 26 Jan 2004 Posts: 56 Location: bulgaria
|
Posted: Wed Jan 28, 2004 1:09 pm Post subject: |
|
|
yup, thanx i did it..everything's fine. but i don't want to insert the module on every boot manually. and i'm not quite sure which file should i edit so it would be done on boot time! modules.conf, modprobe.conf etc..any idea? _________________ Fitter Happier |
|
Back to top |
|
|
Scotty49 Tux's lil' helper
Joined: 14 May 2003 Posts: 86
|
Posted: Wed Jan 28, 2004 2:36 pm Post subject: |
|
|
It's /etc/modules.autoload
just enter the name of the module there.
Greetings,
Scotty |
|
Back to top |
|
|
|