SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-06-29 13:54:12

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Error Installing Kernel 3.9-0.bpo.1-amd64

Note:  I'm running Wheezy with Debian Backports enabled.

I performed an aptitude full-upgrade earlier this morning and a new kernel was installed.

20130629_01_crunchbang11_aptitude_full_upgrade.jpg

An error occurred during the update:

20130629_01_crunchbang11_aptitude_full_upgrade.jpg

Following are the contents of the /var/lib/dkms/fglrx/8.97.100.7/build/make.log file:

DKMS make.log for fglrx-8.97.100.7 for kernel 3.9-0.bpo.1-amd64 (x86_64)
Sat Jun 29 08:48:06 EDT 2013
AMD kernel module generator version 2.1
kernel includes at /lib/modules/3.9-0.bpo.1-amd64/build/include not found or incomplete
file: /lib/modules/3.9-0.bpo.1-amd64/build/include/linux/version.h

I wasn't sure what that error was, or if it mattered, so I rebooted my computer and proceeded to re-install the ATI Catalyst software and driver v13.1.  During re-installation, I encountered the following error:

20130629_crunchbang11_Error_installing_ATI_Ca.jpg

Following are the contents of the /usr/share/ati/fglrx-install.log file:

Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/3.9-0.bpo.1-amd64/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

So it seems that the kernel headers didn't get installed or didn't get installed correctly, right?  If so, can this be corrected or is it breakage that I have to wait to be fixed?

Last edited by KrunchTime (2013-06-29 13:55:45)

Offline

Be excellent to each other!

#2 2013-06-30 02:27:38

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,963

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

My apologies but I'm having trouble making sense out of those screencaps. Do this and give us the output please:

sudo apt-get install linux-headers-$(uname -r)
cat /var/lib/dkms/fglrx/8.97.100.7/build/make.log

Oh and are you running the newer kernel when you install the headers and try to assemble fglrx?

Last edited by mynis01 (2013-06-30 02:32:35)

Offline

#3 2013-06-30 03:34:24

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,505

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

First better say ... Mynis01 knows more about this topic than I do. So does El_koraco ... might check out his thread in tips/tricks here. Don't know if it'll help, work for you etc., El_ has since moved on to other nixy video goodness.

Could also google/etc the following.

upgrading fglrx +new kernel

Seems a common problem, video driver might have to be reinstalled after new kernel upgrades. Am sure there's a better way to automate it. Never used smxi ... it's mentioned in that El_koraco sticky though. Not sure if smxi is still relevant in wheezy. Since you're saying Catalyst ... sounds like you got the driver from AMD's website ... or ? You think the new kernel headers didn't install or just that your catalyst driver is temp borked ?

Should be able to check which are installed with cmds like "apt-cache policy linux-header*" or "dpkg -l | grep linux-headers*

Either way, think I'd just purge the existing one and/or reinstall it. The new kernel boots ... but X won't start/work properly ? Can you boot into the new kern recovery mode or do as follows ? Logout ... go to tty1(single user) With Control + Alt + F1 ... login as root. Proceed to purge old driver and/or reinstall driver then type "reboot" to reboot the pc, select new kernel and hopefully works as it's supposed to. Should've left this up to folks who KNOW ie: Mynis + many others. Am speculating vs. knowing. Hopefully helps in some way. Should give you some things to look over ... if nothing else Krunch.

Shutting it now ... VLL! wink


PS ... nope inevitable babble edit: tongue

This laptop is in the same situation ... AMD/ati radeon so have looked in the subject a bit, catalyst vs fglrx. Seemed like more headache than was willing to deal with for the time being. Fglrx is working ok for me right now, so have shelved learning about the subject atm. Ok ... now shutting it ...

Last edited by CBizgreat! (2013-06-30 03:45:30)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#4 2013-07-03 03:22:32

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

mynis01 wrote:

My apologies but I'm having trouble making sense out of those screencaps. Do this and give us the output please:

sudo apt-get install linux-headers-$(uname -r)
cat /var/lib/dkms/fglrx/8.97.100.7/build/make.log

Oh and are you running the newer kernel when you install the headers and try to assemble fglrx?

I haven't tried installing the Linux headers yet.  However, I was running the newer kernel (I rebooted after the update) when I attempted to re-install the AMD (ATI) Catalyst software and driver.

Offline

#5 2013-07-03 03:37:22

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

CBizgreat! wrote:

Seems a common problem, video driver might have to be reinstalled after new kernel upgrades.

I read that somewhere not too long ago, which is why I was attempting to reinstall the AMD (ATI) Catalyst software and driver.

