[wplug] modprobe for a new module

Poyner, Brandon bpoyner at ccac.edu
Fri Jul 7 14:09:38 EDT 2006


Try running 'depmod -a' after moving the module into
/lib/modules/<kernel version>/kernel/blah.  depmod will build several
indexes in /lib/modules/<kernel version> that modprobe uses.

Brandon Poyner
Network Engineer III
CCAC - College Office
412-237-3086
 

> -----Original Message-----
> From: wplug-bounces+bpoyner=ccac.edu at wplug.org 
> [mailto:wplug-bounces+bpoyner=ccac.edu at wplug.org] On Behalf 
> Of Duncan Hutty
> Sent: Friday, July 07, 2006 1:09 PM
> To: General user list
> Subject: [wplug] modprobe for a new module
> 
>   I have built a new kernel module. If I do insmod 
> /usr/local/lib/<path 
> to module> it gets inserted nicely and everything appears to 
> be lovely.
> 
> How do I get this so it can be inserted by modprobe? Do I 
> need to modify 
> modprobe.conf or something so it looks at the right location?
> 
> I tried moving to /lib/modules/<kernel version>/kernel/blah 
> where there 
> are lots of other kernel modules, but that wasn't good 
> enough. modprobe 
> couldn't find it.
> 
> Suse-10.1
> -- 
> Duncan Hutty
> System Administrator, ECE
> Carnegie Mellon University
> 
> Please use informative subject lines
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 



More information about the wplug mailing list