LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-12-2003, 12:43 PM   #1
tr0gd0O0r
Member
 
Registered: Jun 2003
Location: Louisiana
Distribution: Fedora 1
Posts: 60

Rep: Reputation: 15
Redhat pctel install error


I'm trying to install the pctel-0.9.6 driver on redhat 8. when I typed insmod pctel i got the following error:

your driver is compiled with gcc version 3 and your kernel is compiled with gcc version 2. This is known not to work.

does anyone know what I need to do to fix this problem?
 
Old 06-12-2003, 01:41 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You apparently downloaded a pre-compiled driver built with a newer gcc and your kernel is compiled with an older gcc. They both must be built with the sane one to work, so may the source be with you!

I hope you installed developmental packages and kernel source code so that you can compile a working module.

Lets check out your system and see if you got the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see if you have the kernel source installed:
Code:
[phil@uilleann phil]$ su -
Password: 
[root@uilleann root]# cd /usr/src
[root@uilleann src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@uilleann src]#
If you don't see something similiar to this (but in color), you will need to install the kernel source.

I noticed that Red Hat didn't make the symbolic link /usr/src/linux that the INSTALL files I have read mentioned that I need,. so I might as well make one now to save editing makefiles, etc later.
Code:
[root@uilleann src]# ln -s linux-2.4.18-3 linux         
[root@uilleann src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@uilleann src]#
Ah, there it is, so that's ready.

Next, is the compiler installed?
Code:
[root@uilleann src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@uilleann src]#
If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Redhat links
RedHat Linux Manuals
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network

The Unofficial PCTel Linux Driver page
I finaly got my PcTel hsp56 mr modem to work

Last edited by fancypiper; 06-12-2003 at 02:48 PM.
 
Old 06-14-2003, 12:42 AM   #3
tr0gd0O0r
Member
 
Registered: Jun 2003
Location: Louisiana
Distribution: Fedora 1
Posts: 60

Original Poster
Rep: Reputation: 15
*UPDATE*

Well first of all, thanks for the help, even though it confused me and I didn't really understand what you wanted me to do, I found another way to fix the problem. somehwere on the net. i used:
insmod -f pctel
insmod -f ptserial
these force the modules to load anyway. After this i was able to call my cell phone, so the modem works. I have aol and haven't figured out pengaol quite yet. So if anyone else is having this same problem this may work for ya.
 
Old 06-17-2003, 01:18 AM   #4
tr0gd0O0r
Member
 
Registered: Jun 2003
Location: Louisiana
Distribution: Fedora 1
Posts: 60

Original Poster
Rep: Reputation: 15
Great news guys. My modem works, and this is my first post actually from linux, so this are good. thanks for allthe help anyone gave.
 
Old 06-17-2003, 01:07 PM   #5
tr0gd0O0r
Member
 
Registered: Jun 2003
Location: Louisiana
Distribution: Fedora 1
Posts: 60

Original Poster
Rep: Reputation: 15
Has anyone ever heard of a problem w/ pengaol where it kills your gui?? Since i shut down last night (the first time i got pengaol to work) it says it can't load my X-system, and the only way I can get linux to boot at all is text based, and I don't know how to work that one, any ideas guys?
 
Old 06-17-2003, 01:31 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Try re-configuring X.

You should learn the command line. Install mc and links and get going at it.

Midnight Commander

# Configuring X
Linux Hardware Compatibility HOWTO - video cards
The Linux XFree86 HOWTO
Common X configuring tools:
Debian - dpkg-reconfigure xserver-xfree86
Mandrake - XFdrake
Redhat 7.3 down - the setup utility leads to several config tools
Redhat 7.3 up - redhat-config-xfree86
You may have these tools:
XF86SetupTricks and hints
XFree86 -configure
Xconfigurator
xf86cfg
xf86config
xconf
ATI Linux drivers
If you need the nVidia driver, most likely, you want the Linux IA32 driver

# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
 
  


Reply



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 HSP56 MicroModem: RedHat 9 anoopp Linux - General 0 12-12-2004 11:22 AM
pctel-0.9.6 on Redhat 9.0 Julianus Linux - Newbie 1 12-18-2003 06:57 AM
pctel-0.9.6 on Redhat 9.0 Julianus Linux - Laptop and Netbook 1 11-27-2003 01:17 PM
error to install pctel eduac Linux - Hardware 4 08-25-2003 06:32 AM
PCTEL HSP56 Modem (internal) on redhat 8 juby Linux - Hardware 6 01-01-2003 01:35 AM

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

All times are GMT -5. The time now is 05:36 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