CBizgreat! wrote:

Since you're saying Catalyst ... sounds like you got the driver from AMD's website ... or ?

Yes, got the software and driver from AMD's site.  It's the same software and driver that I initially installed after installing Waldorf.

CBizgreat! wrote:

You think the new kernel headers didn't install or just that your catalyst driver is temp borked ?

Actually both.  I'm thinking (not sure) that the kernel headers may not have installed correctly based on the logs (make.log and fglrx-install.log) and the Catalyst install error.  The AMD driver may be temporarily borked because when I boot into the new kernel, my laptop fan constantly runs.  Based on past experience, the constantly running fan is a sign of an issue with the graphics driver or lack thereof.

CBizgreat! wrote:

The new kernel boots ... but X won't start/work properly ? Can you boot into the new kern recovery mode or do as follows ?

Kernel boots fine and X starts and works properly.  However, per my previous response, the fan constantly runs.  If I boot into the older kernel (3.2.0-4-amd64), the fan doesn't constantly run.

Last edited by KrunchTime (2013-07-03 03:43:51)

Offline

#6 2013-07-03 04:46:21

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

mynis01 wrote:

My apologies but I'm having trouble making sense out of those screencaps. Do this and give us the output please:

sudo apt-get install linux-headers-$(uname -r)
cat /var/lib/dkms/fglrx/8.97.100.7/build/make.log

Oh and are you running the newer kernel when you install the headers and try to assemble fglrx?

2013_07_03_1372826221_643x329_scrot.jpg

Offline

#7 2013-07-03 17:31:34

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,963

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

You need to update linux-image first and then install the matching linux-headers. linux-image has been updated in the backports repos, that's why it's not working for you. And is there some reason you can't copy and paste terminal output? Why are you posting it as a screen shot?

Offline

#8 2013-07-03 18:52:31

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

@OP:
Please post output of

ls -al /usr/src

I have seen cases where the sources were not installed correctly and /usr/src/linux was not a symbolic link to the most recently installed kernel sources.

Here is the output of this command on my own system - a crunchbang stable system upgraded to sid:

total 14356
drwxr-xr-x  8 root root    4096 Jun 18 21:49 .
drwxr-xr-x 10 root root    4096 Mar 11 13:57 ..
lrwxrwxrwx  1 root root      25 Jun 18 21:49 linux -> linux-headers-3.9-1-amd64
drwxr-xr-x  4 root root    4096 May 16 12:12 linux-headers-3.2.0-4-amd64
drwxr-xr-x  4 root root    4096 May 16 12:12 linux-headers-3.2.0-4-common
drwxr-xr-x  4 root root    4096 Jul  1 10:25 linux-headers-3.9-1-amd64
drwxr-xr-x  4 root root    4096 Jul  1 10:25 linux-headers-3.9-1-common
lrwxrwxrwx  1 root root      23 Jun 24  2012 linux-kbuild-3.2 -> ../lib/linux-kbuild-3.2
lrwxrwxrwx  1 root root      23 Jun  3 20:18 linux-kbuild-3.9 -> ../lib/linux-kbuild-3.9
lrwxrwxrwx  1 root root      34 May 27 14:07 linux-OLDVERSION.1371584980 -> /usr/src/linux-headers-3.8-2-amd64
drwxr-xr-x  3 root src     4096 May 12 23:55 modules
-rw-r--r--  1 root root 5793932 May 27 14:08 nvidia-kernel-3.8-2-amd64_304.88-3+3.8.13-1_amd64.deb
-rw-r--r--  1 root root 8871662 May 12 23:55 nvidia-kernel.tar.bz2
drwxr-xr-x  2 root root    4096 Mar 25 10:04 sm-kernel-downloads

Last edited by xaos52 (2013-07-03 18:56:52)

Offline

#9 2013-07-03 19:19:49

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

mynis01 wrote:

You need to update linux-image first and then install the matching linux-headers. linux-image has been updated in the backports repos, that's why it's not working for you. And is there some reason you can't copy and paste terminal output? Why are you posting it as a screen shot?

How do you update the linux-image?  I'm not quite sure I understand.  Shouldn't aptitude full-upgrade have taken care of this?

"And is there a reason..."  It takes up more space.  Is there something wrong with posting as a screenshot?

Offline

#10 2013-07-03 19:21:14

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

@xaos52:  I'm not currently sitting at the laptop having the issue.  I'll have to respond later with the output.

20130704-01 edit:  Okay, following are the results of the command:

