LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2003, 07:51 AM   #151
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30

yes the last error message i got was insmod pctel. I can't be done because it did not find the hardware.
 
Old 05-28-2003, 07:59 AM   #152
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
I have to get ready for work. If masterc and whansard wants to post something. I will get the post when i come home.
 
Old 05-28-2003, 08:00 AM   #153
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
What was the full error message

Cool
 
Old 05-28-2003, 03:55 PM   #154
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
This is the full message.

The module you are trying to load (/lib/modules/2.4.20-8/misc/pctel.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work.

Can we take that old gcc road?? cool man
 
Old 05-28-2003, 07:59 PM   #155
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Where'd you get the module from?

You'll have to go through a kernel recompile, and practically recompile every single application on your system if you want to downgrade GCC's.

Cool
 
Old 05-28-2003, 08:15 PM   #156
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
What module?? I don't know where the module is.
 
Old 05-28-2003, 08:17 PM   #157
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Well recompile everything. I'm cool with that unless you can help me.
 
Old 05-28-2003, 09:18 PM   #158
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
the module is that pctel.o
and ptserial.o
that you are trying to load with
the insmod command
insmod is short for "insert module(driver-sort of) into the
kernel space"
to MasterC,
i just compiled that pctel module with gcc 2.95.3 and
it worked, and i compiled it with 3.2.2 and it worked.
i was able to insert the module with either version.
so i don't know what to think about what's going on on
his machine.

as far as using different version of a compiler, i do it
all the time. i've had 7 different gcc's on this machine,
but only 2 of them are currently on here. But, the
libraries that gcc links stuff to are all still on the machine.

/usr/lib/gcc-lib/i686-pc-linux-gnu# d
total 6
1 . 1 .. 1 3.0.1 1 3.0.2 1 3.0.4 1 3.1 1 3.2.2

2.95.3 is in /opt
egcs something is what came with the distribution.
i just noticed it's still on here too.
i do occasionally run into problems with programs
not wanting to compile because they link to libraries
compiled with a different version of gcc, but not often.

i guess redhat and other distrubutions put the minimal
amount of the gcc libs on a machine to make the
programs work, but don't install all of the compiler
unless you specifically install it. I mean cause you can
install most distributions of linux without installing the
compiler.

Last edited by whansard; 05-28-2003 at 09:31 PM.
 
Old 05-28-2003, 09:25 PM   #159
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
How did you do?? I can't do it. What steps did you do?? I don't know what's going on my computer. I want pctel on Linux. to Whansard. Is it just Redhat Linux won't recognize my modem?? or is it every Linux O/S?? Will my modem recognize under Unix base systems?? What about Solaris?? Thanks.
 
Old 05-28-2003, 09:31 PM   #160
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
I was thinking. Would it be easier to work with the driver on my hard drive then working with it on CD??
 
Old 05-28-2003, 09:40 PM   #161
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
derek,
i didn't do anything that i haven't had you try. i was doing
the same steps here that i was having you try earlier.
you could easily be having a problem that is specific to
redhat 9. i don't know if changing compilers would do
any good or not.
oh, it doesn't really have anything to do with your modem
or linux. i've used the pctel driver almost 2 years ago on
linux.
it's a compatibility problem. the kernel you have and
the drivers for any hardware have to be compiled with
the same compiler, but i can't figure out what you need
to do next. i'll have to leave it to somebody else.
 
Old 05-28-2003, 09:45 PM   #162
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
whansard, Would it be easier if i just grab NetBSD Alpha version?? aprox 84 megs. Would it recognize in Unix??
 
Old 05-28-2003, 10:07 PM   #163
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
i think you would have more trouble with netbsd than
with linux. i don't think the basic install even has a gui.
 
Old 05-28-2003, 10:10 PM   #164
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Lunix, Unix and NetBSD are 3 different operating systems.

Did you install the kernel source code and headers from your CD or download a different source code?

Your running kernel can be found by commanding

uname -r

I will check and see what kernel I am running and then look and see if I have that source code.
Code:
[phil@tinwhistle phil]$ uname -r
2.4.18-3
[phil@tinwhistle phil]$ cd /usr/src/linux-2.4.18-3
[phil@tinwhistle linux-2.4.18-3]$ ls
abi      COPYING        drivers  init    lib          mm      REPORTING-BUGS
arch     CREDITS        fs       ipc     MAINTAINERS  net     Rules.make
configs  Documentation  include  kernel  Makefile     README  scripts
[phil@tinwhistle linux-2.4.18-3]$

Last edited by fancypiper; 05-28-2003 at 10:14 PM.
 
Old 05-28-2003, 10:11 PM   #165
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
It looks like i might need MasterC to help me recompile the kernel.
 
  


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
Modem Not responding in RedHat Linux 9.0 ukjairaj Linux - Hardware 6 07-04-2007 11:05 PM
conexant v.92 internal modem not detecting in redhat linux 9.0 supersac Linux - Newbie 9 11-30-2004 02:04 PM
redhat linux 8.0 modem problem!!!! linuxfan2 Linux - Software 7 05-10-2003 11:37 AM
Redhat Linux 8: Problem with Sound and Modem anjanmustafi Linux - Hardware 4 03-18-2003 03:07 PM
my modem is not detected in redhat linux 6.2 linux2cool Linux - Newbie 2 02-25-2001 03:48 PM


All times are GMT -5. The time now is 09:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration