Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-22-2006, 11:49 AM
|
#1
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Rep:
|
lsmod shows only two modules
Hi,
I've made some sort of bone headed change to my 10.2 system this morning. I'm using the precompiled 2.6n kernel from disk 2. I was making some changes to the network modules in rc.module to comment out ndiswrapper and load 8139too. The goal was to just use the hard wire for a bit while upgrading to current.
Unfortunately, now when I boot, *none* of my modules are loading. lsmod shows just ext3 for the hard drive.
I'm guessing I've broken a link somewhere and I don't know what to "relink".
Any advice?
Kind regards,
desertViking
|
|
|
04-22-2006, 11:55 AM
|
#2
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Some questions that come to mind,
Did you install the "kernel-modules" package alongside the kernel-generic" package? Did you break the rc.modules script by editing it? Did you disable hotplug by accident?
Eric
|
|
|
04-22-2006, 12:04 PM
|
#3
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Original Poster
Rep:
|
Quote:
Did you install the "kernel-modules" package alongside the kernel-generic" package? Did you break the rc.modules script by editing it? Did you disable hotplug by accident?
|
I suspect the answer is yes to question 2. When I run hotplug even by hand it seems to have no effect.
for example also says it can't find the module.
What could I have done to the rc.modules file?
Thx for the consideration.
|
|
|
04-22-2006, 12:06 PM
|
#4
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Another question: did you run "lilo" after installing that new kernel?
Eric
|
|
|
04-22-2006, 12:10 PM
|
#5
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Original Poster
Rep:
|
Hi Eric,
I've been using the 2.6.13 kernel for awhile without any difficulty. This is just something that started this morning when I modified the rc files.
I confess to being a grub user, not lilo. Sorry ;->
|
|
|
04-22-2006, 12:24 PM
|
#6
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Original Poster
Rep:
|
I went to a backup of the rc.modules file I saved, but this also doesn't seem to work. I'm sure I've been hamfisted, but it's not obvious to me as I look at this.
I also rebooted to the 2.4 image just fine.
|
|
|
04-22-2006, 12:28 PM
|
#7
|
Member
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249
Rep:
|
Check that the 'rc.modules' is good. Sometimes when module packages are installed 'rc.modules' is simply a 'symlink' to the 'real file' which might be something like 'rc.modules-2.6.xx'. The link might be broken.
|
|
|
04-22-2006, 12:34 PM
|
#8
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Original Poster
Rep:
|
Good suggestion. It is a symlink to 2.6.13. The file and link appears to be ok. The file exists and the same data is is displayed if I cat the link or the actual file.
|
|
|
04-23-2006, 01:36 AM
|
#9
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Look if you have /lib/modules/kernel-version.
|
|
|
04-23-2006, 09:55 AM
|
#10
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Original Poster
Rep:
|
Greetings,
Yes, there's a link to the source from there. I'm going to try to re-install the source and modules from the 10.2 disk 2. Maybe that will repair my mistake.
|
|
|
04-24-2006, 09:44 AM
|
#11
|
Member
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85
Original Poster
Rep:
|
Hi, Just a note to close this discussion.
I went back to the 10.2 disk and re-installed the kernel, modules and header files. This seemed to have fixed whatever it was that was broken, but for the life of me, I don't know what the issue was.
Working ok now.
Thx for considering my question.
|
|
|
All times are GMT -5. The time now is 09:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|