LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-19-2003, 03:13 AM   #1
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Rep: Reputation: 15
Where have all the modules gone?


Im assuming that when you recompile a kernel all the modules for that kernel are put into /lib/modules/<kernel version> ?

All the NetFilter (iptables) stuff are modules (and other stuff too), but everytime i run my firewall script i get modprobe errors, even though i run the script as root? Ive also had problems with sound modules (emu10k1) being loaded as well. Its like all the modules i compiled with kernel just dont exist or something :S

Im using SuSE 8.1 and the commands I used to compile my kernel where:

make mrproper / clean <-- i tried both for fun
make xconfig
make dep
make modules
make modules_install
make bzImage
make install

Theres probably only a simple solution to all of this

Id appreciate any help, cheers
 
Old 03-19-2003, 03:26 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Which kernel is running when you reboot? 'uname -a' and if it doesn't say 2.4.20 then something's not right.

The stock kernel Makefile places the kernel in / and SuSE boots the kernel from /boot. For simplicity I just change the Makefile (uncomment the line '#export INSTALL_PATH=/boot')
 
Old 03-19-2003, 03:42 AM   #3
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
The kernel that comes with SuSE 8.1 is 2.4.19-4GB, but when i compiled it i get a plain 2.4.19 with uname-a. The dir /lib/modules/2.4.19-4GB/ has lots of different modules in, so this is why im assuming that the standard stock kernel stores its modules in this directory. Its just that the directory /lib/modules/2.4.19 (which is where im assuming the modules for my kernel are stored) is pretty much empty compared to /lib/modules/2.4.19-4GB, coupled with the fact that im getting a couple of modprobe errors saying basically that it cant find certain modules. This is why im a little worried :S
 
Old 03-19-2003, 03:58 AM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Ooookay. My bad - I just assumed you got yerself one of them fancy new kernels.

You need to make sure you have selected the netfilter stuff in the networking options section in the xconfig. Actually you'll probably need to run through the entire dialog to make sure you're selecting all the fun things you need make linux go. Depending on your kernel you may need to select 'Prompt for development and/or incomplete code/drivers' from the Code maturity level options.
 
Old 03-22-2003, 01:50 PM   #5
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
Ok, i think i may have made the mess up on this one

Ive just finished compiling my kernel, but this time in a slightly different order. This time i did:

make oldconfig <-- to reload my kernel configuration
make dep
make bzImage
make modules
make modules_install

and everything worked fine. My 2.4.19 directory is now populated with all the modules and stuff. This whole thing was probably an error on my behalf, but it all still seems a mystery. It'd be helpful (just for curiosity purposes) if anyone would be kind enough to shed some light on this ?

thanx
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:19 AM.

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