View previous topic :: View next topic |
Author |
Message |
LucaSaiani n00b
Joined: 30 May 2021 Posts: 3
|
Posted: Wed May 25, 2022 7:27 pm Post subject: Solved - Boot verbose only with old kernels |
|
|
Hi since 2, or 3 kernel updates, when I boot my machine I don't' get the usual verbose output, but if I select the old kernels which I still have installed, the verbose output is there.
I thought it was a new "feature" of the latest kernels, but I haven't found any indication about that.
I didn't change the setting of the boot loader (Grub2). Also, if I update the boot loader, I am still in the same situation: new kernels are silent, old kernels are verbose: this is why I think that the problem is not with grub but with the kernel.
Just in case, this is my grub.cfg
Code: |
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=3840x2160
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_GB
insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux, with Linux 5.15.32-gentoo-r1' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.32-gentoo-r1-advanced-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.15.32-gentoo-r1 ...'
linux /boot/vmlinuz-5.15.32-gentoo-r1 root=/dev/sdb4 ro init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.15.32-gentoo-r1 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.32-gentoo-r1-recovery-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.15.32-gentoo-r1 ...'
linux /boot/vmlinuz-5.15.32-gentoo-r1 root=/dev/sdb4 ro single init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.15.26-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.26-gentoo-advanced-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.15.26-gentoo ...'
linux /boot/vmlinuz-5.15.26-gentoo root=UUID=d8ebe248-67f6-49dc-87c0-f898a65b2196 ro init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-genkernel-x86_64-5.15.26-gentoo
}
menuentry 'Gentoo GNU/Linux, with Linux 5.15.26-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.26-gentoo-recovery-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.15.26-gentoo ...'
linux /boot/vmlinuz-5.15.26-gentoo root=UUID=d8ebe248-67f6-49dc-87c0-f898a65b2196 ro single init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-genkernel-x86_64-5.15.26-gentoo
}
menuentry 'Gentoo GNU/Linux, with Linux 5.15.26-gentoo.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.26-gentoo.old-advanced-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.15.26-gentoo.old ...'
linux /boot/vmlinuz-5.15.26-gentoo.old root=UUID=d8ebe248-67f6-49dc-87c0-f898a65b2196 ro init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-genkernel-x86_64-5.15.26-gentoo
}
menuentry 'Gentoo GNU/Linux, with Linux 5.15.26-gentoo.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.26-gentoo.old-recovery-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.15.26-gentoo.old ...'
linux /boot/vmlinuz-5.15.26-gentoo.old root=UUID=d8ebe248-67f6-49dc-87c0-f898a65b2196 ro single init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-genkernel-x86_64-5.15.26-gentoo
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.76-gentoo-r1' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.76-gentoo-r1-advanced-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.76-gentoo-r1 ...'
linux /boot/vmlinuz-5.10.76-gentoo-r1 root=/dev/sdb4 ro init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.76-gentoo-r1 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.76-gentoo-r1-recovery-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.76-gentoo-r1 ...'
linux /boot/vmlinuz-5.10.76-gentoo-r1 root=/dev/sdb4 ro single init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.76-gentoo-r1.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.76-gentoo-r1.old-advanced-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.76-gentoo-r1.old ...'
linux /boot/vmlinuz-5.10.76-gentoo-r1.old root=/dev/sdb4 ro init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.76-gentoo-r1.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.76-gentoo-r1.old-recovery-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.76-gentoo-r1.old ...'
linux /boot/vmlinuz-5.10.76-gentoo-r1.old root=/dev/sdb4 ro single init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.61-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.61-gentoo-advanced-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.61-gentoo ...'
linux /boot/vmlinuz-5.10.61-gentoo root=/dev/sdb4 ro init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.61-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.61-gentoo-recovery-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.61-gentoo ...'
linux /boot/vmlinuz-5.10.61-gentoo root=/dev/sdb4 ro single init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.52-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.52-gentoo-advanced-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.52-gentoo ...'
linux /boot/vmlinuz-5.10.52-gentoo root=/dev/sdb4 ro init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.52-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.52-gentoo-recovery-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.52-gentoo ...'
linux /boot/vmlinuz-5.10.52-gentoo root=/dev/sdb4 ro single init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.49-gentoo-r1' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.49-gentoo-r1-advanced-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.49-gentoo-r1 ...'
linux /boot/vmlinuz-5.10.49-gentoo-r1 root=/dev/sdb4 ro init=/lib/systemd/systemd
}
menuentry 'Gentoo GNU/Linux, with Linux 5.10.49-gentoo-r1 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.49-gentoo-r1-recovery-d8ebe248-67f6-49dc-87c0-f898a65b2196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos4 --hint-efi=hd1,msdos4 --hint-baremetal=ahci1,msdos4 d8ebe248-67f6-49dc-87c0-f898a65b2196
else
search --no-floppy --fs-uuid --set=root d8ebe248-67f6-49dc-87c0-f898a65b2196
fi
echo 'Loading Linux 5.10.49-gentoo-r1 ...'
linux /boot/vmlinuz-5.10.49-gentoo-r1 root=/dev/sdb4 ro single init=/lib/systemd/systemd
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-108CCB298CCB0864' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 108CCB298CCB0864
else
search --no-floppy --fs-uuid --set=root 108CCB298CCB0864
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# 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/40_custom ###
### BEGIN /etc/grub.d/41_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/41_custom ###
|
Thank you for your help.
Luca
Last edited by LucaSaiani on Wed May 25, 2022 8:43 pm; edited 1 time in total |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed May 25, 2022 7:36 pm Post subject: |
|
|
Hi LucaSaiani,
welcome to the Gentoo forums!
Do I understand correctly that you get output with 5.10 kernels and that you don't get output with 5.15 kernels?
If that's the case, it could be related to the framebuffer device. There were some changes in the source code.
Do you compile the kernels yourself? How did you upgrade the kernel config from 5.10 to 5.15? make oldconfig?
Which CPU and which graphics card do you have?
Mike |
|
Back to top |
|
|
LucaSaiani n00b
Joined: 30 May 2021 Posts: 3
|
Posted: Wed May 25, 2022 7:54 pm Post subject: |
|
|
Hi Mike,
Thank you for your reply.
Yes, you are correct, the issue is with the latest kernel series 5.15.
I compile the kernels by myself, copying the config file from the previous kernel folder and updating the config file with "make oldconfig". The upgrade from 5.10 to 5.15 was done the same way.
My machine is an Intel Xeon E5/Core i7, graphic card an Nvidia Quadro K4000 (with Nvidia drivers) |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed May 25, 2022 8:02 pm Post subject: |
|
|
Let's see whether it is a missing framebuffer/console driver.
Please post the kernel config of your 5.15 kernel using wgetpaste. |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed May 25, 2022 8:14 pm Post subject: |
|
|
You may want to take a look at https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers.
Quote: | Important!
The "Mark VGA/VBE/EFI FB as generic system framebuffer" option moved in kernel 5.15 with a new symbol name for all arches. This may cause a black screen or no progress shown after the loader on boot if changes are not made.[1] |
|
|
Back to top |
|
|
LucaSaiani n00b
Joined: 30 May 2021 Posts: 3
|
Posted: Wed May 25, 2022 8:42 pm Post subject: |
|
|
Thank you Mike, the wiki page of the Nvidia Drivers has the solution. Now the kernel is back to its old verbosity.
Thanks again,
Luca |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|