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.
Hi guys,
i have a simple question. I really wanna keep my current system new, so i run the update process regulary.
Question - do i have to update all kernels or is it ok to upgrade everything and leave the kernel/module/header version be?
so i realised better leave that 3 packages be and wait till the same version is available. Is this viable?
How often do you update your current system?
Do you update the new kernel every time?
-
EDIT: updated, restarted on kernel/modules/headers 5.10.6 with all new updated packages - seems to work fine.
Thanks!
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,081
Rep:
No, you don't have to upgrade the kernel every time a new version is available - at least not in my experience.
I can theoretically imagine some very rare instance where upgrades of other packages are dependent on the latest kernel, but can't remember that it has happened during the five years I've been running current. And should that happen I'm sure it would be stated in the changelog, which should always be checked before upgrading in order to avoid surprises.
I usually upgrade the kernel every fifth release, unless an upgrade solves an important security or stability issue in which case I upgrade immediately.
Hi guys,
i have a simple question. I really wanna keep my current system new, so i run the update process regulary.
Question - do i have to update all kernels or is it ok to upgrade everything and leave the kernel/module/header version be?
You don't have to BUT, you should. When you decided to start using -current, you also decide to start using a pre-release version of stable Slackware. In other words you are now a tester.
As for kernel-headers, not sure what you mean, I see all of the 5.10.8 kernel packages listed there.
How to you update? slackpkg?
I use slackpkg with slackpkg+. I also use a local mirror, so updates on my other computers that use -current can be done across my LAN.
Quote:
How often do you update your current system?
On this system, my daily use computer I update anytime there is an update available; unless I am in the middle of a process that can't be interrupted. I have other systems as well I general update right away also. I have one laptop I use for "work", that is updated less frequently but I never let it go to long.
Quote:
Do you update the new kernel every time?
On this system, yes. Just completed the Sun Jan 17 23:48:59 UTC 2021 update. All of my system that have -current installed, I actually don't "upgrade" the kernel (except for huge). I keep two kernels installed. For example before I did my upgrade I had 5.10.6 and 5.10.7 installed. The 5.10.7 kernel was the running kernel, the 5.10.6 was the last working kernel, a fall back kernel. Now the 5.10.7 is the last working kernel and 5.10.8 is the running kernel. The 5.10.6 kernel has been removed. When I boot I have three selections; Slackware64 (default), LastWorking and HugeKernel. Sometimes there is a fourth, TestKernel. I wrote a script that handles the kernel updates for me. Until recently I did that manually.
Last edited by chrisretusn; 01-18-2021 at 09:35 AM.
I update my -current systems as new updates arrive. I apply all updates. I don't think it's a good idea to have a partially up to date version of -current. You're now a beta tester.
Can u please post me the link to official fresh kernel/kernel modules?
Normally i am installing these with installpkg then lilo -v, and i am keeping 3 kernels as of now.
Quote:
Originally Posted by chrisretusn
How to you update? slackpkg?
Yes apart from kernel/modules i am using slackpkg and slackpkg+ with blacklisted kernel/modules.
I have now successfully updated to 5.10.8 and also run a full slackpkg update from "local" mirror in germany - tu-chemnitz.de, as the austrian mirror is not working at all.
Everything seems to work fine, ethernet, Wifi working, BUT the SIM-Data is sadly not working at all since the update. Can u point me to the right package?
I am on a lenovo thinkpad x250 with SIM Card port here.
This is the SIM Module: Sierra Wireless, Inc. Sierra Wireless EM7345 4G LTE
Thanks a lot for extensive answer!
EDIT: OK SIM working now. I took out the sim, tried it in a phone, sticked it back, restarted - works now.. very dubious... BUT it works
Problems will be software unrelated - probably some network problem with the SIM or something as i have never made a call with it..
Last edited by dubiousa; 01-19-2021 at 02:46 AM.
Reason: network data added
Can u please post me the link to official fresh kernel/kernel modules?
Normally i am installing these with installpkg then lilo -v, and i am keeping 3 kernels as of now.
Awesome on the three kernels. I'd only go with two though, one being the last working kernel, and the new one. If your going to have multiple kernels installed then your /etc/slackpkg/blacklist should include kernel-headers since they are also part of the kernel set of packages. Mostly for consistency. There are not a lot of changes in kernel-header, but it is paired with the kernel.
Yes apart from kernel/modules i am using slackpkg and slackpkg+ with blacklisted kernel/modules.
Since you are using slackpkg and slackpkg+, did you know you can use this to get the kernels from your selected mirror defined in /etc/slackpkg/mirrors.
This assumes you have USEBL=on (default) in slackpkgplus.conf. The USEBL=off tells tells slackpkg/slackpkg+ to not use the blacklist. If you use the first one above, you can just unselect kernel-firmware from the dialog list presented. The second will just populate the list with the given kernel packages.
Quote:
Everything seems to work fine, ethernet, Wifi working, BUT the SIM-Data is sadly not working at all since the update. Can u point me to the right package?
I am on a lenovo thinkpad x250 with SIM Card port here.
This is the SIM Module: Sierra Wireless, Inc. Sierra Wireless EM7345 4G LTE
What kernel do you normally run? Huge or generic?
If generic, have you tried using /usr/share/mkinitrd/mkinitrd_command_generator.sh to give you a list of options to use for mkinitrd? This is what /usr/share/mkinitrd/mkinitrd_command_generator.sh -c gives me on my Acer Laptop. I don't have a SIM port though. It may provide the correct module.
The kernels (huge or generic) may have been installed in special partitions, or changes modify the MBR (when lilo is used, no UEFI). On a SSD it is necessary to use fstrim regularly. How this can be done on special partitions or MBR ?
When using 'slackpkg download' the files are downloaded to their respective /var/cache/packages/slackware64/ package series directory. In the case of kernels 'a', 'd' and 'k'. When done using them to upgrade or install you will have to manually remove them. 'rm /var/cache/packages/slackware64/*/*' will do the job.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.