SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I upgraded to current last night. Everything went smoothly, I knew that catalyst would have to be re-installed due to an upgrade of mesa. I tried to reinstall but it failed.
"Error:
Kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as '3.14.5'
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
Any help is appreciated. I get confused when thinking about symlinks and the syntax involved. Any help is appreciated.
Most probably you didn't properly upgrade to -current (and in my opinion you should have better waited to do that to have some more experience with Slackware, but that's another story). My guess is that your kernel-* packages are not are not all at the same version.
To check please provide output of following command:
I'd assume you would have to remove the old ones (3.10.17) and create new ones (3.14.5)
It's a bad bad advice to do that manually. Instead, the OP should have installed the proper packages. Bear in mind that Slackware is not built as other distributions.
PS aaa_base that provides the symlinks didn't change from -14-1 to -current at time of writing and my first assumption would be that the kernel-source and the running kernel are not at the same version, hence the command I suggested Pinonoir to run.
Last edited by Didier Spaier; 06-12-2014 at 11:24 AM.
Reason: PS added.
It's a bad bad advice to do that manually. Instead, the OP should have installed the proper packages. Bear in mind that Slackware is not built as other distributions.
PS aaa_base that provides the symlinks didn't change from -14-1 to -current at time of writing and my first assumption would be that the kernel-source and the running kernel are not at the same version, hence the command I suggested Pinonoir to run.
It makes more sense now, I wasn't really sure of what was happening (hence the "I'd guess")
Sorry about the late reply and forgive the formatting, here is the output of ls -1 /var/log/packages/kernel* - /var/log/packages/kernel-firmware-20140506git-noarch-1
/var/log/packages/kernel-generic-3.10.17-x86_64-2
/var/log/packages/kernel-headers-3.14.5-x86-1
/var/log/packages/kernel-huge-3.10.17-x86_64-2
/var/log/packages/kernel-huge-3.14.5-x86_64-1
/var/log/packages/kernel-modules-3.10.17-x86_64-2
/var/log/packages/kernel-modules-3.14.5-x86_64-1
/var/log/packages/kernel-source-3.14.5-noarch-1
So your system is not consistent as you should have all kernel packages with the same version number. You are probably still running the kernel 3.10.17 but as the kernel source package was upgraded to 3.14.5, there is actually a version mismatch, thus the catalyst driver module can't be compiled. The error message is right, but the last part of it mis leaded you as the assumption it states that the symbolic links are bad is wrong.
My guess is that you made a kernel "upgrade" but probably not the right way as you installed the new kernel alongside the old one instead of replacing it. Also, you probably forgot to edit /etc/lilo.conf to replace the older kernel by the new one or you didn't run lilo after installing the new kernel. To make sure please provide also the output of following commands. The option of the "ls" commands is -l or hyphen followed by the letter l, not to confused by the digit 1:
Code:
uname -r
ls -l /usr/src
grep -A3 image /etc/lilo.conf
ls -l /boot/vmlinuz*
In addition it would be interesting to know which exact steps you took to make this kernel upgrade so we can tell you what was wrong in the procedure.
Last edited by Didier Spaier; 06-12-2014 at 10:59 PM.
In /etc/lilo.conf the stanzas beginning with
image = /boot/vmlinuz
and
image = /boot/vmlinuz-huge-3.14.5
are redundant as /boot/vmlinuz is a symbolic link to /boot/vmlinuz-huge-3.14.5
Anyhow, run this as root:
"lilo -t -v"
then if all goes well:
"lilo"
Then reboot and choose either Linux or New-Kernel, not Slackware (that is, do not use the old kernel).
Then, you can upgrade catalyst.
Last edited by Didier Spaier; 06-13-2014 at 01:14 AM.
I reinstalled the open source ati driver, It works and everything checks out. Also, using the latest firefox. I tried to install catalyst again and received the following from the /usr/share/ati/fglrx-install.log
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.5/build SUBDIRS=/home/pino/Downloads/fglrx-14.20/fglrx-install.37BFaH/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.14.5'
CC [M] /home/pino/Downloads/fglrx-14.20/fglrx-install.37BFaH/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/home/pino/Downloads/fglrx-14.20/fglrx-install.37BFaH/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':
/home/pino/Downloads/fglrx-14.20/fglrx-install.37BFaH/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1787:5: error: incompatible types when returning type 'kuid_t' but 'KCL_TYPE_Uid' was expected
return current_euid();
^
/home/pino/Downloads/fglrx-14.20/fglrx-install.37BFaH/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1793:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [/home/pino/Downloads/fglrx-14.20/fglrx-install.37BFaH/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.37BFaH/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-3.14.5'
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 reinstalled the open source ati driver, It works and everything checks out. Also, using the latest firefox. I tried to install catalyst again and received the following from the /usr/share/ati/fglrx-install.log
AMD kernel module generator version 2.1
...
make[1]: Leaving directory `/usr/src/linux-3.14.5'
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
As stated here, the latest fglrx driver supports kernel up to 3.11 (3.13 for beta). However, you can try to proceed as explained in this article to get latest fglrx to work with kernel 3.14.
I followed the instructions to the letter. Everything checked out. I even ran aticonfig --initial which went well. glxinfo said everything was good and direct rendering was enabled....then I rebooted. I checked glxinfo again and received a seg fault. I'm thinking about just reinstalling and sticking to stable as per the advice I received.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.