Paul Abrahams wrote:
Thanks for the advice. Here's what I tried after reading it:
suillus:/lib/modules # ls 2.6.5-7.155.29-default/misc . .. linmodem.ko pctel.ko pctel_hw.ko suillus:/lib/modules # depmod suillus:/lib/modules # uname -a Linux suillus 2.6.13-15.11-default #1 Mon Jul 17 09:43:01 UTC 2006 i686 athlon i386 GNU/Linux
OK, so the kernel will be looking for modules in /lib/modules/2.6.13-15.11-default tree.
suillus:/lib/modules # modprobe linmodem.ko FATAL: Module linmodem.ko not found. suillus:/lib/modules # modprobe linmodem FATAL: Module linmodem not found.
Not found in the tree it is looking for modules.
suillus:/lib/modules # cp -a 2.6.5-7.155.29-default/misc 2.6.13-15.11-default/ suillus:/lib/modules # ls 2.6.13-15.11-default/misc . .. linmodem.ko pctel.ko pctel_hw.ko
so you copied the modules to the correct tree, in the misc directory.
suillus:/lib/modules # modprobe linmodem.ko FATAL: Module linmodem.ko not found. suillus:/lib/modules # modprobe pctel.ko FATAL: Module pctel.ko not found. suillus:/lib/modules # modprobe linmodem FATAL: Module linmodem not found.
You forgot to rerun depmod -a to remake a module dependency list for all the new modules.
suillus:/lib/modules # modprobe 2.6.13-15.11-default/misc/*.ko FATAL: Module 2.6.13_15.11_default/misc/linmodem.ko not found. suillus:/lib/modules #
If there's just a kernel version problem, then I'd expect a different diagnostic than "module not found".
It still isn't listed in any of the modules.* files since you forgot to run depmod.
Any more advice?
run depmod-a and try modinfo linmodem. If you get a return of some info (and for which kernel it was built for), and want to try, modprobe linmodem. I still suspect it may not work because of the huge difference in kernel versions. -- Joe Morris Registered Linux user 231871