total 32
drwxr-xr-x  8 root root 4096 Jun 29 08:46 .
drwxr-xr-x 11 root root 4096 Apr 26 20:30 ..
drwxr-xr-x  2 root root 4096 Apr 26 20:30 ati
drwxr-xr-x  3 root root 4096 Apr 26 20:30 fglrx-8.97.100.7
drwxr-xr-x  4 root root 4096 Jun 17 22:16 linux-headers-3.2.0-4-amd64
drwxr-xr-x  4 root root 4096 Jun 17 22:16 linux-headers-3.2.0-4-common
drwxr-xr-x  4 root root 4096 Jun 29 08:46 linux-headers-3.9-0.bpo.1-amd64
drwxr-xr-x  4 root root 4096 Jun 29 08:46 linux-headers-3.9-0.bpo.1-common
lrwxrwxrwx  1 root root   23 Jun 23  2012 linux-kbuild-3.2 -> ../lib/linux-kbuild-3.2
lrwxrwxrwx  1 root root   23 Jun 22 06:42 linux-kbuild-3.9 -> ../lib/linux-kbuild-3.9
lrwxrwxrwx  1 root root   32 Apr 12 08:53 vboxhost-4.2.12 -> ../share/virtualbox/src/vboxhost

Last edited by KrunchTime (2013-07-04 04:46:21)

Offline

#11 2013-07-04 06:50:42

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

The linux symlink is missing.

cd /usr/src
sudo ln -sf linux-headers-3.9-0.bpo.1-amd64 linux

Check with 'ls -al' that the linux symlink is there and now rebuild the kernel module.

Offline

#12 2013-07-04 07:26:15

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

xaos52 wrote:

The linux symlink is missing.

cd /usr/src
sudo ln -sf linux-headers-3.9-0.bpo.1-amd64 linux

Check with 'ls -al' that the linux symlink is there and now rebuild the kernel module.

Thanks!  It sure would be nice to know what caused this.

How do you rebuild the kernel module, re-install it?

Offline

#13 2013-07-04 07:33:50

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

Offline

#14 2013-07-04 07:43:36

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

Thanks for all of your help, xaos52.  It's too late to play with this now.  I'll have to make time later.

Offline

#15 2013-07-04 09:23:31

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

No problem. smile

See this post for more info.

Offline

#16 2013-07-05 04:07:13

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

xaos52 wrote:

No problem. smile

See this post for more info.

Whew!  That was much easier than the Debian Wiki link you sent me.

Offline

#17 2013-07-05 04:11:30

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

Okay, I followed xaos52's recommendations:

  1. Linked linux to newer kernel header

  2. Verified link

  3. Rebuilt the kernel

However, when I attempted to re-install the AMD Catalyst software and driver, I'm still getting the error I originally got:

Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/3.9-0.bpo.1-amd64/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

Offline

#18 2013-07-05 06:41:04

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

