LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-20-2008, 06:58 PM   #1
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Stupid newbie mistake, now lsmod shows nothing....


I've been having trouble shutting down my PC, and I found online that someone said something like 'load the acpi module', and I thought that meant 'depmod acpi' (I think I meant to say 'modprobe acpi', I just got errors, so I didn't think it was important, then, after rebooting, it gave me an error saying, "Cannot find module fglrx"
I tryed typing lsmod, but it just gives me a line saying
"Module Size Used by"
and nothing after it.
Help? Nothing works now...
 
Old 04-20-2008, 07:06 PM   #2
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
well if you can get into a terminal at start up (ctrl-F6) then you could try modprobe acpi to get it back and restart.
 
Old 04-20-2008, 07:17 PM   #3
ice_nine
Member
 
Registered: Sep 2007
Posts: 41

Rep: Reputation: 15
Define 'nothing works', that's a little vague.

It sounds like X is trying to load fglrx (the proprietary ATI video driver module), but it cannot find it. Try rerunning the ati installer (ctrl-alt-f6 will bring you to a text console).

EDIT:
Which kernel are you using? If you're using the huge kernel, then 'lsmod' may not show you much, as most things are built into the kernel. Also, acpi is built in to the huge kernel I believe, so running 'depmod acpi' would have done nothing (since there is no acpi module)

Last edited by ice_nine; 04-20-2008 at 07:26 PM. Reason: more stuff
 
Old 04-20-2008, 08:41 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
After reading `man depmod`, it appears you've screwed up your /lib/module/$(uname -r)/ directory (I'm assuming you're using the standard 2.6.21.5-smp kernel, in which case it would be /lib/modules/2.6.21.5-smp). Your modules.dep files (and possibly some map files in the same directory) are probably only pointing to acpi, which prevents other modules from loading, therefore making your system a brick. I think you could fix it by reinstalling the kernel-modules-smp-2.6.21.5_smp-i686-2.tgz package (available here: http://slackware.osuosl.org/slackwar...smp-i686-2.tgz or from your install CD/DVD [on disc 1, in the slackware/a/ directory] or another Slackware mirror). Try `upgradepkg --reinstall kernel-modules-smp-2.6.21.5_smp-i686-2.tgz`.

You'll probably have to reinstall your ATI drivers after reinstalling that package, but I'm not sure. Also, if you're using a non-smp kernel, you should use the kernel-modules-2.6.21.5-i486-2.tgz package instead, available from the same places. If you compiled your own kernel, I would recommend switching back temporarily to the huge kernel and rebuilding your custom kernel. It *may* be possible to compile your kernel again and perform a `make modules_install` in the source directory without switching to the huge kernel first, but I'm not sure.

Good luck.

Last edited by T3slider; 04-20-2008 at 08:45 PM.
 
  


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
Dual boot problem because of stupid mistake randomguy Linux - General 1 08-26-2006 11:03 AM
Debian Tape Drive not detected (lsmod shows st)? gecon Linux - Hardware 2 05-11-2006 09:32 AM
lsmod shows only two modules desertViking Slackware 10 04-24-2006 09:44 AM
lsmod shows way too many modules loaded zenlord Arch 3 03-14-2006 03:27 AM
Stupid Mistake, WPC54G, not WPC11 Rv5 Red Hat 1 09-02-2003 01:50 PM

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

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