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 - 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, 07:44 PM   #1
ufmale
Member
 
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.

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, 07:48 PM   #2
10110111
Member
 
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:
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, 01: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



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 03:25 AM
FreeBSD7: More information, in better detail, of attached storage drives, than fdisk rautamiekka *BSD 1 07-05-2008 10:24 AM
what information does lsmod give? lnthai2002 Linux - Hardware 2 01-13-2006 11:08 AM
Its in the detail! legin Fedora 1 01-07-2005 07:37 AM
lsmod / information required bibilit Linux - Software 1 12-27-2003 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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