Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.