Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 10-23-2005, 02:29 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 10

Rep: Reputation: 0
Question kernel: modules enabled?

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?
Old 10-23-2005, 03:47 AM   #2
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
go back into menuconfig and see if you unchecked module support. recheck it, and go threw the steps again.
Old 10-23-2005, 10:24 PM   #3
LQ Newbie
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
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?

Old 10-23-2005, 11:48 PM   #4
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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).
Old 11-05-2005, 09:48 PM   #5
LQ Newbie
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
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)?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot find map file. No module symbols loaded - kernel modules not enabled. jjorloff1 Linux - Software 3 01-06-2005 12:02 PM
kernel: No module symbols loaded - kernel modules not enabled. Qucho Debian 9 05-26-2004 03:50 AM
2.6.5 Problems:No module symbols loaded - kernel modules not enabled robbow52 Debian 11 05-11-2004 05:02 AM
of course I have loadable modules enabled! jmynkbht Linux - Software 0 04-26-2004 04:52 AM
kernel 2.6.0 debian "No module symbols loaded - kernel modules not enabled." toovato Linux - General 2 01-07-2004 08:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration