LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-12-2006, 10:28 PM   #1
ERBRMN
Member
 
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96

Rep: Reputation: 15
Help, loadable kernel module .


Hi all

Could you help me to understand to load module to kernel.

I added some loadable module (multipath and multipath_wrandom) to kernel.
These two modules , I want to use it for multipath routing.

I compiled kernel with multipath and multipath wrandom module.
After compile, I added these two modules using the modprobe.

# lsmod

module _ _ _ _ _ _ _ _ _ Size _ Used by
---------------------------------
multipath _ _ _ _ _ _ _ _ 5856 _ _ 0
multipath_wrandom _ _ 9344 _ _ 0
i82365 _ _ _ _ _ _ _ _ _6344 _ _ 1

.......

I think new loaded modules are not used by kernel.... Right ?
Because , there is "0" on Used by column.

How can I confirm/see that kernel using the new loaded modules ?
.

Last edited by ERBRMN; 10-12-2006 at 11:01 PM.
 
Old 10-13-2006, 05:54 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
They're loaded so they're available for anything that wants to use it.
How can I confirm/see that kernel using the new loaded modules?
Play with multipath-tools?
 
Old 10-13-2006, 06:18 AM   #3
ERBRMN
Member
 
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by unSpawn
They're loaded so they're available for anything that wants to use it.
How can I confirm/see that kernel using the new loaded modules?
Play with multipath-tools?
[B]Thk u , unSpawn

I have measurement results: After load multipath module to kernel and Before load multipath to kernel. They showed me same results. (not quite same, but ...)

So I want to see that the kernel is using new loaded modules? (or not?)
I checked all log messages.
[B]
 
Old 10-13-2006, 07:34 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I want to see that the kernel is using new loaded modules? (or not?)
Using the modules means loading devices that depends on them.
Checking the kernel for using the modules AFAIK means (apart from looking at diagnostic output from tools) resorting to stuff like http://oprofile.sourceforge.net/doc/...kernel-modules or equivalent.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to identify memory leak in loadable kernel module appas Programming 3 06-05-2012 09:56 AM
how to add new loadable module to kernel? Mistreated Linux - Software 7 02-02-2005 10:22 AM
RedHat 9 (2.4.20-8) kernel rebuild without loadable module support RedHatDude Linux - Software 4 09-09-2003 09:32 PM
RedHat 9 (2.4.20-8) kernel rebuild without loadable module support RedHatDude Red Hat 1 09-09-2003 09:20 PM
loadable kernel module brajesh Linux - General 2 01-17-2003 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:12 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
Open Source Consulting | Domain Registration