LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 03-18-2009, 03:46 PM   #1
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,139

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Compile errors on Radeon Drivers . Any LMKL Junkies around?


I'm trying for the proprietary ATI/Radeon/AMD drivers and they keep falling over in the kernel compile. Doing a manual compile with rubbish piped to a file, I finally see

1. bounds.h not found :-o.

2. mmzone.h MAX_NR_ZONES not defined (warniongs, and errors on this point)

3. mm.h NR_PAGEFLAGS not defined.

This stuff, I gather is all to do with memory allocation in the upper echelons beyond your average 32 bit machine. My laptop has an AMD RS690/SB600 chipset which includes an RS690M (=Radeon X1250) in the Northbridge. I can boot the X server on the xf86-video-radeonhd driver, but it's not encouraging.

Where next? Google says Everyone has trouble, but all the answers seem different.
 
Old 03-20-2009, 04:47 AM   #2
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
Did you install the linux-headers packages? On my debian system the linux kernel headers are found in /usr/src/linux-headers-$(uname -r)/include/linux so check if you have yours installed. Then, try to find from the error messages where exactly the compilation system expects the headers to be, and make a symbolic link from that directory to the directory where the files really are.

Also, if you need more help, it's best if you copy-paste the errors from the build and we can find more hints in them.
 
Old 03-21-2009, 08:21 AM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,139

Original Poster
Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Yes, I have the linux headers. This is 64bit. I actually got the driver in and compiled yesterday. Apparently it fell over if I switched console focus away from it :-/. The 64 bit route is still awkward, as I am finding out. It's even odder with debian, because most distros use /usr/lib for 32 bit libs and /usr/lib64 for 64 bit. But 64 bit debian uses /usr/lib32 for 32 bit and /usr/lib for 64 bit from what I read.

I have slamd64 running. Ubuntu was a disaster on this boz. I may try Fedora as well. Thanks for the effort. From previous hard experience I know you need a compiled kernel source to make these proprietaruy drivers compile. I would love to use the xf86-video-radeonhd but it tells me No dri, and no reasons why. The fglrx ati driver gives a whopping 275 frames/sec :-((. But at least it is dri.
 
Old 03-23-2009, 04:22 PM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,139

Original Poster
Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Thumbs up Sorted this

I have the drivers compiled. I needed a compiled kernel source, of course. When compiling the ati stuff, it hangs at 83% for some time. You have to stay on that console and don't switch focus. I was doing three or four things together, and I'd come back and find it hung. Just be patient,
 
  


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
Linux junkies and programmers roach7711x General 1 02-22-2009 03:00 PM
Desktop goes white after change to Radeon drivers on a ATI Radeon Mobility x600 Plasmarobo Linux - Laptop and Netbook 2 10-30-2008 08:59 AM
Hello, fellow Linux junkies! spinelli LinuxQuestions.org Member Intro 2 02-24-2007 05:30 AM
madwifi drivers on debian (compile errors) Erik Thorsson Linux - Wireless Networking 3 01-08-2005 10:50 PM
Compile Kernal with New Drivers...How to add drivers? scgadgets Linux - General 4 09-19-2001 09:27 PM


All times are GMT -5. The time now is 10:35 AM.

Main Menu
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