LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-29-2001, 03:31 AM   #1
gogo
Member
 
Registered: Apr 2001
Posts: 117

Rep: Reputation: 15
Red face kernel-source + pcmcia


Hi,

I installed the kernel-source linux-2.4.7-12 and bin86 under /usr/src.

Then, I installed the pcmcia-cs-3.1.29 but failed to configure it in the end.

It showed that there are no

/usr/src/linux-2.4.7-12/include directory

and

/usr/src/linux-2.4.7-12/include/asm directory.

So, how can I fix it or I installed the wrong kernel-source tree?

If so, which one should I download from http://www.rpmfind.net/linux/rpm2htm...mit=Search+...

I am running redhat 7.2 with 2.4.7-10 i686 kernel on my notebook.

Could I ignore it and start to install the Lan card driver?

Any advice?

Thanks in advance.

gogo

 
Old 11-29-2001, 04:21 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Kernel source and headers have to match the kernel version your running, so you need to download and install src v 2.4.7-10 or upgrade your kernel to 2.4.7-12.
 
Old 11-29-2001, 04:35 AM   #3
gogo
Member
 
Registered: Apr 2001
Posts: 117

Original Poster
Rep: Reputation: 15
I installed the kernel-source-2.4.7-12.rpm and I removed it by

rpm -e kernel-source-2.4.7-12

But the directory kernel-2.4.7-12 is still there. I tried to remove it by rm -d kernel-2.4.7-12 but it said that it was linked and cannot be removed. There is nothing insides that folder.

How can I remove a dir completely?

Oh my god, I just removed the kernel-source 2.4.7-12 and re-installed 2.4.7-10 as I saw that there is a folder /usr/src/linux-2.4.7-10/include/asm-i386
under http://www.rpmfind.net//linux/RPM/re...7-10.i386.html

However, there is no such dir and I cannot make config the pcmcia-cs rpm. It showed that Linux tree /usr/src/linux-2.4.7-10 is incomplete or missing and told me to download it again!!

How can it happen?

Any solution????

Pls help me to download the asm dir.........pls........

Thanks in advance.

gogo
 
Old 11-29-2001, 04:40 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
To remove a directory do "rm -r *" as root. Get the 2.4.7-10 src rpm and reinstall it, if that was the kernel version installed when you did the system install then it should be on one of the CD's.
 
Old 11-29-2001, 04:54 AM   #5
gogo
Member
 
Registered: Apr 2001
Posts: 117

Original Poster
Rep: Reputation: 15
Sorry, where is the pcmcia source?

/etc/pcmcia?

*/pcmcia-cs-3.1.29/?

/usr/src/linux-2.4.7-10/pcmcia?

Any advice?

Thanks

gogo
 
Old 11-29-2001, 05:01 AM   #6
gogo
Member
 
Registered: Apr 2001
Posts: 117

Original Poster
Rep: Reputation: 15
How should uninstall / un-make the pcmcia-cs-3.1.29?

Thanks for help.

gogo
 
Old 11-29-2001, 05:15 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
If it's an rpm then the same way you uninstalled the kernel src rpm.
 
Old 11-29-2001, 09:40 PM   #8
gogo
Member
 
Registered: Apr 2001
Posts: 117

Original Poster
Rep: Reputation: 15
It is not rpm, I tar it to have a dir. Then I make configure it.

So, how should I remove it now?

or, I just rm -r them?

Thanks

gogo
 
Old 11-29-2001, 10:43 PM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Go into the directory where you did "make install" and do "make uninstall" as root.
 
Old 11-30-2001, 09:14 AM   #10
gogo
Member
 
Registered: Apr 2001
Posts: 117

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

I read the guideline http://pcmcia-cs.sourceforge.net/ftp...O-2.html#ss2.2 that there are 4 steps:

Unpack pcmcia-cs-3.1.?.tar.gz in /usr/src.

done.

Run ``make config'' in the new pcmcia-cs-3.1.? directory.

done.

Run ``make all'', then ``make install''.

error.

Customize the startup script and the option files in /etc/pcmcia for your site, if needed.

Not done.

So, I have not 'make all' and 'make install' successfully. I only make config.

Do I just 'make unconfig' or remain 'make uninstall'?

Thanks for your kind help.

gogo
 
Old 11-30-2001, 05:00 PM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
If all you did was ./configure then its not installed yet. You can try doing "make distclean" or just delete the files and untar the source to get a clean set.
 
Old 12-03-2001, 04:14 AM   #12
gogo
Member
 
Registered: Apr 2001
Posts: 117

Original Poster
Rep: Reputation: 15
Hi,

I removed the pcmcia3.29 version from my redhat 7.2.

I tried to use the default pcmcia under /usr/src/linux-2.4.7-10/drivers/pcmcia.

I copied the Orinoco lan card driver to this dir and make config.

However, there is an error:

Makefile:56:/Rules.make: No such file or dir
make *** No rule to make target '/Rules.make' . stop

So, I cannot install the lan card driver from the linux-2.4.7-10.

Where is the default pcmcia located?

Also, just like my previous thread, I want to install the updated pcmcia 3.29 version with the linux source tree 2.4.7-10.

It showed that the linux tree /usr/src/linux-2.4.7-10 which I downloaded from rpmfind.net is incomplete or missing!

The kernel header files are present, but not the full source code.

So, I tried both methods and still cannot config the Wireless lan card.

Do I need to upgrade the kernel to 2.4.7-12? If so, how can I do and compile it?

Also, when I typed make distclean, make xconfig or make menuconfig, it showed that "No rule to make target 'xconfig/disclean/menuconfig", what's wrong with this error message?

Thanks for help.

gogo
 
Old 12-03-2001, 04:54 PM   #13
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
You might want to try dumping the whole RH Rpm-fest and just download good old pristine source from kernel.org. Then grab the brand new pcmcia from sourceforge, which is 3.1.30. I have both of them running cleanly on a mandrake laptop that is grumpy in the least.

The problem I think you're having with getting pcmcia to work I experienced on this stack of old laptops I've been playing with. Redhat comes with the pcmcia support built into the 2.4.7 kernel which it ships with. Under pcmcia-cs, the card manager modules were tcic or i82365, which have been replaced by yenta_socket in the kernel, which I have never actually gotten to recognize the bus.

In order to get everything to work with the kernel you have now, you're going to have to recompile it with all of the pcmcia support left out (aside from wireless extensions and basically anything that says wavlan, lucent, or orinoco on it.) Then compile the pcmcia-cs package and go on from there. Also, in order to get cardmgr to load the whole orinoco_cs, hermes, orinoco family, you're going to have to stick a file called hermes.conf in /etc/pcmcia.

Actually, this last bit may be your only problem. For the motherload on wireless and Lucent gear go here.

Offhand, what flavor of card are you trying to get working? and in what mode? ibss, ap, bss?

Luck,

Finegan

Last edited by finegan; 12-03-2001 at 04:58 PM.
 
Old 12-03-2001, 06:21 PM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
aussie... so it was YOU who told him to just delete the source tree from the rpm?!

naughty boy!
 
Old 12-03-2001, 06:31 PM   #15
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Nooo...I told hin how to remove an rpm and in a different post how to remove some thing he downloaded as source.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debain kernel source or Linux kernel source? kushalkoolwal Debian 4 11-28-2005 01:56 PM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 10:28 PM
where can i get pcmcia-source from? h/w Linux - Newbie 1 09-10-2003 10:12 AM
pcmcia not in 2.4.20 source tree? slackfan Slackware 4 02-17-2003 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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