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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
07-16-2002, 08:25 AM
|
#1
|
Member
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41
Rep:
|
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
|
|
|
07-16-2002, 08:34 AM
|
#2
|
Member
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600
Rep:
|
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...
|
|
|
07-16-2002, 08:45 AM
|
#3
|
Member
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41
Original Poster
Rep:
|
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
|
|
|
07-16-2002, 11:33 AM
|
#4
|
Member
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600
Rep:
|
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
|
|
|
07-16-2002, 04:59 PM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
07-16-2002, 05:32 PM
|
#6
|
Member
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600
Rep:
|
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
|
|
|
07-16-2002, 05:40 PM
|
#7
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
07-16-2002, 05:47 PM
|
#8
|
Member
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600
Rep:
|
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
|
|
|
07-17-2002, 08:07 AM
|
#9
|
Member
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41
Original Poster
Rep:
|
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.
|
|
|
07-17-2002, 08:23 AM
|
#10
|
Member
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600
Rep:
|
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
|
|
|
07-17-2002, 08:44 AM
|
#11
|
Member
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41
Original Poster
Rep:
|
Is the version 2.4.18 not good ??
|
|
|
07-17-2002, 02:21 PM
|
#12
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
07-17-2002, 04:37 PM
|
#13
|
Member
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41
Original Poster
Rep:
|
I will try
Thanks for your time.
|
|
|
07-18-2002, 08:59 AM
|
#14
|
Senior Member
Registered: Jun 2001
Posts: 1,635
Rep:
|
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.
|
|
|
07-18-2002, 09:50 AM
|
#15
|
Member
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41
Original Poster
Rep:
|
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 ???
|
|
|
All times are GMT -5. The time now is 04:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|