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: 3,264

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

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

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

Offline

Help fund CrunchBang, donate to the project!

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

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

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,865

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

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

Offline

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

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

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

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

Offline

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

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

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

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: 3,264

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

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

Offline

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

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

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: 3,264

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

Offline

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

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

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: 3,264

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

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

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: 3,264

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

Offline

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

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

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

Offline

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

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

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

Offline

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

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

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

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: 3,264

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

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: 3,264

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: 3,264

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

Help fund CrunchBang, donate to the project!

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

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

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.
Server: bleh

Debian Logo