Gentoo Archives: gentoo-user

From: "András Csányi" <sayusi.ando@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] nvidia driver and genkernel above 4.9 issues
Date: Thu, 15 Feb 2018 07:01:14
Message-Id: CALzub=o0S-DUbNbUKHDxi0vxghYxwPQzSz8syxz8hZSJKaiqQQ@mail.gmail.com
1 Hi All,
2
3 I have a fresh gentoo install and it works fine with 4.9 kernel,
4 nvidia video card does its job like a charm. However, I compiled a
5 4.15.3 kernel with the same setup, xorg-drivers recompiled,
6 nvidia-drivers recompiled, eselect kernel set shows to the new kernel
7 and I have strange behavior:
8
9 During boot I see a message which says nvidia.ko cannot be loaded due
10 to some signature issue. Checking the dmesg under windows I cannot see
11 this error message.
12 After successful boot obviously xdm do not start, but the whole screen
13 vibrates/blinking fast.
14
15 I haven't boot from live-cd and chroot and recompile xorg-drivers and
16 nvidia-drivers yet.
17
18 I saw a few article about that this might be due to Spectre/Meltdown,
19 but I'm not skilled in kernel things.
20
21 Any suggestion what I can do?
22
23 Thanks any help in advance!
24
25 in dmesg I see only this:
26
27 [ 3.194322] nvidia: loading out-of-tree module taints kernel.
28 [ 3.194326] nvidia: module license 'NVIDIA' taints kernel.
29 [ 3.194326] Disabling lock debugging due to kernel taint
30 [ 3.196697] nvidia: module verification failed: signature and/or
31 required key missing - tainting kernel
32 [ 3.200183] nvidia-nvlink: Nvlink Core is being initialized, major
33 device number 240
34 ...
35 [ 4.477269] NVRM: The NVIDIA probe routine was not called for 1 device(s).
36 [ 4.477270] NVRM: This can occur when a driver such as:
37 NVRM: nouveau, rivafb, nvidiafb or rivatv
38 NVRM: was loaded and obtained ownership of the NVIDIA device(s).
39 [ 4.477270] NVRM: Try unloading the conflicting kernel module (and/or
40 NVRM: reconfigure your kernel without the conflicting
41 NVRM: driver(s)), then try loading the NVIDIA kernel module
42 NVRM: again.
43 [ 4.477271] NVRM: No NVIDIA graphics adapter probed!
44 [ 4.477368] nvidia-nvlink: Unregistered the Nvlink Core, major
45 device number 240
46 [ 4.499175] nvidia_modeset: Unknown symbol nv_kthread_q_flush (err 0)
47 [ 4.499201] nvidia_modeset: Unknown symbol nvidia_register_module (err 0)
48 [ 4.499227] nvidia_modeset: Unknown symbol
49 nv_kthread_q_schedule_q_item (err 0)
50 [ 4.499254] nvidia_modeset: Unknown symbol nvidia_get_rm_ops (err 0)
51 [ 4.499267] nvidia_modeset: Unknown symbol nv_kthread_q_item_init (err 0)
52 [ 4.499275] nvidia_modeset: Unknown symbol nv_kthread_q_stop (err 0)
53 [ 4.499281] nvidia_modeset: Unknown symbol nvidia_unregister_module (err 0)
54 [ 4.499293] nvidia_modeset: Unknown symbol nv_kthread_q_init (err 0)
55 [ 4.510986] nvidia-nvlink: Nvlink Core is being initialized, major
56 device number 240
57 [ 4.511179] NVRM: The NVIDIA probe routine was not called for 1 device(s).
58 [ 4.511179] NVRM: This can occur when a driver such as:
59 NVRM: nouveau, rivafb, nvidiafb or rivatv
60 NVRM: was loaded and obtained ownership of the NVIDIA device(s).
61 [ 4.511180] NVRM: Try unloading the conflicting kernel module (and/or
62 NVRM: reconfigure your kernel without the conflicting
63 NVRM: driver(s)), then try loading the NVIDIA kernel module
64 NVRM: again.
65 [ 4.511180] NVRM: No NVIDIA graphics adapter probed!
66 [ 4.511254] nvidia-nvlink: Unregistered the Nvlink Core, major
67 device number 240
68 [ 4.529357] nvidia-nvlink: Nvlink Core is being initialized, major
69 device number 240
70 [ 4.529496] NVRM: The NVIDIA probe routine was not called for 1 device(s).
71 [ 4.529496] NVRM: This can occur when a driver such as:
72 NVRM: nouveau, rivafb, nvidiafb or rivatv
73 NVRM: was loaded and obtained ownership of the NVIDIA device(s).
74 [ 4.529497] NVRM: Try unloading the conflicting kernel module (and/or
75 NVRM: reconfigure your kernel without the conflicting
76 NVRM: driver(s)), then try loading the NVIDIA kernel module
77 NVRM: again.
78 [ 4.529497] NVRM: No NVIDIA graphics adapter probed!
79 [ 4.529652] nvidia-nvlink: Unregistered the Nvlink Core, major
80 device number 240
81 [ 4.536067] usb 1-1: device not accepting address 5, error -71
82 [ 4.536095] usb usb1-port1: unable to enumerate USB device
83 [ 4.564331] nvidia-nvlink: Nvlink Core is being initialized, major
84 device number 240
85 [ 4.564459] NVRM: The NVIDIA probe routine was not called for 1 device(s).
86 [ 4.564460] NVRM: This can occur when a driver such as:
87 NVRM: nouveau, rivafb, nvidiafb or rivatv
88 NVRM: was loaded and obtained ownership of the NVIDIA device(s).
89 [ 4.564460] NVRM: Try unloading the conflicting kernel module (and/or
90 NVRM: reconfigure your kernel without the conflicting
91 NVRM: driver(s)), then try loading the NVIDIA kernel module
92 NVRM: again.
93 [ 4.564460] NVRM: No NVIDIA graphics adapter probed!
94 [ 4.564514] nvidia-nvlink: Unregistered the Nvlink Core, major
95 device number 240
96 [ 4.583414] nvidia-nvlink: Nvlink Core is being initialized, major
97 device number 240
98 [ 4.583525] NVRM: The NVIDIA probe routine was not called for 1 device(s).
99 [ 4.583526] NVRM: This can occur when a driver such as:
100 NVRM: nouveau, rivafb, nvidiafb or rivatv
101 NVRM: was loaded and obtained ownership of the NVIDIA device(s).
102 [ 4.583526] NVRM: Try unloading the conflicting kernel module (and/or
103 NVRM: reconfigure your kernel without the conflicting
104 NVRM: driver(s)), then try loading the NVIDIA kernel module
105 NVRM: again.
106 [ 4.583526] NVRM: No NVIDIA graphics adapter probed!
107 [ 4.583571] nvidia-nvlink: Unregistered the Nvlink Core, major
108 device number 240
109 [ 4.650095] usb 1-2: new high-speed USB device number 6 using xhci_hcd
110 [ 4.728966] input: HDA NVidia HDMI/DP,pcm=3 as
111 /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input12
112 [ 4.729051] input: HDA NVidia HDMI/DP,pcm=7 as
113 /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input13
114 [ 4.729078] input: HDA NVidia HDMI/DP,pcm=8 as
115 /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input14
116 [ 4.729117] input: HDA NVidia HDMI/DP,pcm=9 as
117 /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input15
118 - -
119 -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
120 http://facebook.com/andras.csanyi
121 -- ""Trust in God and keep your gunpowder dry!" - Cromwell

Replies

Subject Author
[gentoo-user] Re: nvidia driver and genkernel above 4.9 issues Nikos Chantziaras <realnc@×××××.com>