LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-16-2002, 08:25 AM   #1
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
Unhappy installing pcmcia driver on my laptop


I installed Redhat 7.0 on my Dell Latitude C840. When I boot, it get stuck on the network checking. I read that I need to install new driver for pcmcia. I downloaded the drivers but I dont know where to put them.

It seems that I also need to install first something about the kernel.

Anybody could help me please....

Niton
 
Old 07-16-2002, 08:34 AM   #2
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
Here's what you need to do:

Get the latest version of the kernel in source form (http://www.kernel.org has it )

Get the latest version of pcmcia_cs (I have it if you email me)

change directories to the kernel sources

run make menuconfig (or make xconfig if you run X) and configure your kernel

run make dep modules modules_install bzLilo

then change to the directory with pcmcia_cs and type ./Configure

configure pcmcia_cs and then run make install

you should be all set...
 
Old 07-16-2002, 08:45 AM   #3
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
installing pcmcia

Thanks for your response.

I will download the latest version of the kernel.
I have the vesion 3.1.34 from the pcmcia-cs. Is it the good one ?

Then I will need some more details about changing directories to the kernel sources and where exacty i need to install both latest version.

If it is too much to give me all the command line do you know a good website where I can find the detailed installation ?

TX
 
Old 07-16-2002, 11:33 AM   #4
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
k, I'll try to do this line by line.

This assumes 3 things:
1) you are user root
2) you have downloaded the sources into /root
3) since you're using RedHat 7.0, you're using kernel 2.2.x series

[root@localhost ~]# cd /usr/src

[root@localhost /usr/src]# tar -xzf ~/linux-2.2.20.tar.gz

[root@localhost /usr/src]# cd linux

[root@localhost /usr/src/linux]# make menuconfig

[root@localhost /usr/src/linux]# make dep && make modules && make modules_install && make bzImage && make bzLilo

[root@localhost /usr/src/linux]# cd ~

[root@localhost ~]# tar -xzf pcmcia-cs-3.1.34.tar.gz

[root@localhost ~]# cd pcmcia_cs-3.1.34

[root@localhost /root/pcmcia_cs-3.1.34]# ./Configure

[root@localhost /root/pcmcia_cs-3.1.34]# make install


Then you should be all set...if something doesn't work right, then it's a file/directory name issue...

Aaron
 
Old 07-16-2002, 04:59 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
Quote:
Originally posted by orgcandman
Here's what you need to do:

Get the latest version of the kernel in source form (http://www.kernel.org has it )

Get the latest version of pcmcia_cs (I have it if you email me)

change directories to the kernel sources
Pcmcia support has been INSIDE the kernel since 2.4.3. Compiling pcmcia-cs seperately after putting pcmcia support in the kernel will cause a ton of device conflicts, that's even if pcmcia-cs survives the compile. Niton is also running RH 7.0 which has a version of bin-utils and a gcc that probably won't succesfully compile 2.4.18. It was just about the most worthless release ever.

Before recompiling everything, what's the network card you're trying to get support for?

Cheers,

Finegan
 
Old 07-16-2002, 05:32 PM   #6
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
I thought redhat 7.0 came with 2.2.16 which is why I suggested pcmcia_cs. I figured by latest kernel, one would assume latest kernel in their current branch (2.2.x versus 2.4.x)

Heh, maybe a little more explicit direction on my part would help.

Aaron
 
Old 07-16-2002, 05:40 PM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
Cheers man, didn't mean to go all caps there for a minute. Really I was questioning the advice that told him to find a newer driver for the card. A lot of these things get solved by editing one aspect of /etc/pcmcia/config.opts

Cheers,

Finegan
 
Old 07-16-2002, 05:47 PM   #8
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
no problem...I've just been off today since some dick at the place I setup an intranet allowed a "hacker" in who immediately got my site blacklisted as an open relay.

Aaron
 
Old 07-17-2002, 08:07 AM   #9
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks guys for your help.

Actually the kernel version for my Redhat 7.0 is 2.2.16-22.

And I am trying to install the version 2.4.18.

My network card is a 3Com Intergrated Fast Ethernet Controller 4.5.
 
Old 07-17-2002, 08:23 AM   #10
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
install kernel 2.2.19 or 2.2.20(? is it out)

what's the model on your 3com card? 3c589 or something like that?

Aaron
 
Old 07-17-2002, 08:44 AM   #11
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Is the version 2.4.18 not good ??
 
Old 07-17-2002, 02:21 PM   #12
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
2.4.18 probably won't compile on RedHat 7.0, your version of bin-utils... gcc, just about everything with that release was a little buggy. Then all of your programs are compiled against 2.2.x, so some of them will flake with a 2.4.x kernel. The series are somewhat worlds apart. Also, you want to avoid the conflict of in kernel pcmcia and pcmcia-cs, so you want the last in the 2.2.x kernel tree which is actually 2.2.21.

Cheers,

Finegan
 
Old 07-17-2002, 04:37 PM   #13
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Wink

I will try

Thanks for your time.
 
Old 07-18-2002, 08:59 AM   #14
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
Quote:
Originally posted by niton
Is the version 2.4.18 not good ??
just clarification on the 2.2 vs. 2.4 version issue - if you're running 2.2.x, and don't have a specific reason to upgrade to 2.4.x, then don't bother. upgrading from 2.2.x to 2.4.x is a major version upgrade, and requires upgrading more than just the kernel - you need to upgrade all the drivers, modutils, ect... all major version changes break at least some backwards compatability, and upgrading is more effort than it's worth if all you need is the pcmcia.

2.2.x is still considered the most stable linux kernel release, tho 2.4.x is coming very close. the difference is mainly that 2.4 supports more hardware and has more features than 2.2. but, if 2.2 has everything you need, then it's best to stick with it.

Last edited by isajera; 07-18-2002 at 09:03 AM.
 
Old 07-18-2002, 09:50 AM   #15
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Question

Ok, finally I decided to install kernel version 2.2.21.

Now when I boot I am not getting stuck with network, nflock, pcmcia. It seems to be alright except that my xconfiguration doesnt work anymore.

With my last kernel version (2.2.16-22) my xconfig worked after installing new NVIDIA drivers (kernel and GLX).

But now, with this new kernel version, it's not working anymore.

Is it just a configuration thing or is it more tricky ???
 
  


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
Conflict between network driver and PCMCIA driver dhave Slackware 2 10-06-2004 05:30 AM
Installing SuSe 9.1 on laptop with PCMCIA Alpha38 Linux - Laptop and Netbook 1 10-01-2004 02:01 PM
installing pcmcia driver nistelrooy Mandriva 1 09-30-2004 04:04 PM
PCMCIA WPC11 driver and pcmcia-cs Marcusj2 Linux - Hardware 1 01-05-2003 08:47 AM
Installing RH 7.2 on Toshiba laptop w/pcmcia cdrom bigslim Linux - Hardware 2 03-31-2002 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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