LinuxQuestions.org
Visit Jeremy's Blog.
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 03-12-2014, 07:11 PM   #1
Sansveni
LQ Newbie
 
Registered: Mar 2014
Location: Texas, USA
Distribution: Slackware64 14.1
Posts: 8

Rep: Reputation: Disabled
Question lsmod doesn't show sr_mod after loading it with modprobe


I'm running Slackware 14.1 (I just installed it actually after wrestling for what must've been more than 8 hours total with trying to USB install, to just DVD install but then figuring out booting from LVM...). I'm not that experienced with Linux, which is why I installed Slackware. I must say, I've learnt a LOT just installing it.

The problem is, I loaded sr_mod in modprobe (trying to get a USB DVD drive to work, actually; you might see another post on this if I can't figure that out either), and then did lsmod | grep sr_mod, but it isn't finding anything.

Here's roughly what I did (I redid the steps for the log):
~# lsmod | grep sr_mod
~# lsmod | grep snd
snd_hda_codec_hdmi 29622 1
snd_hda_codec_idt 37403 1
snd_hda_intel 34861 3
[truncated, I'm just showing that grepping this works]
~# modprobe sr_mod
~# lsmod | grep sr_mod [Still nothing]
~# modprobe sr_mod --first-time
modprobe: ERROR: could not insert 'sr_mod': Module already in kernel

I kept thinking that it was modprobe's fault, that it was somehow not loading, but not bothering to tell me, but as that last command shows, that doesn't seem to be the case.

I also tried searching /proc/modules, but it doesn't find it.

Any idea what's going on? I'm curious as to why lsmod didn't seem to refresh...or is the module not really loaded and modprobe thinks it is?
O.o
Thanks.
 
Old 03-12-2014, 09:39 PM   #2
ljb643
Member
 
Registered: Nov 2003
Posts: 293

Rep: Reputation: Disabled
In the Slackware 14.1 kernel, the "sr" driver (SCSI CD-ROM) is compiled in to the kernel. It is not a loadable module. So lsmod won't list it. modprobe (apparently) sees the driver is already in the kernel and therefore does nothing.
 
1 members found this post helpful.
Old 03-12-2014, 10:17 PM   #3
Sansveni
LQ Newbie
 
Registered: Mar 2014
Location: Texas, USA
Distribution: Slackware64 14.1
Posts: 8

Original Poster
Rep: Reputation: Disabled
Ah, thanks. Running modprobe --check-depends also lists it as builtin. :P I added --first-time to see if it were loaded already.
 
  


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
Help on lsmod, modprobe, etc. mortonmorton Linux - Newbie 12 09-09-2009 10:24 PM
lsmod show nothing sesteban Linux - Newbie 6 07-20-2004 02:05 PM
lsmod show nothing... sesteban Debian 0 07-18-2004 04:46 PM
lsmod and modprobe commands rock9604 Linux - Newbie 10 05-03-2004 12:35 AM
Can't Use lsmod/modprobe... lramos85 Linux - Newbie 2 03-08-2004 09:41 PM


All times are GMT -5. The time now is 01:13 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration