LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-07-2004, 10:33 AM   #1
lehumphr
Member
 
Registered: Sep 2003
Location: VA
Distribution: Fedora Core 2 (Tettnang)
Posts: 35

Rep: Reputation: 15
Question ATI Radeon 9600 XT on Fedora Core 2 with 2.6.7 kernel!! Need Help!?


I have downloaded the latest rpm from www.ati.com.

I have found a patch for the 2.6.7 kernel here Patch

I adhere to the following instructions:
1. I've downloaded fglrx-4.3.0-3.9.0.i386.rpm from http://www.ati.com
2. I've created file named fglrx.patch from the website text (just copy/paste)
3. rpm -Uvh --force fglrx-4.3.0-3.9.0.i386.rpm
4. cd /lib/modules/fglrx
5. patch -p1 < fglrx.patch
You should get message:

patching file agpgart_be.c
patching file firegl_public.c

6. bash make.sh
It should compile cleanly

7. bash ../make_install.sh

But this is what happens:
Step 5 gives me
[root@localhost build_mod]# patch -p1 < /tmp/fglrx-2.6.7.patch
patching file agpgart_be.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file firegl_public.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 2019 (offset 9 lines).
[root@localhost build_mod]# patch -p1 < /tmp/fglrx-2.6.7.patch
patching file agpgart_be.c
patching file firegl_public.c
Hunk #1 succeeded at 2019 (offset 9 lines)

If I do not assume -R the patch returns errors and is not applied at all.
Assuming I choose to use -R...I then move on to step 6.

I get this instead of a clean compile:
[root@localhost build_mod]# bash make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.7-1.494.2.2/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.

Been working on this for a while and either need a step by step guide to fix it or a step by step guide to return everything back to normal. I really appreciate any help I can get.




 
Old 08-07-2004, 11:29 AM   #2
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
Re: ATI Radeon 9600 XT on Fedora Core 2 with 2.6.7 kernel!! Need Help!?

Quote:
Originally posted by lehumphr
I have downloaded the latest rpm from www.ati.com.

I have found a patch for the 2.6.7 kernel here Patch

I adhere to the following instructions:
1. I've downloaded fglrx-4.3.0-3.9.0.i386.rpm from http://www.ati.com
2. I've created file named fglrx.patch from the website text (just copy/paste)
3. rpm -Uvh --force fglrx-4.3.0-3.9.0.i386.rpm
4. cd /lib/modules/fglrx
5. patch -p1 < fglrx.patch
You should get message:

patching file agpgart_be.c
patching file firegl_public.c

6. bash make.sh
It should compile cleanly

7. bash ../make_install.sh

But this is what happens:
Step 5 gives me
[root@localhost build_mod]# patch -p1 < /tmp/fglrx-2.6.7.patch
patching file agpgart_be.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file firegl_public.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 2019 (offset 9 lines).
[root@localhost build_mod]# patch -p1 < /tmp/fglrx-2.6.7.patch
patching file agpgart_be.c
patching file firegl_public.c
Hunk #1 succeeded at 2019 (offset 9 lines)

If I do not assume -R the patch returns errors and is not applied at all.
Assuming I choose to use -R...I then move on to step 6.

I get this instead of a clean compile:
[root@localhost build_mod]# bash make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.7-1.494.2.2/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.

Been working on this for a while and either need a step by step guide to fix it or a step by step guide to return everything back to normal. I really appreciate any help I can get.




Go to your make.sh file and find the line that says

drmincludes=

change the beginning of that line to read /usr/src/<your_linux_symlink_to_kernel_source>

leave the /drivers/char/drm part.
 
  


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
SuSe 9.0 (kernel: 2.6.8, xfree: 4.3.0.1) + ATI Radeon 9600 Pro mjoj Linux - Hardware 0 03-01-2005 05:58 AM
Xorg + Slack 9.1 + kernel 2.6.5 + ATI radeon 9600 thomeven Linux - Hardware 5 12-12-2004 01:58 PM
Problems with Fedora Core 2 + kernel-2.6.6-1.435 + ATI Radeon 9600 jatkins35 Fedora 4 07-08-2004 02:54 PM
ATI Radeon 9600XT with Fedora Core 2 and Kernel 2.6.6-1.427 yank2451 Linux - Hardware 0 06-13-2004 02:20 PM
3d support for radeon 9600 in fedora core 2 visvent Fedora 7 06-10-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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