Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-24-2010, 08:44 PM   #1
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
lsmod information detail

I am trying to see if a module that i loaded on Redhat succeeds.

The module is from intel called vtune_drv-x32_64-2.6.18-194.el5smp.ko.
When I run the script during the installation process, it shows that it is successful.

$ lsmod | grep vtune

vtune_drv             267508  0
Is the "0" at the end of line meaning that the module is not successfully loaded?
Old 08-24-2010, 08:48 PM   #2
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
If you look at first line of lsmod output, you'll see this:
$ lsmod|head -n 1
Module                  Size  Used by
So, your '0' is just a reference count. It means that currently 0 processes are using your module.
You should check if you get any new messages using dmesg command to see if there are any errors loading the module.
Old 08-25-2010, 02:52 AM   #3
LQ Newbie
Registered: Mar 2010
Posts: 7

Rep: Reputation: 0
Just curious to know whether the reference count for each module in /proc/modules gets added by default or by kernel module code try_get method. I guess in general the module loaded fine, else better to add few debugging statement to init method in module ...


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
Need some detail information on Hard Real-Time Systems and Soft real-Time Systems. LinuxInfo General 3 09-22-2008 04:25 AM
FreeBSD7: More information, in better detail, of attached storage drives, than fdisk rautamiekka *BSD 1 07-05-2008 11:24 AM
what information does lsmod give? lnthai2002 Linux - Hardware 2 01-13-2006 12:08 PM
Its in the detail! legin Fedora 1 01-07-2005 08:37 AM
lsmod / information required bibilit Linux - Software 1 12-27-2003 12:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration