LinuxQuestions.org
Visit Jeremy's Blog.
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 05-17-2021, 08:53 PM   #1
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Rep: Reputation: 21
SW kernel-5.10.37 breaks 5.10.x compatibility to date


SW kernel 5.10.37 installed identically as 5.10.1-36 versions (kernel-generic + kernel-modules + initrd) exhibits many woes compared to all priors. Boot time to console prompt is minutes versus earlier 10s of seconds. Boot messages have long pauses. Sys does eventually give a prompt. Reboot / halt fails with kvm notes; needs hard reset. Behavior same on 2 different machines.

On screen boot messages show problems with TPM & udevd.

Revert to 5.10.36 or earlier & all functions well. No problem with 5.12.x either.
 
Old 05-17-2021, 09:22 PM   #2
derekn13
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 53

Rep: Reputation: 29
I'm seeing the same(?) problem -- using kernel-huge with no initrd. Haven't had any problems in ages. 5.10.36 and earlier worked great. I upgraded to 5.10.37, and my laptop refused to boot (or maybe it was just *really* slow, dunno). Downgraded to 5.10.36 and all is well.

This is on a ThinkPad X1C8. I'll be happy to provide more info it it would be helpful.
 
3 members found this post helpful.
Old 05-18-2021, 09:06 AM   #3
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by derekn13 View Post
...(or maybe it was just *really* slow, dunno).
Let it boot & just wait (10 min or so). Do you ever get a login request?

Your experience seems identical to mine.
 
Old 05-18-2021, 10:03 AM   #4
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
5.10 is cursed...

Btw. noticed there are lots of kvm fixes in 5.13...
 
1 members found this post helpful.
Old 05-19-2021, 05:37 AM   #5
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 163

Rep: Reputation: Disabled
Here, boot was at least as fast as with 5.10.36.
Thinkpad with i5-8265U.
 
Old 05-19-2021, 10:29 AM   #6
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by j12i View Post
Here, boot was at least as fast as with 5.10.36.
Thinkpad with i5-8265U.
Does your system use original rc.d scripts (sysvinit-scripts) or modified ones in lxc?

Using huge or generic kernel?

If you build initrd, could you post the mkinitrd command line args (especially modules to load) in build?

Thnx.
 
Old 05-19-2021, 10:35 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
My laptop (Lenovo T460 with Intel GPU) and my desktop (Nvidia GeForce GTX 1050 Ti with the binary blob driver) both run Slackware64-current up-to-date with the 5.10.37 kernel and I don't experience any issue at all.
Both running the generic kernel (as is advised for daily use) with an initrd. The laptop is a UEFI model and there I use elilo as the bootloader; the desktop is BIOS based and it uses good old lilo.

For the desktop I generate my initrd as follows:
Code:
KERNELVERSION=5.10.37 ; /usr/share/mkinitrd/mkinitrd_command_generator.sh -r -k $KERNELVERSION -a "-o /boot/initrd_$KERNELVERSION.gz" |bash
For my laptop, I also add LVM and LUKS to the mix but that should not make a difference; I also use 'mkinitrd_command_generator.sh' there.
 
Old 05-19-2021, 11:16 AM   #8
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by derekn13 View Post
I'm seeing the same(?) problem -- using kernel-huge with no initrd. Haven't had any problems in ages. 5.10.36 and earlier worked great. I upgraded to 5.10.37, and my laptop refused to boot (or maybe it was just *really* slow, dunno). Downgraded to 5.10.36 and all is well.

This is on a ThinkPad X1C8. I'll be happy to provide more info it it would be helpful.
I had a problem with 5.10.37 as well. My computer would just stop after the log in. The screen font also goes back to the bigger font as well. I had plenty of errors but they came by so fast I don't know what they were.

I did a complete re-install with a -current.iso which still had the 5.10.36 kernel and everything is working. I've been updating my kernel with slackpkg for quite some time. I know many don't recommend this.

My question for you is - how did you downgrade the kernel to 5.10.36? This would be a much better than a complete reinstall. I'm running the huge kernel.

Thanks.

Last edited by NakedRider; 05-19-2021 at 11:25 AM.
 
Old 05-19-2021, 11:42 AM   #9
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 163

Rep: Reputation: Disabled
Quote:
Originally Posted by rdsherman View Post
Does your system use original rc.d scripts (sysvinit-scripts) or modified ones in lxc?

Using huge or generic kernel?

If you build initrd, could you post the mkinitrd command line args (especially modules to load) in build?

