lkml.org 
[lkml]   [2008]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: which .ko file?
peter360 wrote:
> Hi,
>
> How do I determine the .ko file used for a certain kernel module in a
> running kernel? For example, on my dell laptop I see
> $ lsmod | grep 3945
> ipw3945 230952 1
> ieee80211 65161 1 ipw3945
>
> $ modinfo ipw3945
> modinfo: could not open /lib/modules/2.6.18-92.1.1.el5/extra/ipw3945.ko: No
> such file or directory
>
> $ locate ipw3945.ko
> /lib/modules/2.6.18-52.el5/weak-updates/ipw3945.ko
> /lib/modules/2.6.18-52.el5/weak-updates/ipw3945/ipw3945.ko
> /lib/modules/2.6.18-8.1.4.el5/extra/ipw3945/ipw3945.ko
> /lib/modules/2.6.18-92.1.1.el5/weak-updates/ipw3945/ipw3945.ko
> /lib/modules/2.6.18-92.1.10.el5/weak-updates/ipw3945.ko
> /lib/modules/2.6.18-92.1.10.el5/weak-updates/ipw3945/ipw3945.ko
>
> $ uname -a
> Linux mylaptop 2.6.18-92.1.1.el5 #1 SMP Thu May 22 09:01:47 EDT 2008 x86_64
> x86_64 x86_64 GNU/Linux
>
> How do I find out which ipw3945.ko file was actually loaded into the kernel?
> thanks!
>
I think it's
/lib/modules/2.6.18-92.1.1.el5/weak-updates/ipw3945/ipw3945.ko, which
matches your kernel version, right? You could remove it to another
directory instead
of current used /lib/modules/2.6.18-92.1.1.el5/, then try "lsmod | grep
3495". If you
still could see it, then my guess is wrong. Otherwise, I'm correct.


\
 
 \ /
  Last update: 2008-11-03 06:13    [W:0.027 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site