Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i was trying to compile some source code, and a message appeared indicating that "kernel modules were not enabled" and that modules should be enabled and the kernel recompiled. how can i check whether modules are enabled or not for the kernel? i tried "lsmod" and can see modules that have been loaded. i was also able to do an "insmod" before, so how come i got an error indicating that modules were not enabled?
where is menuconfig? i'm using kde 3.x and a standard linux distro.
is there an option to enable or disable module support without recompiling the kernel?
is there a command line way to find out if modules are enabled, and if they are not enabled, to enable them?
your kernel source is typically found in /usr/src/linux. If it isn't there it should be somewhere else in the /usr/src directory (maybe linux-<version>). You have to have the source to build modules.. what is likely the problem is your source isn't configured so it thinks you have no module support. If you have no kernel source you are going to need to get the kernel source package from your distribution.
cd /usr/src/linux (or whatever directory you need to be in) and type make menuconfig. I don't remember exactly where the option is in 2.4 kernels, but in 2.6 kernels it is under the third option on the main menu (Loadable Module Support).
thx.
I did check in menuconfig, and loadable module support was builtin. I assume that this means that I should not have received the error that I had.
I was able to get past that build error, though another error came up that seems to be unrelated to the first error. It looks like this driver that I was building may not have been developed very well, or maybe it was developed for a different kernel configuration.
1) is there a command line command that will tell me if modules are enabled?
2) where is there more documentation on "menuconfig" and its various options (are these unique to a particular kernel version)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.