How does one fix the situation where modinfo cannot locate the driver module?
Here's the scenario and how I fixed it:
I run 'lsmod' and get (snip):
Module Size Used by
st 42912 0
bitblit 6208 0
And if I run 'modinfo st' I get (snip):
filename: /lib/modules/2.6.12/kernel/drivers/scsi/st.ko
author: Kai Makisara
description: SCSI Tape Driver
license: GPL
vermagic: 2.6.12 SMP 686 gcc-4.0
But, when I run 'modinfo bitblit' I get:
modinfo: could not find module bitblit
So, the answer is to run 'depmod' after saving your current modules.dep file... just in case...
And -- you have to log out and back in before bitblit can be found.
Here are the commands I used:
cd /lib/modules/[currentkernelversion]
cp modules.dep modules.dep.save
cd /
depmod
[Log off system]
[Log into system]
modinfo bitblit
And it shows:
filename: /lib/modules/2.6.12/kernel/drivers/video/console/bitblit.ko
author: Antonino Daplas <[email protected]>
description: Bit Blitting Operation
license: GPL
vermagic: 2.6.12 SMP 686 gcc-4.0
Enjoy!
_________________
Debian Sarge 32bit 2.4 kernel
Debian Etch 32&64bit 2.6 kernel
RedHat ES4 32bit 2.4 kernel
RedHat ES5 32&64bit 2.6 kernel
Old Caldera 2.2 kernel