/srv/irclogs.ubuntu.com/2018/03/21/#ubuntu-kernel.txt

anon^_^question regarding this ticket00:46
anon^_^https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/175093700:46
ubot5`Ubuntu bug 1750937 in gcc-4.8 (Ubuntu) "4.4.0-116 Kernel update on 2/21 breaks Nvidia drivers (on 14.04 and 16.04) due to outdated gcc-4.8" [Undecided,Fix released]00:46
anon^_^not sure it's fixed00:47
anon^_^updated to 3.13.0-143-lowlatency00:47
anon^_^Mar 21 00:30:32 ****** kernel: [   35.102961] nvidia: version magic '3.13.0-143-lowlatency SMP preempt mod_unload modversions ' should be '3.13.0-143-lowlatency SMP preempt mod_unload modversions retpoline '00:48
anon^_^nvidia driver fails to load00:48
anon^_^problem appeared on kernel update00:49
anon^_^also discussed here00:50
anon^_^https://devtalk.nvidia.com/default/topic/1030325/nvidia-driver-installation-v387-26-on-ubuntu-16-04/00:50
anon^_^the described fix there doesn't seem to fix the issue00:50
anon^_^gcc defaulted to gcc 501:21
anon^_^switched gcc with update-alternatives to 4:4.8.2-1ubuntu601:22
anon^_^testing01:22
anon^_^also had to update dkms manually01:23
anon^_^https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1750937/comments/3001:23
ubot5`Ubuntu bug 1750937 in gcc-4.8 (Ubuntu) "4.4.0-116 Kernel update on 2/21 breaks Nvidia drivers (on 14.04 and 16.04) due to outdated gcc-4.8" [Undecided,Fix released]01:23
anon^_^well, that didn't go well02:15
anon^_^it does seem there is an issue with Trusty 14.04 and recent retpoline changes02:15
anon^_^nvidia driver module is unloaded in 3.13.0-143-lowlatency02:16
anon^_^modinfo nvidia-384 -k 3.13.0-143-lowlatency02:16
anon^_^vermagic:       3.13.0-143-lowlatency SMP preempt mod_unload modversions 02:16
anon^_^no retpoline flag02:17
anon^_^kern.log02:18
anon^_^Mar 21 02:11:55 ****** kernel: [   60.800613] nvidia: version magic '3.13.0-143-lowlatency SMP preempt mod_unload modversions ' should be '3.13.0-143-lowlatency SMP preempt mod_unload modversions retpoline '02:18
anon^_^that's after reverting to gcc 4:4.8.2-1ubuntu602:18
anon^_^the re-install of 3.13.0-143-lowlatency, reboot, followed by reinstall of nvidia-38402:19
anon^_^^then02:19
anon^_^nobody around?02:20
anon^_^until this is fixed by the kernel team, nvidia drivers are broken, unless a user manually edits vermagic.h02:23
anon^_^# /usr/src/linux-headers-3.13.0-143/include/linux/vermagic.h02:25
* anon^_^ sighs02:25
anon^_^after editing vermagic.sh using instructions here02:34
anon^_^https://devtalk.nvidia.com/default/topic/1030325/nvidia-driver-installation-v387-26-on-ubuntu-16-04/02:34
anon^_^-#ifdef RETPOLINE02:34
anon^_^+/* #ifdef RETPOLINE */02:34
anon^_^+#if 102:34
anon^_^then dkms for nvidia driver was removed and re-installed02:35
anon^_^sudo dkms remove nvidia-384/384.111 -k 3.13.0-143-lowlatency02:35
anon^_^sudo dkms install nvidia-384/384.111 -k 3.13.0-143-lowlatency02:35
anon^_^modinfo nvidia-384 -k 3.13.0-143-lowlatency02:35
anon^_^vermagic:       3.13.0-143-lowlatency SMP preempt mod_unload modversions retpoline 02:35
anon^_^now retpoline shows up, which should permit kernel to load nvidia driver again02:35
anon^_^hopefully the kernel team fixes this the right way. Most users won't be able to fix this themselves02:37
apwtseliot, ^08:14
tseliotdijuremo: I don't think I have seen that problem. Have you filed a bug report about it?08:33
juerghtseliot, https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/175093709:08
ubot5`Ubuntu bug 1750937 in gcc-4.8 (Ubuntu) "4.4.0-116 Kernel update on 2/21 breaks Nvidia drivers (on 14.04 and 16.04) due to outdated gcc-4.8" [Undecided,Fix released]09:08
juerghseems like a race between the kernel and gcc updates.09:08
tseliotjuergh: oh, nothing I can do about it, I suppose09:36
=== Elimin8r is now known as Elimin8er
anon^_^apw, juergh it's not fixed19:49
anon^_^sorry, going through channel log now19:49
anon^_^i had to remove latest kernel update, nvidia drivers, re-install, *then* manually edit vermagic.h in the kernel source19:50
anon^_^and then manually remove and re-install nvidia-384 entry in dkms19:51
anon^_^reproducible even now19:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!