I know you can do:
sudo modprobe -v some_module
to check the version of
/lib/modules/.../some_module.ko, but I'd still like to be able to check the version of any arbitrary kernel module that's not necessarily going to be loaded by
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
strings some_module.ko | grep vermagic
Or use as mentioned by Ian Kelling modinfo.