LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 08-30-2010, 07:01 PM   #1
oneFishtwoFish
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Trying to install ethernet adapter driver, not finding kernel-devel or kernel-headers


I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized). I tried using:

'make install'

but hit an error "Makefile:61: *** Linux kernel source not found." After this, I tried:

'sudo yum install kernel-devel kernel-headers'

to rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?

Last edited by oneFishtwoFish; 08-30-2010 at 07:05 PM. Reason: easier readability
 
Old 08-30-2010, 07:31 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Since you're using the RHEL, which include RH support, you should ask RH to provide the support for which you payed.

And the Gigabit drivers are, I believe, included in most recent kernel releases so you should not need to compile your own version unless you're running a really old kernel.

You could try yum install kernel-devel-`uname -r` kernel-headers-`uname -r` to see if they exist for your specific kernel. (Note that the uname -r command is surrounded by back-quotes, nor single-quotes.)

Also, note that there is a RHEL sub-forum to which you should have posted your query.
 
Old 08-30-2010, 08:03 PM   #3
oneFishtwoFish
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
I get the error "No package kernel-devel-2.6.18-194.el5PAE available" when I try that. My RHEL distribution is through my university, so they would forward the question to Red Hat (eventually), so I thought I would try here first. Thanks for the help!

The reason I think it doesn't have the driver is when I go System -> Administration -> Network -> Devices (New) -> Ethernet Connection, there is a large list in a dropdown menu of various adapters, and there are no Atheros branded adapters listed. Some that are listed are 3Com, Alteon, Apple, PCMIA, RealTek, etc branded adapters. Am I right in thinking that my hardware's driver isn't installed?

Would it be appropriate to delete it from this forum and repost to the RHEL subforum? I wasn't sure if it was a general Linux issue, an issue with RHEL, or with my hardware.

Last edited by oneFishtwoFish; 08-30-2010 at 08:09 PM.
 
Old 08-31-2010, 10:53 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
First, this is definitely a Red Hat issue. But you don't need to delete and repost. Just "report" your thread and ask the moderator(s) to move it to the "Red Hat" forum.

The form of the `uname -r` output you posted (2.6.18-194.el5PAE) looks strange to me. I don't use RHEL, so this is from looking at the CentOS and Fedora repositories, where the usual format would be <kernel>.<version>.<architecture>, so I'd expect to see something like 2.6.18-194.el5PAE.i586 Of course, using a PAE kernel on a 64bit kernel release doesn't make too much sense unless you've got more than 16Gb of RAM. (That 16Gb is if I recollect correctly. I only have 4Gb in this laptop, so I've never needed a PAE kernel.)
 
Old 08-31-2010, 03:28 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
As requested, moved to Red Hat
 
Old 08-31-2010, 07:24 PM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Code:
yum install kernel-devel kernel-headers
is enough. BUT if you have any other network connection, like wireless, and ONLY if you registered your RHEL system. If you do not want to register, use CentOS, free version of RHEL.

If yo can not register, use kernel-devel and kernel-headers rpm's from RHEL dvd to install those packages so you can register and update your system.
 
  


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
RHEL4 Kernel -devel/headers packages ...missing directories max_cherry Red Hat 4 01-15-2009 10:53 PM
NVIDIA driver install --- kernel headers not configured killall Slackware 6 10-16-2008 04:57 PM
Kernel-devel, kernel-headers mickeyboa Mandriva 4 03-02-2007 12:44 AM
Finding the kernel headers needed for Ndiswrapper? gandhi Debian 2 03-19-2005 09:02 PM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 09:27 PM


All times are GMT -5. The time now is 01:29 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration