Bug 1207672

Summary: Module nouveau not loaded after snapshot 20230125
Product: [openSUSE] openSUSE Tumbleweed Reporter: Philippe Condé <conde.philippe>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: bjorn.lie, tiwai
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Dmesg output
Lsmod output after boot

Description Philippe Condé 2023-01-27 07:50:32 UTC
Created attachment 864544 [details]
Dmesg output

I have a nvidia card Quadro 4000 in my HP proliant server with two screen (DVI and DP-1 on the nvidia card))
After installation of the snapshot 20230125 and reboot, the system doesn't more start in graphic mode. In journalctl I find these messages

Jan 27 08:26:28 hpprol2 kernel: nvidia 0000:0a:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
Jan 27 08:26:28 hpprol2 kernel: ipmi_ssif: IPMI SSIF Interface driver
Jan 27 08:26:28 hpprol2 kernel: NVRM: The NVIDIA GPU 0000:0a:00.0 (PCI ID: 10de:06dd)
                                NVRM: installed in this system is not supported by open
                                NVRM: nvidia.ko because it does not include the required GPU
                                NVRM: System Processor (GSP).
                                NVRM: Please see the 'Open Linux Kernel Modules' and 'GSP
                                NVRM: Firmware' sections in the driver README, available on
                                NVRM: the Linux graphics driver download page at
                                NVRM: www.nvidia.com.
Jan 27 08:26:28 hpprol2 systemd-logind[926]: Watching system buttons on /dev/input/event0 (Power Button)
Jan 27 08:26:28 hpprol2 systemd-logind[926]: Watching system buttons on /dev/input/event1 (CHICONY HP Basic USB Keyboard)
Jan 27 08:26:28 hpprol2 kernel: nvidia: probe of 0000:0a:00.0 failed with error -1
Jan 27 08:26:28 hpprol2 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Jan 27 08:26:28 hpprol2 kernel: NVRM: None of the NVIDIA devices were initialized.
Jan 27 08:26:28 hpprol2 kernel: input: PC Speaker as /devices/platform/pcspkr/input/input6
Jan 27 08:26:28 hpprol2 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 241


If I reboot in a previous kernel I have the same problem.
login in the tty1 console I can do
# modprobe nouveau   ==> screen resolution and color changed but not very readable
# init 3
# init 5 
this gives me a graphic console but only on one screen, second screen (DP-1) remains black.(not activated)

I tested with another vidia card (quadro K4200) and the same problem occurs.
Seems that the  nouveau modules cannot be loaded

I attach the dmesg output

How to start nouveau at boot and have the second screen activated?
Comment 1 Philippe Condé 2023-01-27 08:30:07 UTC
Created attachment 864545 [details]
Lsmod output after boot

I reinstalled the quadro K4200 and the same problem occurs: 

I attach the lsmod after boot. nothing seems loaded for the video

Starting last kernel without xen, In  tty1 if I excute "modprobe nouveau" then the graphic session starts and the two screens are activated.
Then the lsmod gives:
hpprol2:~ # lsmod | grep video
video                  69632  1 nouveau
wmi                    45056  3 video,mxm_wmi,nouveau
hpprol2:~ # lsmod | grep nouveau
nouveau              2732032  15
mxm_wmi                16384  1 nouveau
drm_display_helper    221184  1 nouveau
drm_ttm_helper         16384  1 nouveau
ttm                    94208  2 drm_ttm_helper,nouveau
video                  69632  1 nouveau
wmi                    45056  3 video,mxm_wmi,nouveau
button                 24576  1 nouveau
hpprol2:~ # 


In journalctl I have 
Jan 27 09:16:52 hpprol2 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 241
Jan 27 09:16:52 hpprol2 systemd[1]: Started Daily Cleanup of Temporary Directories.
Jan 27 09:16:52 hpprol2 systemd[1]: Reached target Path Units.
Jan 27 09:16:52 hpprol2 kernel: 
Jan 27 09:16:52 hpprol2 kernel: nvidia 0000:0a:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
Jan 27 09:16:52 hpprol2 kernel: NVRM: The NVIDIA GPU 0000:0a:00.0 (PCI ID: 10de:11b4)
                                NVRM: installed in this system is not supported by open
                                NVRM: nvidia.ko because it does not include the required GPU
                                NVRM: System Processor (GSP).
                                NVRM: Please see the 'Open Linux Kernel Modules' and 'GSP
                                NVRM: Firmware' sections in the driver README, available on
                                NVRM: the Linux graphics driver download page at
                                NVRM: www.nvidia.com.
