On 29/03/2019 11.53, Carlos E. R. wrote:
On Friday, 2019-03-29 at 11:21 +0100, Carlos E. R. wrote:
Hi,
As mentioned previously, I have a problem with hibernation, and I need to try if a more advanced kernel solves the problem. So I have installed the 15.1 kernel on 15.0 (instead of trying the TW kernel), and the 15.1 NVidia driver.
So this is what I installed:
cer@Telcontar:~> rpm -qa | grep -i kernel | sort kernel-default-4.12.14-lp150.12.48.1.x86_64 kernel-default-4.12.14-lp151.22.9.x86_64
kernel-default-devel-4.12.14-lp150.12.48.1.x86_64 kernel-default-devel-4.12.14-lp151.22.9.x86_64
kernel-devel-4.12.14-lp150.12.45.1.noarch kernel-devel-4.12.14-lp150.12.48.1.noarch (I do not see a 15.1 version in repo)
In fact, yast complains that "nothing provides kernel-devel 4.12.14-lp151.22.9 needed by kernel-syms-4.12.14-lp151.22.9
startx complains:
modprobe: ERROR: could not find module by name='nvidia' modprobe: ERROR: could not insert 'nvidia': Unknown symbol in module, or unknown parameter (see dmesg)
If the module is missing in the Nvidia rpms or the kernel rpms, it is impossible to start X. Is this a bug? Intentional? Some other package is missing?
The cause of the problem was that kernel-devel had not been updated because I could not find it. Thanks to Takashi Iwai that he pointed out that the file is in noarch directory, not x86_64. To avoid problems that adding the 15.1 repo to YaST would create (accidentally updating the entire system) I had manually copied the kernel rpm to a local directory and used that as a repo. I had forgotten that there were several directories at the server. Another problem is that when installing the nvidia-gfxG03-kmp-default rpm, and if it fails to create the module in its Make process, the script continues happily and YaST or zypper is not aware of any error. And the output of that process is not logged to see. I had to run the "rpm --install --force nvidia-gfxG03-kmp-defaul..." command on a terminal to watch the messages, and there it was (log below is from a different run, but the same basic problem): make: *** /usr/src/linux-obj/x86_64/default: No such file or directory. Stop. <---------- make: *** /usr/src/linux-obj/x86_64/default: No such file or directory. Stop. <---------- /usr/src/kernel-modules/nvidia-340.107-default / NVIDIA: calling KBUILD... make[1]: *** /lib/modules//source: No such file or directory. Stop. NVIDIA: left KBUILD. nvidia.ko failed to build! <---------- make: *** [Makefile:192: nvidia.ko] Error 1 <========= But it did not stop, it continued, and the thing claimed success. After I knew all that, I tried again and I'm now happily running the 15.1 kernel: cer@Telcontar:~> uname -a Linux Telcontar 4.12.14-lp151.23-default #1 SMP Fri Mar 22 18:22:30 UTC 2019 (b40158b) x86_64 x86_64 x86_64 GNU/Linux cer@Telcontar:~> which has solved my issues with crash after return from hibernation and swap race crashing the system under heavy use :-D -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)