LinuxQuestions.org
Help answer threads with 0 replies.
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 11-10-2023, 12:59 PM   #1
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 278

Rep: Reputation: 41
Slackware64-Current 6.x.x Kernel Issues


This is a list of issues encountered with the 6.1.xx kernel (and now the generic "huge" kernel) in Slackware64-Current.

Kernel 6.x.x:
  • Fail to assemble mdadm raid on LSI MegaRAID SAS 2008 controller with initrd. I cannot recall exactly when this started, but I first reported the issue here.
  • Lenovo T460 touch screen does not work.

Kernel 6.1.6x (generic "huge" kernel):
  • Fail to boot encrypted ext4 root partition with initrd. 6.1.61 worked. 6.1.60 and 6.1.62 do not. All kernels prior to 6.1.60 boot successfully.
 
Old 11-11-2023, 04:18 AM   #2
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,012

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Quote:
Originally Posted by tux_dude View Post
  • Fail to assemble mdadm raid on LSI MegaRAID SAS 2008 controller with initrd.
Isnt that MegaRaid card a hardware RAID controller which presents all disks connected as a single disk like /dev/sda to the kernel? If so, why would you want to use mdadm to create a RAID? Did you configure the controller to only JBOD?

regards Henrik
 
Old 11-11-2023, 05:19 AM   #3
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 139

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by tux_dude View Post
Kernel 6.1.6x (generic "huge" kernel):
  • Fail to boot encrypted ext4 root partition with initrd. 6.1.61 worked. 6.1.60 and 6.1.62 do not. All kernels prior to 6.1.60 boot successfully.
Works here without any issues. Kernel 6.1.62 generic with initrd and luksenrypted root.
 
1 members found this post helpful.
Old 11-11-2023, 08:30 AM   #4
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 278

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by henca View Post
Isnt that MegaRaid card a hardware RAID controller which presents all disks connected as a single disk like /dev/sda to the kernel? If so, why would you want to use mdadm to create a RAID? Did you configure the controller to only JBOD?

regards Henrik
The controller is configured as JBOD, with all disk presented to the OS under /dev/sdX. mdadm is used to assemble the RAID. Makes it easier to do RAID migration when needed and or swap the controller when they fail. No need to be running around looking for specific controller from specific manufacturer.
 
1 members found this post helpful.
Old 11-11-2023, 08:42 AM   #5
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 278

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by z80 View Post
Works here without any issues. Kernel 6.1.62 generic with initrd and luksenrypted root.
@z80
What's your mkinitrd command (or config)? I did not make any changes between the old generic kernel and the larger one.
Code:
mkinitrd -c -k "$KERNER_VER" -m ext4 -f ext4 -r lukssda2 -L -C /dev/sda2
What's disk usage for the new kernel under /boot? Mine was around 85M.

Also using lilo boot loader:
Code:
boot = /dev/sda
vga = 791
image = /boot/vmlinuz
  initrd = /boot/initrd.gz
  label = Slackware64
 
Old 11-11-2023, 12:44 PM   #6
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 139

Rep: Reputation: 102Reputation: 102
1 GB /boot and 1 GB /boot/efi

Bootloader is grub (elilo can't handle this system)

mkinitrd
Code:
mkinitrd -c -k $KVER -f ext4 -r $ROOTDEV -m usb-storage:xhci-hcd:i2c-hid:usbhid:hid-generic:ehci-hcd:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4 -l de -u -o $INITRD
 
1 members found this post helpful.
Old 11-11-2023, 05:56 PM   #7
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 233

Rep: Reputation: 45
@tux_dude , I use the -R option to mkinitrd like this , Sorry for the size . Hth , JimL

Code:
mkinitrd -c -R -k ${VER} -f ext4 \
  -r ${UUID} \
  -m \
megaraid_sas:\
mpt3sas:\
usb-storage:\
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:\
crc32c_intel:\
crc32c_generic:\
ext4 \
  -u \
  -o /boot/initrd-${VER}-${DATE}.gz
 
1 members found this post helpful.
Old 12-06-2023, 01:03 PM   #8
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 278

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by tux_dude View Post

Kernel 6.1.6x (generic "huge" kernel):
  • Fail to boot encrypted ext4 root partition with initrd. 6.1.61 worked. 6.1.60 and 6.1.62 do not. All kernels prior to 6.1.60 boot successfully.
This issue was completely user error. It was due to limited space on the boot volume. mkinitrd needs better error checking to fail when disk write fail (out of space).
 
2 members found this post helpful.
Old 05-15-2024, 03:59 PM   #9
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 278

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by tux_dude View Post
This is a list of issues encountered with the 6.1.xx kernel (and now the generic "huge" kernel) in Slackware64-Current.

Kernel 6.x.x:
  • Fail to assemble mdadm raid on LSI MegaRAID SAS 2008 controller with initrd. I cannot recall exactly when this started, but I first reported the issue here.
  • Lenovo T460 touch screen does not work.
[/LIST]
This turned out to be a disk spin-up timing issue. Adding the wait flag (-w) to mkinitrd fixed the issue.
 
  


Reply

Tags
boot, encrypted root, kernel, mdadm, raid



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
[SOLVED] Slackware64-current v.s. Slackware64-live-current for installing onto main PC? naarter Slackware 21 06-16-2023 05:11 AM
Brightness function keys not working on Slackware64 & Slackware64 current Andersen Slackware 7 01-15-2018 04:27 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM

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

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