LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-31-2014, 06:39 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Rep: Reputation: 0
Install of catalyst after current upgrade


I'm installing Catalyst and I receive this error.
AMD kernel module generator version 2.1
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as "3.14.13"
instead of "3.10.17".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
ERROR: I didn't make module
[Error] Generate Package - error generating package : Slackware/Slackware

Never really messed with symlinks and it always confused me. Sure it's an easy fix.
 
Old 07-31-2014, 06:54 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
Could you post output of
Code:
ls /var/log/packages/kernel-*
 
Old 07-31-2014, 06:59 PM   #3
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
bash-4.3$ ls /var/log/packages/kernel-*
/var/log/packages/kernel-firmware-20131008git-noarch-1
/var/log/packages/kernel-firmware-20140710git-noarch-1
/var/log/packages/kernel-generic-3.10.17-x86_64-3
/var/log/packages/kernel-headers-3.14.13-x86-1
/var/log/packages/kernel-huge-3.10.17-x86_64-3
/var/log/packages/kernel-huge-3.14.13-x86_64-1
/var/log/packages/kernel-modules-3.10.17-x86_64-3
/var/log/packages/kernel-modules-3.14.13-x86_64-1
/var/log/packages/kernel-source-3.14.13-noarch-1
 
Old 07-31-2014, 07:11 PM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
I don't know if upgradepkg upgrades kernel packages as I used to compile and install kernels from kernel.org

What I think is you run kernel 3.10.17 while /usr/src/linux points to linux-3.14.13

But normally modules installers use include files from /lib/modules/`uname -r`/source/include

Could you post output of:
Code:
ls -al /usr/src
edit, and to make sure, output of
Code:
uname -r

Last edited by keefaz; 07-31-2014 at 07:15 PM.
 
Old 07-31-2014, 07:18 PM   #5
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
bash-4.3$ ls -al /usr/src
total 12
drwxr-xr-x 3 root root 4096 Jul 31 15:23 .
drwxr-xr-x 17 root root 4096 Sep 24 2013 ..
lrwxrwxrwx 1 root root 13 Jul 31 15:23 linux -> linux-3.14.13
drwxr-xr-x 24 root root 4096 Jul 23 13:34 linux-3.14.13
bash-4.3$ uname -r
3.10.17

I just thought, maybe it's because I booted into the old kernel entry in my lilo.conf
that has 3.10.17
 
Old 07-31-2014, 07:20 PM   #6
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
Yep, you could try another lilo entry for kernel 3.14.13 in lilo.conf, run lilo and reboot then select that new entry

Last edited by keefaz; 07-31-2014 at 07:21 PM.
 
Old 07-31-2014, 07:32 PM   #7
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by keefaz View Post
Yep, you could try another lilo entry for kernel 3.14.13 in lilo.conf, run lilo and reboot then select that new entry
Did that, tried again and this came up:

AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.14.13/build SUBDIRS=/home/pino/Downloads/fglrx-14.20/fglrx-install.n6IDxa/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.14.13'
CC [M] /home/pino/Downloads/fglrx-14.20/fglrx-install.n6IDxa/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/home/pino/Downloads/fglrx-14.20/fglrx-install.n6IDxa/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':
/home/pino/Downloads/fglrx-14.20/fglrx-install.n6IDxa/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1787:5: error: incompatible types when returni$
return current_euid();
^
/home/pino/Downloads/fglrx-14.20/fglrx-install.n6IDxa/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1793:1: warning: control reaches end of non-vo$
}
^
make[2]: *** [/home/pino/Downloads/fglrx-14.20/fglrx-install.n6IDxa/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/home/pino/Downloads/fglrx-14.20/fglrx-install.n6IDxa/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-3.14.13'
make: *** [kmod_build] Error 2
build failed with return value 2
ERROR: I didn't make module
[Error] Generate Package - error generating package : Slackware/Slackware

I'm at a loss as to what to do from here.
 
Old 07-31-2014, 07:50 PM   #8
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
I don't know, I see...
Quote:
/fglrx/build_mod/2.6.x
Isn't a module version for kernel 2.6x ?

edit, after quick googlin' see:
https://bbs.archlinux.org/viewtopic.php?id=179894

Last edited by keefaz; 07-31-2014 at 07:52 PM.
 
Old 07-31-2014, 08:18 PM   #9
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Ok, but how would I fix it? I don't have a /lib/modules/fglrx directory.
 
Old 07-31-2014, 08:24 PM   #10
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
The code to change is in this file:
/home/pino/Downloads/fglrx-14.20/fglrx-install.n6IDxa/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c
 
Old 07-31-2014, 08:30 PM   #11
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
This is all that exists in the fglrx directory in my downloads.

bash-4.3$ ls /home/pino/Downloads/fglrx*
amd-driver-installer-14.20-x86.x86_64.run check.sh doc
 
Old 07-31-2014, 10:37 PM   #12
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: FreeBSD 11.0-Current Slackware64-Current
Posts: 4,879
Blog Entries: 15

Rep: Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458
One ongoing issue with AMD drivers I should warn you about is the problem of Proprietary drivers and kernel updates.

Because -current is always in a state of change that could come at any time, especially the kernel, it's often best to stick to using the default X11/Mesa driver, and only use the proprietary drivers on the stable version-numbered releases, that is unless you keep a copy of the installer on hand and update the drivers when a new kernel is released.

Be warned though, not all up-to-date kernels are often supported by Proprietary drivers right away, so you're always taking a gamble.
 
  


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
slackware64-current w/ xorg-server-1.14 & AMD catalyst lanir Slackware 4 03-17-2013 08:21 AM
[SOLVED] Is Any Way to Make The AMD Catalyst Driver Compatible With Slackware Current Avaricia Slackware 11 02-13-2013 06:09 AM
[SOLVED] Catalyst 12.6 - Slackware current AlexSlack Slackware 8 07-25-2012 06:39 PM
[SOLVED] ati radeon hd6970 catalyst 12.4 blank screen at boot slackware current 3.2.13 kernel matters Slackware 8 06-14-2012 03:10 AM
Catalyst 8.4 no 3D acceleration after X.Org upgrade skatman1744 Linux - Hardware 0 05-11-2008 12:44 PM


All times are GMT -5. The time now is 07:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration