LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-06-2008, 12:31 PM   #1
mylqname
LQ Newbie
 
Registered: Oct 2005
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
all modules have stopped loading


Hello, I've run into some trouble and am having no luck finding an answer.
I'm running slack 12.0, and the other day I did an update with slackpkg. I did not update any kernel packages, and am still running stock kernel. I had slackpkg keep the old config files, and save the new ones with .new.

Now when I boot up, I see a lot of FATAL: Module X not found.
Once I login, lsmod shows no modules loaded. I've tried using modprobe to maunually add a module, and I get the FATAL not found message. depmod -V shows module-init-tools 3.2.2. I tried reinstalling the module-init-tools package from the install disc, with no luck. /etc/rc.d/rc.modules points to rc/modules-2.6.21.5-smp which is the kernel I am running.

I'm not sure of any other relevant info that might be need, but will list anything else that will help. Any ideas on what could prevent modules from loading like this?
 
Old 06-06-2008, 12:35 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Check your /lib/modules/$(uname -r) directory. It should exist. In a default installation, this is located in the kernel-modules-smp-2.6.21.5_smp-i686-2 package for the SMP kernel, and kernel-modules-2.6.21.5-i486-2 for the non-SMP kernel.
 
Old 06-06-2008, 09:20 PM   #3
mylqname
LQ Newbie
 
Registered: Oct 2005
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
It looks like the modules are there, just not loading.
ls -l /lib/modules/$(uname -r) returns
Code:
total 40
lrwxrwxrwx  1 root root  23 2007-12-29 06:09 build -> /usr/src/linux-2.6.21.5/
drwxr-xr-x 11 root root 264 2007-06-12 16:51 kernel/
drwxr-xr-x  2 root root  88 2007-12-24 03:54 misc/
-rw-r--r--  1 root root  45 2008-06-05 17:28 modules.alias
-rw-r--r--  1 root root  69 2008-06-05 17:28 modules.ccwmap
-rw-r--r--  1 root root   0 2008-06-05 17:28 modules.dep
-rw-r--r--  1 root root  73 2008-06-05 17:28 modules.ieee1394map
-rw-r--r--  1 root root 141 2008-06-05 17:28 modules.inputmap
-rw-r--r--  1 root root  81 2008-06-05 17:28 modules.isapnpmap
-rw-r--r--  1 root root  74 2008-06-05 17:28 modules.ofmap
-rw-r--r--  1 root root  99 2008-06-05 17:28 modules.pcimap
-rw-r--r--  1 root root  43 2008-06-05 17:28 modules.seriomap
-rw-r--r--  1 root root  49 2008-06-05 17:28 modules.symbols
-rw-r--r--  1 root root 189 2008-06-05 17:28 modules.usbmap
lrwxrwxrwx  1 root root  23 2007-12-29 06:09 source -> /usr/src/linux-2.6.21.5/
 
Old 06-06-2008, 09:39 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
What does `uname -r` output? (It should be 2.6.21.5-smp)
I think your problem is here:
Code:
-rw-r--r--  1 root root   0 2008-06-05 17:28 modules.dep
Your modules.dep file is empty, and so no modules will load. You should run `depmod -a` as root to fix the problem. If that still doesn't fix the problem, you could try reinstalling the kernel-modules-smp-2.6.21.5_smp-i686-2 package (download it from your favourite mirror [or use the CD/DVD] and type `upgradepkg --reinstall kernel-modules-smp-2.6.21.5_smp-i686-2).
 
Old 06-06-2008, 09:56 PM   #5
mylqname
LQ Newbie
 
Registered: Oct 2005
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Great, depmod -a fixed it!
I'm not sure how that file got blanked.
Thank you very much for the help.
 
  


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
Kernel stopped Loading. (2.6.22-14) 2Pacalypse Ubuntu 1 10-28-2007 04:48 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
modules are loading that shouldn't in my rc.modules thrice Slackware 3 05-11-2004 10:35 PM
loading modules w/o rc.modules e1000 Slackware 3 01-09-2004 02:57 AM
cdburner stopped loading on boot - scsi controller nmoog Linux - Newbie 5 01-08-2004 11:57 PM

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

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