Re: module information

2013-01-17 Thread shawn wilson
I just stumbled across my answer (not sure how long it's been in the kernel, but for 3.7.2): x CONFIG_MODULE_SRCVERSION_ALL: x x Modules which contain a MODULE_VERSION get an extra srcversion x field inserted into their modinfo section, which contains a x sum of the source files which

module information

2013-01-02 Thread shawn wilson
So, this is more of a curiosity at this point. However, I can't figure out how to directly associate loaded modules with the file on disk - checksum or whatever. Not sure if there's a debugfs module to do this, I've looked in /proc and /sys and can't find anything useful. /proc/sys/kernel

Re: module information

2013-01-02 Thread Igor Cicimov
On Thu, Jan 3, 2013 at 1:54 AM, shawn wilson ag4ve...@gmail.com wrote: So, this is more of a curiosity at this point. However, I can't figure out how to directly associate loaded modules with the file on disk - checksum or whatever. Not sure if there's a debugfs module to do this, I've looked

Re: module information

2013-01-02 Thread shawn wilson
On the box I login to gmail on, I don't have this so I'm going to try to replicate this as best i can: /lib/modules/3.6.10-vanilla/build/drivers/input/mouse# lsmod | grep psmouse psmouse69191 0 /lib/modules/3.6.10-vanilla/build/drivers/input/mouse# modinfo psmouse.ko filename:

Re: module information

2013-01-02 Thread Igor Cicimov
On Thu, Jan 3, 2013 at 9:46 AM, shawn wilson ag4ve...@gmail.com wrote: On the box I login to gmail on, I don't have this so I'm going to try to replicate this as best i can: /lib/modules/3.6.10-vanilla/build/drivers/input/mouse# lsmod | grep psmouse psmouse69191 0

Re: module information

2013-01-02 Thread shawn wilson
On Wed, Jan 2, 2013 at 6:55 PM, Igor Cicimov icici...@gmail.com wrote: By the way, by manually loading something from different location but the default one don't you already know the location of that file :) This assumes that I'm the only one that touches a system and/or that I keep