Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] how to compile a kernel module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
zbrox
n00b
n00b


Joined: 26 Jan 2004
Posts: 56
Location: bulgaria

PostPosted: Wed Jan 28, 2004 10:57 am    Post subject: [SOLVED] how to compile a kernel module Reply with quote

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
View user's profile Send private message
Scotty49
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 86

PostPosted: Wed Jan 28, 2004 11:12 am    Post subject: Reply with quote

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
View user's profile Send private message
zbrox
n00b
n00b


Joined: 26 Jan 2004
Posts: 56
Location: bulgaria

PostPosted: Wed Jan 28, 2004 1:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Scotty49
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 86

PostPosted: Wed Jan 28, 2004 2:36 pm    Post subject: Reply with quote

It's /etc/modules.autoload
just enter the name of the module there.

Greetings,
Scotty
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum