Page 1 of 1

Updated kernel packages (4.1.4)

Posted: 4. Aug 2015, 17:57
by gapan
OK, so kernel 4.1.x looks like is going to be an LTS kernel. I packaged the latest for anyone interested. You can find the packages here:
http://people.salixos.org/gapan/kernel-4.1.4

32bit packages are marked as i686 (sorry no i486) and 64bit as x86_64, as usual. The kernel-firmware package works on both. You'll need to install all 3 (kernel-huge, kernel-modules, kernel-firmware) and replace your existing kernel packages.

Don't forget to update lilo once you do:

Code: Select all

sudo lilo -v
or on EFI systems, copy the vmlinuz-huge-4.1.4 file to the EFI directory:

Code: Select all

sudo cp /boot/vmlinuz-huge-4.1.4 /boot/efi/EFI/Salix/vmlinuz

Re: Updated kernel packages (4.1.4)

Posted: 4. Aug 2015, 18:35
by ChuangTzu
Thank you gapan.

Re: Updated kernel packages (4.1.4)

Posted: 10. Aug 2015, 18:45
by maximus
Thanks gapan! Supports my Z97-E motherboard well.

After installing Salix and these kernel packages, I compiled the latest Nvidia kernel module/drivers, and had to perform a couple of extra steps which I'm listing below for anyone else in the same situation. These instructions refer to a fresh installation: you might need to adjust slightly for your purposes.

In the absence of a kernel-source package for the 4.1.4 kernel, we need to download the source for the kernel and extract it to /usr/src/

Code: Select all

wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.1.4.tar.xz
sudo tar xf linux-4.1.4.tar.xz -C /usr/src/
sudo ln -sf /usr/src/linux-4.1.4 /usr/src/linux


Now some files need to be created so the the Nvidia installer can successfully compile the kernel module. To do that, we also need the kernel config, which can be found under /proc

Code: Select all

sudo zcat /proc/config.gz > /usr/src/linux/.config
cd /usr/src/linux

#Fixes error "include/generated/autoconf.h or include/config/auto.conf are missing"
sudo make oldconfig && make prepare

#Fixes a further error regarding missing scripts
sudo make scripts


Now it should be possible to run the Nvidia installer successfully. It was for me at least :)

On a side note, I initially made the mistake of thinking that the reason it wasn't installing was that I also needed the kernel-headers package for 4.1.4. They are NOT necessary; upgrading the headers would also require upgrading glibc. The kernel-headers provided with the default install are all that are required.

Re: Updated kernel packages (4.1.4)

Posted: 25. Sep 2015, 21:51
by jsfarinet
maximus wrote: [ ... ]
On a side note, I initially made the mistake of thinking that the reason it wasn't installing was that I also needed the kernel-headers package for 4.1.4. They are NOT necessary; upgrading the headers would also require upgrading glibc. The kernel-headers provided with the default install are all that are required.
First of all thanks to you!

Does that mean, i should stick with the original kernel headers (3.10 or so) ?

TIA!

Re: Updated kernel packages (4.1.4)

Posted: 25. Sep 2015, 22:03
by gapan
jsfarinet wrote:Does that mean, i should stick with the original kernel headers (3.10 or so) ?
Yes. Definitely.

Re: Updated kernel packages (4.1.4)

Posted: 27. Sep 2015, 05:17
by maroman
gapan, do you intend to update kernel packages? at the moment 4.1.8 has longterm status.

and I do not understand why headers are not updated. as a matter of fact they are completely not needed for standard (=just for mailing, internet, some document editions and so on) everyday os usage.

cheers,

Re: Updated kernel packages (4.1.4)

Posted: 27. Sep 2015, 09:57
by gapan
maroman wrote:gapan, do you intend to update kernel packages?
No, not at every single point release.
maroman wrote:at the moment 4.1.8 has longterm status.
It's the 4.1.x series that has longterm status, not 4.1.8 specifically.
maroman wrote:and I do not understand why headers are not updated.
The kernel-headers package is tied to the glibc package, not the kernel itself. If you don't update glibc, you don't update kernel-headers.
maroman wrote:as a matter of fact they are completely not needed for standard (=just for mailing, internet, some document editions and so on) everyday os usage.
They are absolutely needed if you want to compile anything. So they are absolutely needed if you want to install anything using slapt-src/sourcery.