USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

Fixing "modinfo: could not find module xxxx"

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Command Line Commands
View previous topic :: View next topic  
Author Message
mkitwrk
New Member


Joined: 06 Mar 2024
Posts: 2
Location: Greenville, SC

PostPosted: Fri Mar 07, 2024 3:32 pm    Post subject: Fixing "modinfo: could not find module xxxx" Reply with quote

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 <adaplas@pol.net>
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
Back to top
View user's profile Send private message AIM Address MSN Messenger
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6670
Location: Central Montana

PostPosted: Sat Mar 08, 2024 1:50 am    Post subject: Reply with quote

Good work ! Wink



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
lynch
Moderator


Joined: 15 Nov 2024
Posts: 2659
Location: The Diamond State

PostPosted: Sat Mar 08, 2024 9:45 am    Post subject: Reply with quote

Nice bit of info, mkitwrk. Smile
Welcome to USAlug!



_________________
Mandriva 2024 Spring -2.6.31.12-server-2mnb
PCLinuxOS 2024 -2.6.26.8.tex3
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Command Line Commands All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse