To upgrade to the latest kernel do the following:
Code: Select all
$ sudo slapt-get --update
$ sudo slapt-get --install kernel-huge kernel-headers kernel-modules kernel-firmware
Before you reboot, you are going to need to update the bootloader. If you are using lilo, then do the following:
If you are using elilo (not likely since you are using the non-smp kernel, ie old hardware) do this:
After your bootloader has been updated, then you can reboot. If you want or need to build some kernel modules ( i.e drivers) then you will need to install the kernel-source package.
Code: Select all
$ sudo slapt-get --install kernel-source
Since you are using a non-smp kernel, you are going to need to patch the kernel-headers in order to build modules. Assuming that you have upgraded to the 4.4.88 kernel you can find the README and patch for this here :
http://salix.enialis.net/i486/slackware ... -nosmp-sdk. You can accomplish this by doing the following:
Code: Select all
$ cd cd /usr/src/linux-4.4.88/
$ sudo wget http://salix.enialis.net/i486/slackware-14.2/patches/packages/linux-4.4.88/linux-4.4.88-nosmp-sdk/linux-4.4.88-smp-to-nosmp.diff.gz
$ sudo wget http://salix.enialis.net/i486/slackware-14.2/patches/packages/linux-4.4.88/linux-4.4.88-nosmp-sdk/patch-to-non-smp.sh
$ sudo sh patch-to-non-smp.sh
Once this is done you will be able to build and install modules without problems.