LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mandrake 10.1 and PCTel 2.6 (https://www.linuxquestions.org/questions/linux-hardware-18/mandrake-10-1-and-pctel-2-6-a-357704/)

Pasa Yildirim 08-28-2005 01:53 AM

Mandrake 10.1 and PCTel 2.6
 
Peace!

Well, I've installed Mandrake 10.1 (Offical download), and, then, I've downloaded a new PCTEL driver for kernel 2.6 (from http://linmodems.technion.ac.il/pctel-linux/). When I try to install, I get the following message: Could not determine a proper UTS_RELEASE (before there was a message which says that cofigure cannot find versions.h). I've commented a piece of code which tries to get kernel version from versions.h. Then, installation was succes. But, I cannot load any modules. I've tried with
Code:

modprobe linmodem
but it says that linmodem module doesnt exist. This is also for pctel and pctel_hw modules. I can find linmodem.ko, pctel.ko and pctel_hw.ko in [pctel0.9.7-9-rht-4/src] directory, but I cant use them.

Can you tell me how to fix this problem?

helmut_hed 09-08-2005 08:28 PM

Hi!

OK, the first UTS_RELEASE bit sounds like you don't have kernel source (or "headers") installed on your system. Hopefully your workaround was successful; did the .ko files compile without errors? This is the right sequence for testing, usually:

./configure -auto (I assume this failed for you?)
make (is this how you created the .ko files?)
make insmod (this will "insmod" the modules - "modprobe" will fail if they have not been installed into a central location known to the system yet)

If the compile was really successful you should be able to "make insmod" with no problem. Let me know how it goes.

Good luck,
Jeff Trull

Pasa Yildirim 09-12-2005 03:44 AM

Well, ./configure is not working, so I commented lines which are checking for UTS release (I have a kernel sources, 2.6.8-1mdk). After then, configure is working. The I execute the following comamnds:

make
su
make install
make insmod
and everithing seems OK... but modprobe says: no module pctel (also for module linmodem etc). I tried to insert these modules with insmod pctel.ko etc, but it says that there is an error inside module.

helmut_hed 09-12-2005 11:32 AM

OK, after you run "make insmod" there is no need to run "modprobe", because the module is already running (if it passed). You can confirm this by using "lsmod", which will tell you which modules are already installed.

Here are some things that will help with debugging:

1) the output from "configure" (the original, before your commenting out)
2) the output of "lsmod | grep pct" after you run "make insmod"
3) the output of "ls /usr/src"
4) the output of "uname -r"
5) the output of "ls /lib/modules/`uname -r`/build"

Finally, just in case:

6) the output of "lspci -d 134d:"

With this information I should be able to help you more.

Regards,
Jeff Trull


All times are GMT -5. The time now is 06:36 PM.