Updated kernel packages (4.1.4)

Here you can post links to your contributed packages.
Post Reply
User avatar
gapan
Salix Wizard
Posts: 5490
Joined: 6. Jun 2009, 17:40

Updated kernel packages (4.1.4)

Post by gapan » 4. Aug 2015, 17:57

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
Image
Image

User avatar
ChuangTzu
Donor
Posts: 327
Joined: 19. May 2015, 23:34

Re: Updated kernel packages (4.1.4)

Post by ChuangTzu » 4. Aug 2015, 18:35

Thank you gapan.

User avatar
maximus
Posts: 141
Joined: 2. Sep 2009, 01:41

Re: Updated kernel packages (4.1.4)

Post by maximus » 10. Aug 2015, 18:45

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.

User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: Updated kernel packages (4.1.4)

Post by jsfarinet » 25. Sep 2015, 21:51

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!

User avatar
gapan
Salix Wizard
Posts: 5490
Joined: 6. Jun 2009, 17:40

Re: Updated kernel packages (4.1.4)

Post by gapan » 25. Sep 2015, 22:03

jsfarinet wrote:Does that mean, i should stick with the original kernel headers (3.10 or so) ?
Yes. Definitely.
Image
Image

User avatar
maroman
Posts: 23
Joined: 12. Apr 2015, 15:11
Contact:

Re: Updated kernel packages (4.1.4)

Post by maroman » 27. Sep 2015, 05:17

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,
ride your bike
--
salix 14.1 (fluxbox, mate) on ancient boxes

User avatar
gapan
Salix Wizard
Posts: 5490
Joined: 6. Jun 2009, 17:40

Re: Updated kernel packages (4.1.4)

Post by gapan » 27. Sep 2015, 09:57

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.
Image
Image

Post Reply