Jan 27 09:16:52 hpprol2 kernel: nvidia: probe of 0000:0a:00.0 failed with error -1
Jan 27 09:16:52 hpprol2 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Jan 27 09:16:52 hpprol2 kernel: NVRM: None of the NVIDIA devices were initialized.
Jan 27 09:16:52 hpprol2 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 241
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on CUPS Scheduler.
Jan 27 09:16:53 hpprol2 systemd-udevd[820]: modprobe: ERROR: could not insert 'nvidia': No such device
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on D-Bus System Message Bus Socket.
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on Open-iSCSI iscsid Socket.
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on Libvirt local socket.
Jan 27 09:16:53 hpprol2 kernel: nvidia_modeset: Unknown symbol nvidia_register_module (err -2)
Jan 27 09:16:53 hpprol2 kernel: nvidia_modeset: Unknown symbol nvidia_get_rm_ops (err -2)
Jan 27 09:16:53 hpprol2 kernel: nvidia_modeset: Unknown symbol nvidia_unregister_module (err -2)
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on Libvirt admin socket.
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on Libvirt local read-only socket.
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on PC/SC Smart Card Daemon Activation Socket.
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on Virtual machine lock manager socket.
Jan 27 09:16:53 hpprol2 systemd[1]: Listening on Virtual machine log manager socket.
Jan 27 09:16:53 hpprol2 systemd[1]: Reached target Socket Units.
Jan 27 09:16:53 hpprol2 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 241
Jan 27 09:16:53 hpprol2 kernel: 
Jan 27 09:16:53 hpprol2 kernel: nvidia 0000:0a:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
Jan 27 09:16:53 hpprol2 kernel: NVRM: The NVIDIA GPU 0000:0a:00.0 (PCI ID: 10de:11b4)
                                NVRM: installed in this system is not supported by open
                                NVRM: nvidia.ko because it does not include the required GPU
                                NVRM: System Processor (GSP).
                                NVRM: Please see the 'Open Linux Kernel Modules' and 'GSP
                                NVRM: Firmware' sections in the driver README, available on
                                NVRM: the Linux graphics driver download page at
                                NVRM: www.nvidia.com.
Jan 27 09:16:53 hpprol2 kernel: nvidia: probe of 0000:0a:00.0 failed with error -1
Jan 27 09:16:53 hpprol2 kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Jan 27 09:16:53 hpprol2 kernel: NVRM: None of the NVIDIA devices were initialized.
Jan 27 09:16:53 hpprol2 kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 241
Jan 27 09:16:54 hpprol2 systemd-udevd[833]: modprobe: ERROR: could not insert 'nvidia': No such device

Why does systemd-udev try to modprobe nvidia !!!!! 

Is this a new rules in udevd?
Comment 2 Takashi Iwai 2023-01-27 12:12:09 UTC
I guess you've installed nvidia 3rd party package?  That contains the blacklist of nouveau.
Comment 3 Philippe Condé 2023-01-27 12:55:26 UTC
I never installed nvidia driver (it didn't work with xen kernel) . I use nouveau since I installed this system in 2016. 
And I do the update everytime with "zypper dup".

I don't see any new file in /etc/modprobe.d
ls -l /etc/modprobe.d
total 16
-rw-r--r-- 1 root root 214 Jun  4  2021 50-alsa.conf
-rw-r--r-- 1 root root  24 Jun  4  2021 50-blacklist_sound.conf
-rw-r--r-- 1 root root  31 Feb 13  2022 50-yast.conf
-rw-r--r-- 1 root root  30 Jun  6  2021 50-yast.conf.YaST2save
hpprol2:~ # 

Is there another place where nouveau could be blacklisted?

Many thanks in advance
Philippe
Comment 4 Philippe Condé 2023-01-27 13:03:45 UTC
OK I think that I found it .
In the history log of zypper I have
hpprol2:~ # grep -ins nvidia /var/log/zypp/history
55605:2023-01-15 21:31:13|install|kernel-firmware-nvidia|20230110-1.1|noarch||download.opensuse.org-oss|e60ec1ede5334df52ae4398db0fe5b7286461b061725721a21a346bfc5e49a1a|
57364:2023-01-23 23:29:37|install|kernel-firmware-nvidia|20230110-2.1|noarch||download.opensuse.org-oss|77ada5780d0d7201545bbdfd34beccb6aa66597e510624eba356750d45af4835|
58213:2023-01-26 20:10:13|install|kernel-firmware-nvidia-gsp-G06|525.85.05-1.1|x86_64||download.opensuse.org-oss|021503af3d85226cfec04c7e98705e9e8508371bd34af8faf8b90914bbe1f5383b055930fa608695639af477077273323d16f64da2c6d907ecffab680569ed9f|
58363:2023-01-26 20:16:16|install|nvidia-open-driver-G06-signed-kmp-default|525.85.05_k6.1.8_1-2.1|x86_64||download.opensuse.org-oss|71c94b9a66ab8a09ba3c89327f2371f8de9e7fe87c56a39a6becfaacd1245568644ab19a9ae91d9403878dd9dd6e96638afaf6954f9b001eecdd5097d7303a7a|
 
Why did the zypper dup install nvidia-open-driver-G06-signed-kmp-default yesterday ? Bug or bad sniffing?
I'll uninstall this package And see if it solves the problem.

Regards
Philippe
Comment 5 Bjørn Lie 2023-01-27 13:14:28 UTC
Solving as duplicate of 

https://bugzilla.opensuse.org/show_bug.cgi?id=1207520

Please feel free to reopen if I am mistaken.

*** This bug has been marked as a duplicate of bug 1207520 ***