LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Recompiled and Installed Kernel 2.6.14.2 - No Modules Loading? (https://www.linuxquestions.org/questions/linux-general-1/recompiled-and-installed-kernel-2-6-14-2-no-modules-loading-384884/)

binarybob0001 11-20-2005 10:11 PM

The modules are loaded most of the time from the file /etc/modules.conf. If the file were overwritten one way or another, modules.conf will simply report an error. Somehow the USB modules cannot be found in the new kernels module directory. Chances are this is not an actual problem. You will have to figure out how to edit those modules out because that is beyond my ability. I'm relitively new to linux myself. To answer your question though when I recompiled my kernel I had one module running and that's it. I have had no other problems either. Those 50 random modules you are talking about are probably left over from their distributions installation. The distribution has to be general so they cannot afford to lack support. Hence, lots of modules. When you customize linux with your own kernel, you clean house. Don't worry, unless you need that USB device (you'll find out later), get rid of it for now.

timkarwoski 11-20-2005 11:50 PM

Allright then I guess thats all there is to it. Thanks a bunch for your help, now I gotta go off to tackle 5 other problems :P. At least now I can listen to music while I do it.

mr_demilord 11-21-2005 06:17 AM

Quote:

Originally posted by timkarwoski
Aren't at least some of these things supposed to be installed by default? Whenever I look at other people who do lsmod and post it here I see that they have some 50 random modules running, and I have a hard time believing that they installed all of those by hand. I know I had a bunch of modules by default the first time I compiled 2.6.14, although the second time I compiled it I had none. Like for example USB, I know that error that I get during boot I know I didn't have before. I know I checked a lot of checkboxes in the makeconfig menu for different things including usb, so im just wondering where all these things went the second time around. :confused:
Update the "module_init_tools".
That could solve the problem.
http://ftp.kernel.org/pub/linux/kern...rusty/modules/
Make sure the System.map<kernel_version> in the /boot directory where the kernel is.

timkarwoski 11-21-2005 09:05 AM

How exactly would I go about doing that? I downloaded the newest module-init-tools from that link (3.2.1) and unzipped it, and than ran ./configure and make, although make caused an error. I don't know if that is the way I'm supposed to install it so I'm just guessing, I would have done make install after make but I didn't want to cause of this error. ./configure seems to work fine, but towards the end of make I get:

Code:

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.1\"  -I. -I.    -g -O2 -Wunused -Wall -c `test -f 'modinfo.c' || echo './'`modinfo.c
gcc  -g -O2 -Wunused -Wall  -o modinfo  modinfo.o zlibsupport.o
gcc  -g -O2 -Wunused -Wall  -o insmod.static -static insmod.o
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [insmod.static] Error 1
[root@192 module-init-tools-3.2.1]#

Also does it matter if I unzip the tools into a specific directory?


All times are GMT -5. The time now is 02:44 PM.