LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-15-2009, 07:38 PM   #1
pgb205
Member
 
Registered: Nov 2007
Posts: 129

Rep: Reputation: 15
Getting version of inserted module


I know of modinfo l <module_name> |grep -i ver, but is it certain to give me version of the module that is currently loaded or is there a chance that i might get a version of a module compiled for a different kernel.?
 
Old 04-15-2009, 08:46 PM   #2
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
I am not sure with your question. However, to get version of currently loaded module as to which kernel it is compiled against you can check with
Code:
modinfo [nameofmodule] | grep -i vermagic
. CMIIW.

Last edited by hurry_hui; 04-15-2009 at 08:49 PM. Reason: Confusing :)
 
  


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
How to call a kernel inserted module from a userland program?? raga4223688 Linux - Kernel 6 08-03-2011 01:32 PM
how to find the priority of an inserted module in the kernel sharad Linux - Software 1 07-06-2006 06:40 AM
Trigger action when module is inserted (wake on lan) benjalien Debian 12 04-25-2006 01:16 AM
Xfree Error (EE) module ABI minor version (7) is newer than the server's version (6) jimdaworm Slackware 0 10-17-2003 05:26 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM

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

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