1819920 Members
2230 Online
109607 Solutions
New Discussion юеВ

Re: Loadable Modules

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Loadable Modules

A while back Huc replied:"lsmod not returning anything ? do you have loadable modules support to yes in your kernel config file ?CONFIG_MODULES=Y"*******************************************My QuestionWhere is my kernel config file, so I can check to see if CONFIG_MODULES=Y is there?
UNIX IS GOOD
3 REPLIES 3
Mark Grant
Honored Contributor
Solution

Re: Loadable Modules

depends on you distro but it is normally /usr/src/linux. Here you would do a grep on the .config file as in

grep CONFIG_MODULES .config
Never preceed any demonstration with anything more predictive than "watch this"
Huc_1
Honored Contributor

Re: Loadable Modules

Glad to see I am read !

on my system last config of last compile is in
/usr/src/linux-2.4/configs/

and a

grep "CONFIG_MODULES" /usr/src/linux-2.4/configs/kernel-2.4.20-athlon.config

gives

CONFIG_MODULES=y

if this is not to yes then you will need to compile a new kernel

J-P
Smile I will feel the difference
Martin P.J. Zinser
Honored Contributor

Re: Loadable Modules

If you do not have build your own custom kernel the probability of a kernal without support for
loadable modules is actually very low.

To actually check what is configured in your kernel as a module try

grep =m .config