LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-23-2010, 11:20 PM   #1
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 27
Problem with installing video drivers


I recently installed Debian Squeeze and am having a bit of a problem. I downloaded my video driver from ATI's site and ran the installer. However, I got an error which stated: DKMS part of installation failed. Please refer to /usr/share/ati/fglrx-install.log for details

So I inspected it amongst the information I found:

[Error] Kernel Module : Failed to build fglrx-8.723 with DKMS


I've also gotten this error before (doing what, I can't remember anymore, I've done so much in the past several hours)

Code:
Error! Your kernel headers for kernel 2.6.32-trunk-amd64 cannot be found at
/lib/modules/2.6.32-trunk-amd64/build or /lib/modules/2.6.32-trunk-amd64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.32-trunk-amd64 package.
dpkg: error processing fglrx-modules-dkms (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up module-assistant (0.11.3) ...
Errors were encountered while processing:
fglrx-modules-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm guessing that kernel 2.6.32-trunk-amd64 is the crux of the problem. I can't seem to find any information about it online. Any help would be greatly appreciated.
 
Old 05-24-2010, 12:07 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Go to debian forums
don't join
search howtos
there
 
Old 05-24-2010, 12:07 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Do you have the linux-headers package corresponding to your kernel installed?

Evo2.
 
Old 05-24-2010, 12:11 AM   #4
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
Quote:
Go to debian forums
don't join
search howtos
there
Didn't find anything and nothing has come from asking on the forums.

I think my problems may be because /lib/modules/2.6.32-trunk-amd64 lacks a source folder.
 
Old 05-24-2010, 12:25 AM   #5
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Do you have backports installed?

http://packages.debian.org/search?keywords=fglrx-glx

Last edited by Mr-Bisquit; 05-24-2010 at 12:26 AM.
 
Old 05-24-2010, 12:45 AM   #6
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
I do not, I don't know much about them or how to install them. I'll give it a try tomorrow.
 
Old 05-24-2010, 12:50 AM   #7
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
Some random thoughts.

- You seem to lack package linux-headers-2.6.32-trunk-amd64. That will enable module-assistant to build anything, not just fglrx.

- Oddly, you can't install the above package and continue. This is why the kernel version now in testing is 2.6.32-3 (2.6.32-3-amd64 in your situation), and its headers are also in 2.6.32-3 version as well, so you can't get the -trunk ones from the repo

- You are not in the need for backports, because you are not on stable branch.

So I suggest moving to -3 version and running module-assistant from there.

Last edited by jim_p; 05-24-2010 at 12:51 AM.
 
Old 05-24-2010, 12:53 AM   #8
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
I'm sorry, how would I go about moving to version -3? I'm still kinda ignorant about the more technical side of Linux.
 
Old 05-24-2010, 02:03 AM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
aptitude install linux-image-2.6.32-3-amd64 linux-headers-2.6.32-3-amd64

Aptitude - Debian Wiki - http://wiki.debian.org/Aptitude

AtiHowTo - Debian Wiki - http://wiki.debian.org/AtiHowTo

Also take a look at smxi/sfgxi
 
Old 05-24-2010, 03:37 AM   #10
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
And to be safe for the next linux-image-whatever and linux-headers-whatever update, also install metapackages linux-image-2.6-amd64 and linux-headers-2.6-amd64.

They will always depend on the latest kernel and headers version that is on the repo.

(and sorry for my delay)
 
Old 05-24-2010, 10:40 PM   #11
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
Thanks for the help but I installed the liquorix kernel and after that installation of things went smoothly. However, there is another problem I have, I think it was actually bothering me when using my trunk kernel as well. An icon telling me that 13 package updates are available has been sitting on my panel. No matter how many times I try, they don't update. I looked at it again just a short while ago after updating my package list and saw that the number had been bumped up to 24. I tried to update again and three seem to have installed, however 21 are still there. I'm not even getting an error message, just that 0 packages have been updated.
 
Old 05-24-2010, 10:52 PM   #12
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
update-manager is an annoying piece of junk.


Use aptitude, aptitude update, aptitude full-upgrade
 
Old 05-24-2010, 11:18 PM   #13
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
That seems to have worked. I tried earlier with apt-get but it still didn't work. Once I used aptitude though it seemed to be fine.
 
Old 05-25-2010, 08:47 AM   #14
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
Alright, one last question and I think I'm good. Is there a way to add a keyboard binding to compiz so that I can open a terminal with a keyboard shortcut?
 
Old 05-25-2010, 06:43 PM   #15
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
ccsm --> Commands.
 
  


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
Problem with Installing video drivers in two diferents kernel SOLVED!!! miros84 Linux - Hardware 9 01-09-2010 01:50 PM
Problem installing video card drivers! poler8tor Linux - Software 4 01-07-2005 01:43 AM
Problem installing video card drivers! poler8tor Linux - Hardware 0 01-06-2005 07:26 PM
installing video drivers dave247 Linux - Software 4 05-05-2004 02:22 PM
Installing Video Drivers PDog Linux - Software 2 10-23-2003 10:52 PM

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

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