Slackware64-current with generic kernel 4.4 on Skylake 6700K (AsRock Z170 Gaming ITX/ac)
/dev/sda (GPT)
root=/dev/sda1
Code:
NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 238.5G
├─sda1 ext4 40G / SSDROOT
├─sda2 swap 4G [SWAP] SSDSWAP
├─sda3 ext4 93.1G /install SSDATA
├─sda4 ntfs 450M Възстановяване
├─sda5 vfat 100M
├─sda6 16M
├─sda7 ntfs 53.2G
└─sda8 ntfs 47.7G
sdb 14.5G
└─sdb1 vfat 14.5G KINGSTON
I created initrd.gz with the command:
Code:
mkinitrd -c -k 4.4.0 -f ext4 -r /dev/sda1 -m usb-storage:xhci-hcd:usbhid:hid_generic:jbd2:mbcache:ext4 -u -o /boot/initrd.gz
/etc/lilo.conf:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/disk/by-id/ata-ADATA_SP920SS_14130C0CA980
lba32
compact # faster, but won't work on all systems.
# Append any additional kernel parameters:
append=" vt.default_utf8=1"
prompt
timeout = 20
default=Slackware
# VESA framebuffer console @ 1024x768x64k
vga = 791
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-generic
root = /dev/disk/by-label/SSDROOT
label = Slackware
initrd = /boot/initrd.gz
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-4.4.0_test
root = /dev/disk/by-label/SSDROOT
label = Slackware_test
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/disk/by-label/SSDROOT
label = Slackware-Huge
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
Selecting Slackware from the LILO boot menu leads to immediate kernel freeze, just showing Starting Slackware (even before starting the kernel boot messages).
If I remove initrd = /boot/initrd.gz from lilo.conf then the kernel starts loading until it panics because of the missing ext4 module.
I can boot with grub from USB flash using the same kernel and initrd (/boot/vmlinuz-generic and /boot/initrd.gz)
Also I can boot with the other two entries from lilo.conf (the huge kernel and Slackware_test). Slackware_test uses kernel compiled with the stock generic config with added ext4, jdb2 and mbcache.
initrd.gz has size 7414271 bytes.
Note: I could switch to grub or use a custom kernel (as I do now). But I am curious what is the root cause of the issue.