LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-22-2006, 12:49 PM   #1
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Rep: Reputation: 15
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
 
Old 04-22-2006, 12:55 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,406

Rep: Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555
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
 
Old 04-22-2006, 01:04 PM   #3
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

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

Code:
/sbin/modprobe lp
for example also says it can't find the module.

What could I have done to the rc.modules file?

Thx for the consideration.
 
Old 04-22-2006, 01:06 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,406

Rep: Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555Reputation: 7555
Another question: did you run "lilo" after installing that new kernel?

Eric
 
Old 04-22-2006, 01:10 PM   #5
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Original Poster
Rep: Reputation: 15
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 ;->
 
Old 04-22-2006, 01:24 PM   #6
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Original Poster
Rep: Reputation: 15
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.
 
Old 04-22-2006, 01:28 PM   #7
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
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.
 
Old 04-22-2006, 01:34 PM   #8
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Original Poster
Rep: Reputation: 15
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.
 
Old 04-23-2006, 02:36 AM   #9
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Look if you have /lib/modules/kernel-version.
 
Old 04-23-2006, 10:55 AM   #10
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Original Poster
Rep: Reputation: 15
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.
 
Old 04-24-2006, 10:44 AM   #11
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

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


Reply


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
lsmod shows way too many modules loaded zenlord Arch 3 03-14-2006 04:27 AM
lsmod reports no modules props666999 Slackware 26 06-01-2005 12:54 PM
snmp staus shows it running but on trying MRTG, it shows public@ipaddr not giving res swati220781 Linux - Networking 3 07-08-2004 06:32 PM
lsmod does not show all modules shanenin Linux - Software 2 04-14-2004 09:26 AM
lsmod reveals no loaded modules after new kernel src install... jdaniel Linux - General 1 03-01-2004 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:48 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