LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-28-2005, 02:53 AM   #1
Pasa Yildirim
LQ Newbie
 
Registered: Jun 2005
Location: Bosnia and Herzegovina
Distribution: SUSE LINUX 9.3 Professional
Posts: 10

Rep: Reputation: 0
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?
 
Old 09-08-2005, 09:28 PM   #2
helmut_hed
Member
 
Registered: Jul 2003
Location: San Francisco, CA, USA
Distribution: Kubuntu Hardy
Posts: 103

Rep: Reputation: 15
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
 
Old 09-12-2005, 04:44 AM   #3
Pasa Yildirim
LQ Newbie
 
Registered: Jun 2005
Location: Bosnia and Herzegovina
Distribution: SUSE LINUX 9.3 Professional
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 09-12-2005, 12:32 PM   #4
helmut_hed
Member
 
Registered: Jul 2003
Location: San Francisco, CA, USA
Distribution: Kubuntu Hardy
Posts: 103

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pctel modem & mandrake 10 liljim Linux - Hardware 0 03-25-2004 09:47 AM
PCTel Modem on Mandrake 9.1 bassgey Linux - Laptop and Netbook 2 09-03-2003 07:12 PM
PCtel Micromodem on Mandrake 9.0 jacee1234 Linux - Hardware 11 02-18-2003 02:30 PM
pctel w/ mandrake 8.2 brimbleshoes Linux - Hardware 5 06-06-2002 09:22 PM
Mandrake 7.2 and PCTEL HSP56 modem stray Linux - Networking 3 03-06-2001 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration