LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-20-2005, 10:11 PM   #16
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30

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.
 
Old 11-20-2005, 11:50 PM   #17
timkarwoski
LQ Newbie
 
Registered: Nov 2005
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 11-21-2005, 06:17 AM   #18
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
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.
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.

Last edited by mr_demilord; 11-21-2005 at 06:20 AM.
 
Old 11-21-2005, 09:05 AM   #19
timkarwoski
LQ Newbie
 
Registered: Nov 2005
Posts: 23

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

Last edited by timkarwoski; 11-21-2005 at 09:06 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading Kernel Modules superdude_876 Linux - Software 1 10-28-2005 11:46 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
recompiled kernel -> modules errors maciek Linux - Software 2 01-09-2004 01:34 PM
Modules not loading in New kernel palanisaravanan Linux - General 1 11-22-2003 06:31 AM
Recompiled my kernel, don't know if modules are there... TheOneAndOnlySM Linux - Newbie 3 08-11-2003 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:20 PM.

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