Olli
30 October 2022 14:28
41
seems to be a weird motherboard
Type: Laptop Mobo: Micro-Star model: B350M PRO-VDH (MS-7A38) v: 2.0
serial: <superuser required> UEFI: American Megatrends v: A.00
date: 03/21/2017
it says motherboard laptop in a genuine pc. please check if there are newer bios-updates avaiable.
Did sudo pacman-mirrors -f5 && sudo pacman -Syyu
again, thereâs nothing to update.
brahma
30 October 2022 14:34
43
try with a newer kernel, the 6.0 - not the rc oneâŚ
if it doesnt work, check some settings in bios related to pcie, and power management;
also if it doesnt work, post logs:
journalctl -b0 --no-pager | grep nvidia
sudo dmesg | grep nvidia
Olli
30 October 2022 14:41
44
there might be that your ryzen 5 1600 is one of them that is affected with the âC6â failure. you can install the âamd-disable-c6â package from the aur to prevent freezing at startup and retry to use a live-iso and boot into with propietary driver.
Installed 6.0.2.2, uninstalled driver and reinstalled through mwdh -a pci nonfree 0300.
In BIOS I only have âPCI Latency Timer (32 PCI Bus Clocks)â and âResume By PCI-E Device (disabled)â. In Power Management itâs only âErP Ready (disabled)â, âRestore after AC Power Loss (Power off)â and âSystem Power Fault Protection (disabled)â
journalctl:
okt 30 16:52:34 kraut kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64 root=UUID=a80075b0-2ce2-4998-be05-e3eb48a5191e ro quiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 ibt=off nvidia_drm.modeset=1
okt 30 16:52:34 kraut kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64 root=UUID=a80075b0-2ce2-4998-be05-e3eb48a5191e ro quiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 ibt=off nvidia_drm.modeset=1
okt 30 16:52:34 kraut kernel: audit: type=1400 audit(1667141554.076:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=348 comm="apparmor_parser"
okt 30 16:52:34 kraut audit[348]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=348 comm="apparmor_parser"
okt 30 16:52:34 kraut audit[348]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=348 comm="apparmor_parser"
okt 30 16:52:34 kraut systemd-modules-load[335]: Module 'nvidia' is deny-listed
okt 30 16:52:34 kraut systemd-modules-load[335]: Module 'nvidia_drm' is deny-listed
okt 30 16:52:34 kraut systemd-modules-load[335]: Module 'nvidia_uvm' is deny-listed
okt 30 16:52:53 kraut kernel: nvidia: loading out-of-tree module taints kernel.
okt 30 16:52:53 kraut kernel: nvidia: module license 'NVIDIA' taints kernel.
okt 30 16:52:53 kraut kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
okt 30 16:52:54 kraut kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
okt 30 16:52:54 kraut kernel: nvidia 0000:22:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
dmesg:
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64 root=UUID=a80075b0-2ce2-4998-be05-e3eb48a5191e ro quiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 ibt=off nvidia_drm.modeset=1
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64 root=UUID=a80075b0-2ce2-4998-be05-e3eb48a5191e ro quiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 ibt=off nvidia_drm.modeset=1
[ 6.800098] audit: type=1400 audit(1667141554.076:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=348 comm="apparmor_parser"
[ 26.538197] nvidia: loading out-of-tree module taints kernel.
[ 26.538214] nvidia: module license 'NVIDIA' taints kernel.
[ 26.568485] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 27.089665] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 27.090915] nvidia 0000:22:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
brahma
30 October 2022 15:06
46
as you can see its being blacklistedâŚ
but why it doesnt work with the live usb?
post output again from:
ls /etc/modprobe.d
find /etc/X11/ -name "*.conf"
pamac list -qm
pacman -Qs 'optimus|bbswitch|bumblebee|prime|gpu'
Olli
30 October 2022 15:10
47
donât worry about this messages at boot, they arenât the issues but youâre right as long as it doesnât boot in a live the problem isnât solved.
did you install the package that solves the potential problem with your amd-ryzen that causes memory-errors. (keep in mind that a mismatch in memory allocation will also cause malfunction with additional hardware). is the mobo at the latest bios-version avaiable ?
1 Like
Installed it through AUR and tried to boot into LiveUSB, got stuck at the same place.
Still the same on nvidia drivers.
ls /etc/modprobe.d
mhwd-gpu.conf
find /etc/X11/ -name "*.conf"
90-mhwd.conf
30-touchpad.conf
00-keyboard.conf
pamac list -qm
amd-disable-c6
angular-cli
aurman
breath2-wallpaper
celt
ceph-libs
ffcast
gnome-icon-theme
gnome-icon-theme-symbolic
jdk
jdk12-openj9-bin
jre
libax25
libcanberra-gstreamer
libkipi
libkipi-debug
libopenaptx
linux414-headers
manjaro-documentation-en
manjaro-firmware
ocs-url
postman-bin
pycharm-professional
python-sphinx-intl
rar
sphinx
sprunge
teams
telegram-desktop-bin
visual-studio-code-bin
wireguard-go-git
woeusb-ng
xrectsel
pacman -Qs 'optimus|bbswitch|bumblebee|prime|gpu'
local/libplacebo 4.208.0-1
Reusable library for GPU-accelerated video/image rendering primitives
local/mhwd-amdgpu 19.1.0-1
MHWD module-ids for amdgpu
local/optimus-manager 1.4+r12-2
Management utility to handle GPU switching for Optimus laptops (Git version)
brahma
30 October 2022 15:38
52
local/optimus-manager 1.4+r12-2
you have it installed from ollis adviceâŚ
and when you were providing logs, you were providing them when you were on video-nvidia?
were you also booting the live usb with the ibt=off
parameter?
Olli
30 October 2022 15:47
54
@krautman
meanwhile i believe itâs a problem of your motherboard-hardware. please try this: add the following to your
GRUB_CMDLINE_LINUX_DEFAULT parameter in grub
acpi_osi='Windows 2018'
run again
sudo mkinitcpio -P
sudo update-grub
and reboot to your system on hard disk (not live). i know itâs a hassle but thatâs the problem with digging out a problem.
yes, I havenât removed the ibt=off parameter from the GRUB file but I donât know if it affects LiveUSB. Uninstalled optimus and remembered I had change the modules in mkinitcpio.conf per the advice of another thread, changed that back to its original state.
Logs now:
okt 30 17:44:23 kraut kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64 root=UUID=a80075b0-2ce2-4998-be05-e3eb48a5191e ro quiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 ibt=off nvidia_drm.modeset=1
okt 30 17:44:23 kraut kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64 root=UUID=a80075b0-2ce2-4998-be05-e3eb48a5191e ro quiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 ibt=off nvidia_drm.modeset=1
okt 30 17:44:24 kraut audit[343]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=343 comm="apparmor_parser"
okt 30 17:44:24 kraut audit[343]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=343 comm="apparmor_parser"
okt 30 17:44:25 kraut kernel: nvidia: loading out-of-tree module taints kernel.
okt 30 17:44:25 kraut kernel: nvidia: module license 'NVIDIA' taints kernel.
okt 30 17:44:25 kraut kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
okt 30 17:44:25 kraut kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
okt 30 17:44:25 kraut kernel: nvidia 0000:22:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
okt 30 17:44:26 kraut systemd-modules-load[330]: Inserted module 'nvidia'
okt 30 17:44:26 kraut kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 520.56.06 Thu Oct 6 21:22:53 UTC 2022
okt 30 17:44:26 kraut kernel: [drm] [nvidia-drm] [GPU ID 0x00002200] Loading driver
okt 30 17:44:27 kraut systemd-modules-load[330]: Inserted module 'nvidia_drm'
okt 30 17:44:27 kraut kernel: [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002200] Failed to allocate NvKmsKapiDevice
okt 30 17:44:27 kraut kernel: [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002200] Failed to register device
okt 30 17:44:28 kraut kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
okt 30 17:44:28 kraut systemd-modules-load[330]: Inserted module 'nvidia_uvm'
okt 30 17:44:28 kraut kernel: nvidia-uvm: Loaded the UVM driver, major device number 236.
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64 root=UUID=a80075b0-2ce2-4998-be05-e3eb48a5191e ro quiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 ibt=off nvidia_drm.modeset=1
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64 root=UUID=a80075b0-2ce2-4998-be05-e3eb48a5191e ro quiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 ibt=off nvidia_drm.modeset=1
[ 7.732930] nvidia: loading out-of-tree module taints kernel.
[ 7.732943] nvidia: module license 'NVIDIA' taints kernel.
[ 7.754049] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 8.186455] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 8.187486] nvidia 0000:22:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 8.507367] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 520.56.06 Thu Oct 6 21:22:53 UTC 2022
[ 8.576267] [drm] [nvidia-drm] [GPU ID 0x00002200] Loading driver
[ 9.653976] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002200] Failed to allocate NvKmsKapiDevice
[ 9.654107] [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002200] Failed to register device
[ 10.267875] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 10.403073] nvidia-uvm: Loaded the UVM driver, major device number 236.
Didnât change anything.
Olli
30 October 2022 15:58
57
yes, I havenât removed the ibt=off parameter
delete it and run
sudo mkinitcpio -P
sudo update-grub
also please post the output of your actual grub
cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
1 Like
brahma
30 October 2022 16:01
58
[drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002200] Failed to allocate NvKmsKapiDevice
[drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002200] Failed to register device
you have these ⌠looks like it could be fixed by a bios update as olli suggestsâŚ
provide also logs from these:
sudo dmesg | grep -E 'NVRM|nvrm'
journalctl -b0 | grep -E 'NVRM|nvrm'
GRUB_CMDLINE_LINUX_DEFAULT=âquiet apparmor=1 security=apparmor resume=UUID=fc7ae34c-e872-448b-91e6-f76ef484cc3a udev.log_priority=3 nvidia_drm.modeset=1 acpi_osi=âWindows 2018ââ
Oh gawd, I hope I wont brick my PC with the BIOS update
Weirdly enough, I tried to LiveUSB into Garuda with prop drivers and it basically had the same results so at least itâs not manjaro specific.
[ 8.339148] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 520.56.06 Thu Oct 6 21:38:55 UTC 2022
[ 9.758663] NVRM: GPU 0000:22:00.0: RmInitAdapter failed! (0x26:0x56:1423)
[ 9.758719] NVRM: GPU 0000:22:00.0: rm_init_adapter failed, device minor number 0
okt 30 18:11:14 kraut kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 520.56.06 Thu Oct 6 21:38:55 UTC 2022
okt 30 18:11:15 kraut kernel: NVRM: GPU 0000:22:00.0: RmInitAdapter failed! (0x26:0x56:1423)
okt 30 18:11:15 kraut kernel: NVRM: GPU 0000:22:00.0: rm_init_adapter failed, device minor number 0