LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-28-2006, 09:57 AM   #1
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Rep: Reputation: 19
yum kernel-devel wrong source


I have read several threads on this topic.

I am currently messing with FC5 on a HP Compaq nc4000 laptop.

I am trying to make madwifi-0.9.2 for my atheros AR5212 (lspci says) onboard wireless device.

It wouldn't compile with kernel 2.6.18.2200 - so I began the all too familiar and futile kernel fiddling which is gradually destroying my life.

I have rpm'd to kernel 2.6.17-1.2187 (which is in use on many of my other machines).

If I try to yum install kernel-devel, then it keeps installing the source for 2.6.18.2200 which I understand from other threads is standard behaviour (though not very helpful - why would you want to install a bunch of source for a kernel you don't have unless you're building a new one?).

Anyway.

If I try to rpm -ivh kernel-2.6.17-1.2187_FC5.src.rpm then it spits out a load of brewer warnings and rapidy zips through the progress hashes and exits having done nothing. When I look in /usr/src/kernels there is nothing there.

Can someone tell me what's going on with the source install problems above ? I run into these sort of problems every single time I mess with yum/kernel/rpm.

I just want to get my wifi working...
 
Old 10-28-2006, 11:55 AM   #2
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Quote:
Originally Posted by babysparrow
If I try to yum install kernel-devel, then it keeps installing the source for 2.6.18.2200 which I understand from other threads is standard behaviour (though not very helpful - why would you want to install a bunch of source for a kernel you don't have unless you're building a new one?).
If you want to install a lower version rpm which is available in the repository then you can do
yum install kernel-devel-2.6.17-1.2187_FC5.i686.rpm
else you can download and install with rpm -ivh kernel-devel-2.6.17-1.2187_FC5.i686.rpm
 
Old 10-29-2006, 03:48 AM   #3
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Original Poster
Rep: Reputation: 19
Fixed atheros install

Thanks sn68. I will no doubt need your advice again sometime in the future, however I gave up with trying to get the source for 2.6.17-1.2187.

I went back to kernel 2.6.18-2200_FC5. Then I yummed the kernel-devel. This got me back to square one.

I could not compile madwifi-0.9.2 - there's an error (sorry no details).

I got the correct rpms (from http://atrpms.net/dist/fc5/madwifi) for my arch/kernel version / madwifi version. There are three to install in all (carefully selected from a list of about 85!!).

There is a circular reference in the kmdl & hal-kmdl rpms so I needed to install with --nodeps option (which I don't like doing).

Once this was done, I eventually got the card working - just about. I now need to try get the thing configured properly in /etc/sysconfig/networking - which I can do.

I don't intend to be in anyway disrepectful to the excellent work of the driver programmers & engineers out there but - am I the only one who thinks wifi support in Linux is just too flaky for Joe Public?

I would have thought that after the installer got the hdd/monitor/keyboard/mouse working, wifi would be next (?!?!?!?!).
 
  


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
Need help with yum install kernel-devel buckwheat12 Fedora 9 12-28-2006 02:16 PM
kernel-source with yum TranceDude Linux - Software 2 09-12-2005 11:24 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
why doesn't yum know about kernel-source? adrian_stephens Linux - Software 2 04-16-2005 04:15 AM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:04 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
Open Source Consulting | Domain Registration