LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-18-2021, 02:44 AM   #1
dubiousa
Member
 
Registered: Jul 2020
Location: Crete
Distribution: Slackware-current_x86-64
Posts: 72

Rep: Reputation: Disabled
Question current updating and kernel


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?

today, i do have kernel 5.10.7
https://slackware.pkgs.org/current/slackware-x86_64/

but my mirror already has kernel-headers 5.10.8

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!

Last edited by dubiousa; 01-18-2021 at 02:52 AM.
 
Old 01-18-2021, 02:55 AM   #2
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,081

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
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.
 
Old 01-18-2021, 09:31 AM   #3
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by dubiousa View Post
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.

Quote:
today, i do have kernel 5.10.7
https://slackware.pkgs.org/current/slackware-x86_64/

but my mirror already has kernel-headers 5.10.8
I just finished upgrade to Sun Jan 17 23:48:59 UTC 2021 which includes 5.10.8, I was at 5.10.7

That link you posted is not an official mirror. You should be referencing ChangeLog.txt, not that site.
http://www.slackware.com/changelog/c...php?cpu=x86_64

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.
 
2 members found this post helpful.
Old 01-18-2021, 10:25 AM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,345

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by dubiousa View Post

How often do you update your current system?


Do you update the new kernel every time?
-
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.
 
1 members found this post helpful.
Old 01-19-2021, 01:35 AM   #5
dubiousa
Member
 
Registered: Jul 2020
Location: Crete
Distribution: Slackware-current_x86-64
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrisretusn View Post
That link you posted is not an official mirror. You should be referencing ChangeLog.txt, not that site.
http://www.slackware.com/changelog/c...php?cpu=x86_64
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 View Post
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
 
Old 01-19-2021, 03:37 AM   #6
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by dubiousa View Post
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.
Code:
kernel-generic
kernel-huge
kernel-modules
kernel-source
kernel-headers
You can pick from a list of official mirrors here.
https://mirrors.slackware.com/mirrorlist/

Quote:
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.
Code:
USEBL=off slackpkg download kernel
OR
Code:
USEBL=off slackpkg download kernel-generic kernel-huge kernel-modules kernel-source kernel-headers
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.
Code:
# /usr/share/mkinitrd/mkinitrd_command_generator.sh -c
SOURCE_TREE="/boot/initrd-tree"
CLEAR_TREE="1"
OUTPUT_IMAGE="/boot/initrd.gz"
KERNEL_VERSION="5.10.8"
KEYMAP="us"
MODULE_LIST="xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:ext4"
LUKSDEV=""
ROOTDEV="/dev/sda2"
ROOTFS="ext4"
RESUMEDEV=""
RAID=""
LVM=""
UDEV="1"
WAIT="1"
I found this thread that might be of interest. http://linux-thinkpad.10952.n7.nabbl...E-td21273.html

Last edited by chrisretusn; 01-19-2021 at 03:38 AM.
 
1 members found this post helpful.
Old 01-19-2021, 04:21 AM   #7
Toutatis
Member
 
Registered: Feb 2013
Posts: 415

Rep: Reputation: Disabled
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 ?
 
Old 01-19-2021, 05:22 AM   #8
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
I forgot to mention above.

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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating slackware-current to latest kernel for lg gram 14z970 jheengut Slackware 3 11-04-2018 06:59 PM
[SOLVED] Updating through slackpkg didnt upgraded the kernel in slackware64-current sinar.kk Slackware 10 02-26-2016 06:08 AM
rpm changes are not updating immediately and updating after some time. shri_22ram Linux - Newbie 1 05-13-2013 12:50 PM
[SOLVED] kernel boot problem 2.6.33-smp while updating to current libdrm.so.6 no such file matters Slackware 2 03-08-2010 02:50 PM
Slackware64-current : can't have lilo updating the boot loader after kernel upgrade Didier Spaier Slackware 3 07-21-2009 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration