LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-14-2004, 02:10 AM   #1
svoltmer
Member
 
Registered: Apr 2004
Posts: 33

Rep: Reputation: 15
Locating my Kernel source for ATI driver recompile?


[root@localhost SRPMS]# find / -name kernel -print
/usr/share/doc/lm_sensors-2.8.6/doc/kernel
/lib/modules/2.6.7-1.494.2.2smp/kernel
/lib/modules/2.6.7-1.494.2.2smp/kernel/arch/i386/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/mips/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/arm26/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/m68k/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/arm/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/v850/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/cris/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/cris/arch-v10/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/h8300/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/um/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/x86_64/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/ppc/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/m68knommu/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/alpha/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/i386/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/sh64/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/s390/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/sh/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/ppc64/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/sparc/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/ia64/sn/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/ia64/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/sparc64/kernel
/lib/modules/2.6.7-1.494.2.2smp/build/arch/parisc/kernel
/lib/modules/2.6.5-1.358smp/kernel
/lib/modules/2.6.5-1.358smp/kernel/arch/i386/kernel
/lib/modules/2.6.5-1.358smp/build/kernel
/lib/modules/2.6.5-1.358smp/build/arch/mips/kernel
/lib/modules/2.6.5-1.358smp/build/arch/arm26/kernel
/lib/modules/2.6.5-1.358smp/build/arch/m68k/kernel
/lib/modules/2.6.5-1.358smp/build/arch/arm/kernel
/lib/modules/2.6.5-1.358smp/build/arch/v850/kernel
/lib/modules/2.6.5-1.358smp/build/arch/cris/kernel
/lib/modules/2.6.5-1.358smp/build/arch/cris/arch-v10/kernel
/lib/modules/2.6.5-1.358smp/build/arch/h8300/kernel
/lib/modules/2.6.5-1.358smp/build/arch/um/kernel
/lib/modules/2.6.5-1.358smp/build/arch/x86_64/kernel
/lib/modules/2.6.5-1.358smp/build/arch/ppc/kernel
/lib/modules/2.6.5-1.358smp/build/arch/m68knommu/kernel
/lib/modules/2.6.5-1.358smp/build/arch/alpha/kernel
/lib/modules/2.6.5-1.358smp/build/arch/i386/kernel
/lib/modules/2.6.5-1.358smp/build/arch/s390/kernel
/lib/modules/2.6.5-1.358smp/build/arch/sh/kernel
/lib/modules/2.6.5-1.358smp/build/arch/ppc64/kernel
/lib/modules/2.6.5-1.358smp/build/arch/sparc/kernel
/lib/modules/2.6.5-1.358smp/build/arch/ia64/sn/kernel
/lib/modules/2.6.5-1.358smp/build/arch/ia64/kernel
/lib/modules/2.6.5-1.358smp/build/arch/sparc64/kernel
/lib/modules/2.6.5-1.358smp/build/arch/parisc/kernel
/lib/modules/2.6.7-1.494.2.2/kernel
/lib/modules/2.6.7-1.494.2.2/kernel/arch/i386/kernel
/lib/modules/2.6.7-1.494.2.2/build/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/mips/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/arm26/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/m68k/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/arm/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/v850/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/cris/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/cris/arch-v10/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/h8300/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/um/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/x86_64/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/ppc/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/m68knommu/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/alpha/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/i386/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/sh64/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/s390/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/sh/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/ppc64/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/sparc/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/ia64/sn/kernel
I am trying to configure my ATI drivers to work with the 2.6.7 kernel, but I am fairly new to this and am having trouble locating the kernal source for the recompile. I did a "find" for kernel and this is what I got. What do I do now? Which of these directory paths lead to the correct kernel source?

/lib/modules/2.6.7-1.494.2.2/build/arch/ia64/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/sparc64/kernel
/lib/modules/2.6.7-1.494.2.2/build/arch/parisc/kernel
/lib/modules/2.6.5-1.358/kernel
/lib/modules/2.6.5-1.358/kernel/arch/i386/kernel
/lib/modules/2.6.5-1.358/build/kernel
/lib/modules/2.6.5-1.358/build/arch/mips/kernel
/lib/modules/2.6.5-1.358/build/arch/arm26/kernel
/lib/modules/2.6.5-1.358/build/arch/m68k/kernel
/lib/modules/2.6.5-1.358/build/arch/arm/kernel
/lib/modules/2.6.5-1.358/build/arch/v850/kernel
/lib/modules/2.6.5-1.358/build/arch/cris/kernel
/lib/modules/2.6.5-1.358/build/arch/cris/arch-v10/kernel
/lib/modules/2.6.5-1.358/build/arch/h8300/kernel
/lib/modules/2.6.5-1.358/build/arch/um/kernel
/lib/modules/2.6.5-1.358/build/arch/x86_64/kernel
/lib/modules/2.6.5-1.358/build/arch/ppc/kernel
/lib/modules/2.6.5-1.358/build/arch/m68knommu/kernel
/lib/modules/2.6.5-1.358/build/arch/alpha/kernel
/lib/modules/2.6.5-1.358/build/arch/i386/kernel
/lib/modules/2.6.5-1.358/build/arch/s390/kernel
/lib/modules/2.6.5-1.358/build/arch/sh/kernel
/lib/modules/2.6.5-1.358/build/arch/ppc64/kernel
/lib/modules/2.6.5-1.358/build/arch/sparc/kernel
/lib/modules/2.6.5-1.358/build/arch/ia64/sn/kernel
/lib/modules/2.6.5-1.358/build/arch/ia64/kernel
/lib/modules/2.6.5-1.358/build/arch/sparc64/kernel
/lib/modules/2.6.5-1.358/build/arch/parisc/kernel
/proc/sys/kernel
/etc/log.d/scripts/services/kernel
 
Old 08-14-2004, 11:58 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Your Kernel Source Is In /usr/src/
 
Old 08-15-2004, 10:28 PM   #3
Marlboro
LQ Newbie
 
Registered: Aug 2004
Location: Colombian mountains
Distribution: FC2
Posts: 11

Rep: Reputation: 0
exactly, or try using
slocate kernel-source-*
where * is the version you use
 
Old 08-16-2004, 02:30 PM   #4
philio
LQ Newbie
 
Registered: Jul 2004
Location: England
Distribution: Fedora
Posts: 24

Rep: Reputation: 15
To install the sourcecode if you havent got it:

yum install kernel-sourcecode

Download the latest driver (3.11.1) from Ati

Download this patch: fglrx-fedora.patch.gz

Then follow these instructions: http://fedorafaq.org/#radeon
 
  


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
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 01:34 AM
new driver kernel recompile talkinggoat Linux - Newbie 3 06-26-2005 02:26 PM
Kernel recompile with patch and custom driver Code_Zero Slackware 2 07-14-2004 10:04 PM
ati driver compiling with wrong kernel source madcow007 Linux - Hardware 7 02-15-2004 11:04 AM
rebuild linux kernel need to recompile all hardware driver? gsbarry Linux - Software 4 04-01-2003 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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