LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-24-2010, 08:44 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 385

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.

Code:
$ 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
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 402

Rep: Reputation: 51
If you look at first line of lsmod output, you'll see this:
Code:
$ 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
gazolinia
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 ...
 
  


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
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


All times are GMT -5. The time now is 05:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration