lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 2 Nov 2008 21:03:04 -0800 (PST)
From:	peter360 <peter360@...tmail.us>
To:	linux-kernel@...r.kernel.org
Subject: which .ko file?


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!
-- 
View this message in context: http://www.nabble.com/which-.ko-file--tp20297391p20297391.html
Sent from the linux-kernel mailing list archive at Nabble.com.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists