On Saturday 26 August 2006 2:46 am, Joe Morris (NTM) wrote:
Paul Abrahams wrote:
The question arose because I'm trying to get a PCTel internal modem to work. I have two files, pctel.ko and ptserial.ko, in my /lib/modules directory (a couple of levels down).
Exactly which directory, and exactly which kernel are you running? Just being there doesn't mean it will work, it needs to be in the module directory for your running kernel, and depmod should have been run so it knows of any module dependencies.
I would guess that those files contain the modules I need, but how do I get the modules loaded?
modprobe is better than insmod.
I did
lsmod | grep pctel
and it came up with nothing, so the modules apparently aren't there yet.
You may need some entries in /etc/modprobe.conf.local so it knows what module to use.
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 suillus:/lib/modules # modprobe linmodem.ko FATAL: Module linmodem.ko not found. suillus:/lib/modules # modprobe linmodem FATAL: Module linmodem not found. 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 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. 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". Any more advice? Thanks. Paul