You are not logged in.
How can I see what went wrong on the kernel modules? Worked on 5.12.12
EDIT: I solved it after doing this by grub-installing again and regenning all the grub stuff so whatever the problem is was fixed by doing that.
Thanks!
Last edited by afader (2021-07-05 18:23:31)
Offline
Your /boot wasn't mounted for the upgrade.
Offline
My boot isn't a separate partition. If I upgrade the kernel and run mkinitcpio everything goes fine. Or do you mean my EFI partition? Currently I have REFINd and Grub installed.
Offline
Paste the output of `pacman -Q linux && uname -r`
Offline
This is what I have now
❯ pacman -Q linux && uname -r
linux 5.12.14.arch1-1
5.12.12-hardened1-1-hardenedHowever if I upgrade I get a failure on boot to load kernel modules. I also have nvidia-dkms
Offline
This is what I have now
❯ pacman -Q linux && uname -r linux 5.12.14.arch1-1 5.12.12-hardened1-1-hardenedHowever if I upgrade I get a failure on boot to load kernel modules. I also have nvidia-dkms
If you upgrade what? linux 5.12.14.arch1-1 is the current version of the linux package. Do you have the issue booting that kernel?
The boot failure is using which version of linux-harened? From the shell what is the output of name -r when the modules fail to load?
Edit:
Please also post the output of:
cat /etc/fstab
# parted -l Last edited by loqs (2021-07-03 23:27:55)
Offline
Thanks for responding I appreciate the assistance.
Can I somehow list what failed from the modules loading on boot? Name -r I assume meaning uname for that kernel?
I'm running 5.12.12-hardened, working, because I run -hardened, but I have 5.12.14-arch and that doesn't boot, nor does 5.12.13-hardened or .14-hardened. So I'm assuming change that breaks my setup is in -13.
Here's parted fstab. The fat16 is an image of REFInd and / is an arch partition that I've had since 2013 and there's no swap or boot partition. I just copied it from a SATA drive to an NVMe not that long ago. It's been cloned with dd and rsync.
Model: Samsung SSD 970 EVO Plus 250GB (nvme)
Disk /dev/nvme0n1: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 5008MB 5007MB primary fat16
2 5008MB 250GB 245GB primary ext4/dev/disk/by-uuid/xxx / ext4 rw,noatime,data=ordered,discard 0 1
/dev/disk/by-uuid/xxx /mnt/external ext4 rw,user,exec 0 0Offline
Yes, boot the failing kerne and check "uname -r". Post that and the output of "pacman -Qs linux" (to find all installed kernels)
Don't obfuscate UUIDs, they're not private data that needs to be protected.
Also post your grub.cfg, mount the fat16 partition somewhere and check its contents (first node "ls" will do for a start)
See the first link below on how to paste files w/o a gui.
Whether or not you can archive or even upload stuff from the failing boot depends on how badly it fails - in doubt *link* some photos of the screen.
Online
EDIT: I solved it after doing this by grub-installing again and regenning all the grub stuff so whatever the problem is was fixed by doing that.
Thanks!
Here's an image of what I see if I boot to 5.13.14-arch: https://i.imgur.com/b1hNUIy.jpg
Currently running on 5.12.12-hardened like I said.
Like I said the fat16 partition is REFInd. If I mount it I see
❯ sudo mount /dev/nvme0n1p1 /boot/efi
❯ cd /boot/efi
❯ sudo su
ls
EFIHere's grub.cfg
### BEGIN /etc/grub.d/09_make_OS_entries_unrestricted ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry_id_option="--unrestricted"
### END /etc/grub.d/09_make_OS_entries_unrestricted ###
### BEGIN /etc/grub.d/10_linux_proxy ###
### END /etc/grub.d/10_linux_proxy ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/31_uefi-firmware_proxy ###
### END /etc/grub.d/31_uefi-firmware_proxy ###
### BEGIN /etc/grub.d/32_linux_proxy ###
menuentry "Arch Linux, with Linux linux-hardened" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-hardened-advanced-3f5ec185-e7ae-4466-8b0c-0311b2a6a300' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
search --no-floppy --fs-uuid --set=root 3f5ec185-e7ae-4466-8b0c-0311b2a6a300
echo 'Loading Linux linux-hardened ...'
linux /boot/vmlinuz-linux-hardened root=UUID=3f5ec185-e7ae-4466-8b0c-0311b2a6a300 rw nvidia-drm.modeset=1 loglevel=3 quiet apparmor=1 audit=1 lsm=lockdown,yama,apparmor
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-hardened.img
}
menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-3f5ec185-e7ae-4466-8b0c-0311b2a6a300' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
search --no-floppy --fs-uuid --set=root 3f5ec185-e7ae-4466-8b0c-0311b2a6a300
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=3f5ec185-e7ae-4466-8b0c-0311b2a6a300 rw nvidia-drm.modeset=1 loglevel=3 quiet apparmor=1 audit=1 lsm=lockdown,yama,apparmor
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux linux-zen" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-advanced-3f5ec185-e7ae-4466-8b0c-0311b2a6a300' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
search --no-floppy --fs-uuid --set=root 3f5ec185-e7ae-4466-8b0c-0311b2a6a300
echo 'Loading Linux linux-zen ...'
linux /boot/vmlinuz-linux-zen root=UUID=3f5ec185-e7ae-4466-8b0c-0311b2a6a300 rw nvidia-drm.modeset=1 loglevel=3 quiet apparmor=1 audit=1 lsm=lockdown,yama,apparmor
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-zen.img
}
### END /etc/grub.d/32_linux_proxy ###
### BEGIN /etc/grub.d/33_uefi-firmware_proxy ###
menuentry "UEFI Firmware Settings" $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/33_uefi-firmware_proxy ###
### BEGIN /etc/grub.d/42_custom_proxy ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/42_custom_proxy ###
### BEGIN /etc/grub.d/43_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/43_custom ###
### BEGIN /etc/grub.d/44_grub-customizer_menu_color_helper ###
### END /etc/grub.d/44_grub-customizer_menu_color_helper ###Last edited by afader (2021-07-05 18:23:21)
Offline