Thnx.
generic kernel,
mkinitrd -c -k $KVER -m ext4:nvme -f ext4 (+ LUKS stuff)
original rc.d scripts.
The only relevant difference is that I use rEFInd boot manager, chain loading the EFI stub loader of the Linux kernel.
 
Old 05-19-2021, 12:33 PM   #10
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,680
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
I installed it this morning alongside the old one and added an elilo stanza for it, but I haven't tried booting it yet. I'll report back when I do.
 
Old 05-19-2021, 12:57 PM   #11
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Alien Bob View Post
My laptop (Lenovo T460 with Intel GPU) and my desktop (Nvidia GeForce GTX 1050 Ti with the binary blob driver) both run Slackware64-current up-to-date with the 5.10.37 kernel and I don't experience any issue at all.
Both running the generic kernel (as is advised for daily use) with an initrd. The laptop is a UEFI model and there I use elilo as the bootloader; the desktop is BIOS based and it uses good old lilo. For the desktop I generate my initrd as follows:
Code:
KERNELVERSION=5.10.37 ; /usr/share/mkinitrd/mkinitrd_command_generator.sh -r -k $KERNELVERSION -a "-o /boot/initrd_$KERNELVERSION.gz" |bash
For my laptop, I also add LVM and LUKS to the mix but that should not make a difference; I also use 'mkinitrd_command_generator.sh' there.


kernel-huge 5.10.37 will rapidly boot my Lenovo P15v with both elilo & grub! (But, I never use 'huge'.) It must be a an initrd problem & one which I have not encountered in decades of use. I used your suggested mkinitrd_command_generator.sh; it boots as a snail moves. I then added a lot of extras to the module list: ehci-hcd:ehci-pci:ext4:fat:hid:hid-generic:hid-lenovo:hid-multitouch:i2c-core:i2c-hid:irqbypass:jbd2:kvm:kvm-intel:mbcachehci-hcdhci-pci:thinkpad-acpi:tpm:uhci-hcd:uhci-pci:xhci-hcd:xhci-pci:xhci-plat-hcd:uas:usbhid:usb-storage:vfat

No improvement at all. During boot, there is a long pause as it looks for the TrackPoint & an even longer wait as udevdadm trigger searches. And it will not reboot!

This is all paradoxical. Identical slow behavior on my Lenovo X390. My initrd.gz's are never a problem. All the earlier 5.10.x (1<x<37) kernel-generic are perfect. So are the early 5.12.x versions.
 
Old 05-19-2021, 01:02 PM   #12
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by hazel View Post
I installed it this morning alongside the old one and added an elilo stanza for it, but I haven't tried booting it yet. I'll report back when I do.
Was that huge or generic? Please try generic with initrd.gz & post your mkinitrd module list.
 
Old 05-19-2021, 01:20 PM   #13
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,680
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Originally Posted by rdsherman View Post
Was that huge or generic? Please try generic with initrd.gz & post your mkinitrd module list.
It's always generic for me. Modules are jbd2:mbcache:ext4.

Last edited by hazel; 05-19-2021 at 01:23 PM.
 
Old 05-19-2021, 02:14 PM   #14
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,680
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Absolutely normal boot!
 
Old 05-19-2021, 04:17 PM   #15
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 340

Rep: Reputation: 156Reputation: 156
Quote:
Originally Posted by NakedRider View Post
I had a problem with 5.10.37 as well. My computer would just stop after the log in. The screen font also goes back to the bigger font as well. I had plenty of errors but they came by so fast I don't know what they were.

I did a complete re-install with a -current.iso which still had the 5.10.36 kernel and everything is working. I've been updating my kernel with slackpkg for quite some time. I know many don't recommend this.

My question for you is - how did you downgrade the kernel to 5.10.36? This would be a much better than a complete reinstall. I'm running the huge kernel.

Thanks.
No need to re-install, just download the kernel that worked for you and run upgradepkg

https://slackware.uk/cumulative/slac...t/slackware64/
 
  


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
Force breaks to avoid eye strain (typing breaks) upnort Slackware 12 09-19-2019 03:43 PM
[SOLVED] Kernel 4.19.0 breaks system boot - looking for kernel-huge-smp-4.14.78_smp-i686-1.txz rwyarbrough Slackware 6 10-24-2018 11:44 PM
LXer: Python 3 changes breaks backwards compatibility LXer Syndicated Linux News 0 12-22-2008 04:30 PM
Microsoft Breaks WINE Compatibility nuka_t General 12 02-22-2005 10:27 PM
lastlog date does not match system date? jcmj Linux - Networking 6 10-22-2002 12:09 PM

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

All times are GMT -5. The time now is 09:44 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