This may all be for naught, at least for the time being.  According to the following post on the Debian forums, the AMD driver cannot be installed (and possibly doesn't work?) with kernels > 3.4:

http://forums.debian.net/viewtopic.php? … 47#p482969

I wonder if the AMD driver is causing issues with the installation of the 3.9 kernel.  I wonder if I uninstalling the AMD driver will fix the issue I'm having with the 3.9 kernel.  The next question is, if the aforementioned does work, will I be able to re-install the AMD driver if I boot into the 3.2 kernel?

Last edited by KrunchTime (2013-07-05 06:47:30)

Offline

#19 2013-07-05 10:28:39

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

Post output of

ls -al /lib/modules/$(uname -r)/

There should be symbolic links to the installed linux headers there too.
Like in mine:

  /sudo:root@medion-vg10-waldorf:/lib/modules/3.9-1-amd64:
  total 3212
  drwxr-xr-x  3 root root   4096 Jul  1 10:25 .
  drwxr-xr-x  8 root root   4096 Jun  4 11:17 ..
  lrwxrwxrwx  1 root root     34 Jun 15 11:00 build -> /usr/src/linux-headers-3.9-1-amd64
  drwxr-xr-x 10 root root   4096 Jun  4 11:17 kernel
  -rw-r--r--  1 root root 780070 Jul  1 10:25 modules.alias
  -rw-r--r--  1 root root 765131 Jul  1 10:25 modules.alias.bin
  -rw-r--r--  1 root root   2952 Jun 30 08:06 modules.builtin
  -rw-r--r--  1 root root   3719 Jul  1 10:25 modules.builtin.bin
  -rw-r--r--  1 root root 356349 Jul  1 10:25 modules.dep
  -rw-r--r--  1 root root 490386 Jul  1 10:25 modules.dep.bin
  -rw-r--r--  1 root root    353 Jul  1 10:25 modules.devname
  -rw-r--r--  1 root root 114854 Jun 30 08:06 modules.order
  -rw-r--r--  1 root root    131 Jul  1 10:25 modules.softdep
  -rw-r--r--  1 root root 327617 Jul  1 10:25 modules.symbols
  -rw-r--r--  1 root root 415127 Jul  1 10:25 modules.symbols.bin
  lrwxrwxrwx  1 root root     35 Jun 15 11:00 source -> /usr/src/linux-headers-3.9-1-common

Offline

#20 2013-07-05 20:26:39

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

@xaos52...Again, I'm currently using my other laptop, so I'll have to do this later and post the output.

07/05/2013-01 edit:  Output follows:


total 3248
drwxr-xr-x  4 root root   4096 Jun 29 08:47 .
drwxr-xr-x  5 root root   4096 Jun 29 08:45 ..
lrwxrwxrwx  1 root root     40 Jun 22 06:01 build -> /usr/src/linux-headers-3.9-0.bpo.1-amd64
drwxr-xr-x 10 root root   4096 Jun 29 08:46 kernel
-rw-r--r--  1 root root 780070 Jun 29 08:47 modules.alias
-rw-r--r--  1 root root 765131 Jun 29 08:47 modules.alias.bin
-rw-r--r--  1 root root   2952 Jun 22 06:01 modules.builtin
-rw-r--r--  1 root root   3719 Jun 29 08:47 modules.builtin.bin
-rw-r--r--  1 root root 356527 Jun 29 08:47 modules.dep
-rw-r--r--  1 root root 490694 Jun 29 08:47 modules.dep.bin
-rw-r--r--  1 root root    353 Jun 29 08:47 modules.devname
-rw-r--r--  1 root root 114854 Jun 22 06:01 modules.order
-rw-r--r--  1 root root    131 Jun 29 08:47 modules.softdep
-rw-r--r--  1 root root 343068 Jun 29 08:47 modules.symbols
-rw-r--r--  1 root root 429634 Jun 29 08:47 modules.symbols.bin
lrwxrwxrwx  1 root root     41 Jun 22 06:01 source -> /usr/src/linux-headers-3.9-0.bpo.1-common
drwxr-xr-x  3 root root   4096 Jun 29 08:47 updates

Last edited by KrunchTime (2013-07-06 02:36:49)

Offline

#21 2013-07-08 12:59:05

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

^ Looks OK.

How exactly do you rebuild the graphics driver?
Can you start the command from a terminal window, capture the complete output and post it here?

Tip: append

2>&1 | tee ./captured_output

to the command. This will showoutput in the terminal window and save it to the file ./captured.out.

Offline

#22 2013-07-09 04:45:29

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

I didn't rebuild the graphic driver.  I just attempted to re-install it...

sudo sh amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run

I'll attempt to re-install again with your suggestion and post the output.  However, I think we're beating a dead horse.  From some posts I've read in the Arch Linux and Ubuntu forums, the legacy AMD driver will not work in Linux kernels > 3.4.  Are you currently using the same driver in a kernel > 3.4?

Offline

#23 2013-07-09 07:35:07

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

Okay, your suggestion will not work (unless you know of something I don't) because the installer eventually goes into GUI mode and thus, nothing gets recorded in the output file.  However, here is what I was able to capture in the output file:

Created directory fglrx-install.fcaBpT
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-8.97.100.7....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
[31m AMD Catalyst(TM) Proprietary Driver Installer/Packager [0m
=====================================================================
Detected configuration:
Architecture: x86_64 (64-bit)
X Server: X.Org 6.9 or later 64-bit
loki_setup: directory: (null)
Removing temporary directory: fglrx-install.fcaBpT

Offline

#24 2013-07-09 10:56:16

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

I have no personal experience with AMD graphics drivers at all.
Nvidia only.

Have you tried using module-assistant to build fglrx. The build process works for me without problems, but perhaps that is not enough to get it working?

Offline

Be excellent to each other!

#25 2013-07-11 04:09:40

KrunchTime
#! Die Hard
From: Not Where I Belong
Registered: 2012-03-02
Posts: 1,942

Re: Error Installing Kernel 3.9-0.bpo.1-amd64

I wouldn't know how to use module-assistant to build fglrx.  Besides, fglrx was installed via the AMD Catalyst software and driver install.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo