You are not logged in.
It doesn't seem like the kernel parameter is working, I am not sure why. Below I'll list everything I had done.
sudo cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="ibt=off"
# "intel_iommu=on rd.driver.pre=vfio-pci"
# "loglevel=3 quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=false
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"then
sudo grub-mkconfigoutput
Generating grub configuration file ...
#
# 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 ###
insmod part_gpt
insmod part_msdos
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_gpt
insmod btrfs
search --no-floppy --fs-uuid --set=root dd63f700-6f08-465f-88ef-107bad7ac8e2
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=0
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=0
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-dd63f700-6f08-465f-88ef-107bad7ac8e2' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 1B06-FAF5
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=dd63f700-6f08-465f-88ef-107bad7ac8e2 rw ibt=off
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-dd63f700-6f08-465f-88ef-107bad7ac8e2' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-dd63f700-6f08-465f-88ef-107bad7ac8e2' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 1B06-FAF5
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=dd63f700-6f08-465f-88ef-107bad7ac8e2 rw ibt=off
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux.img
}
Found fallback initrd image(s) in /boot: intel-ucode.img initramfs-linux-fallback.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-dd63f700-6f08-465f-88ef-107bad7ac8e2' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 1B06-FAF5
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=dd63f700-6f08-465f-88ef-107bad7ac8e2 rw ibt=off
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux-fallback.img
}
}
### 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 ###
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
Adding boot menu entry for UEFI Firmware Settings ...
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### 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 ###
doneWhen I look at journalctl, the error "Missing ENDBR" still appears.
journalctl | grep "ENDBR"
Jun 02 02:46:55 Doopliss kernel: traps: Missing ENDBR: 0xffffb3f98c3ddb10
Jun 02 02:51:49 Doopliss kernel: traps: Missing ENDBR: 0xffffab0ccc093b10
Jun 02 03:07:09 Doopliss kernel: traps: Missing ENDBR: 0xffffa6840d0b2430
Jun 02 04:07:31 Doopliss kernel: traps: Missing ENDBR: 0xffffb2258c63a430
Jun 02 04:10:23 Doopliss kernel: traps: Missing ENDBR: 0xffffa79fcccea430
Jun 02 04:28:27 Doopliss kernel: traps: Missing ENDBR: 0xffffb9a9cbcda430
Jun 02 15:03:34 Doopliss kernel: traps: Missing ENDBR: 0xffffbab20ac61b10
Jun 02 15:06:30 Doopliss kernel: traps: Missing ENDBR: 0xffffaaa14bd19b10
Jun 02 15:15:21 Doopliss kernel: traps: Missing ENDBR: 0xffffac0f0c4c2430While looking online, this problem always seems to be solved by adding "ibt=off", with some stating "ibt=off can't not fix this issue", so I am at a loss. I had also seen that using linux-lts could fix the issue (I doubt it in my case) and that using nvidia open source drives could also solve the issue (I won't use them). Solving this might solve my issues with libvirt, which is another issue that deserves it's own post, but I should note that I can at least get a virtual machine running there.
My cpu is an Intel Core i5 12400. 12th generation. GPU is GeForce RTX 3080 (MSI Ventus). Motherboard is MSI MAG B660 TomaHawk Wifi DDR4 ATX LGA1700.
Edit: It seems the "Missing ENDBR" error did stop popping up on my machine. This grep journal is showing the error before I applied my grub configuration. Because of this "Missing ENDBR" was removed from the title.
Last edited by PatoPan (2023-06-02 21:34:06)
Offline
journalctl | grep "ENDBR"
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'f:1=<-' ix.ioOnline
here's the output http://ix.io/4xlu
Offline
There's no ENDBR error in that, the nvidia module loads fine and so does vboxdrv?
The kerl commandline also doesn't reflect the posted grub config, you did not write /boot/grub/grub.cfg?
Online
I am pretty sure I did write grub.cfg with grub-mkconfig. I did it again just now and had restarted. here's the output again http://ix.io/4xlC
I verified the config files, and they are the same
If ibt=off is working, then I don't know why virtualbox is still stuck at 20%.
Here's /etc/mkinitcpio.conf, in case it had something to do with it.
# MODULES=(vfio_pci)
# MODULES=(vfio_iommu_type1 vfio btrfs)
BINARIES=(/usr/bin/btrfs)
FILES=()
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block filesystems fsck)Last edited by PatoPan (2023-06-02 20:38:16)
Offline
If grub-mkconfig writes the config to the console, you did not write it into /boot/grub/grub.cfg - ibt isn't working because it's not even applied (according to your journal) but you're likewise not hitting any ENDBR errors.
virtualbox is still stuck at 20%
What does that even mean? 20% of what?
Are the journals you posted supposed to cover a failed VB ox start?
Are you aware that you're pasing through an nvidia GPU?
Online
Virtualbox Manager says "powering VM up ... 20%" on the gui. The VM window is open, but it's stuck at "starting virtual machine....". The journal was only supposed to show the ENDBR error, which is common when VirtualBox has this issue.
I'll try writing the config into grub. I didn't know the location had to be specified (with grub-mkconfig -o /boot/grub/grub.cfg)
I am also aware I tried to pass-through GPU, I didn't know I was successful. Was I successful? I wanted to make a post on it after solving this issue since I didn't get it to work, but I am not trying to do GPU pass-through to virtualbox, I am trying to do so with libvirt. Because of that I consider it a separate issue.
edit: regarding the mkinit configuration I posted. GPU is not being passthrough based on this since those lines were uncommented. Trying this led me to being unable to boot into arch due to vfio_pci. The other modules work. I only want my gpu to be passthrough if my vm is open, I still want to use my gpu when it's not open. I'll try doing gpu passthrough again, but this time properly writing grub before I make a post.
Last edited by PatoPan (2023-06-02 21:42:04)
Offline
It seems like specifying the directory where grub should write the configuration solved the issue, that was a silly mistake. I assumed grub would choose that directory by default.
even though the ENDBR error did not show up on my journal, disabling ibt fixed the issue.
I am also not sure if I had to specify the directory, since I was able to remove the loglevel=3 and quiet parameters, and that worked without me specifying the directory. Unless I did and I just don't remember doing so. The endbr error must had also appeared at some point in the past, but then it stopped even though ibt was not even disabled? And that error showed up today according to the journal output in the post, but it happened hours before making the post. It's weird.
Last edited by PatoPan (2023-06-02 21:35:37)
Offline