Public bug reported:

I am using Ubuntu 14.04 with an Intel 4000HD and Nvidia GTX 770.
I have noticed that my gpu-manager claims that:
    Was nvidia unloaded? yes
even though the nvidia module is loaded and was never unloaded (and lsmod 
displays it).
Quick investigation showed that gpu-manager checks whether that module was 
unloaded by running:
    dmesg | grep -q "nvidia: module"
I assume that the intention was to detect any "nvidia: module unloaded" or 
similar messages.
However, my dmesg contains several other messages that match this pattern:
    nvidia: module license 'NVIDIA' taints kernel.
    nvidia: module verification failed: signature and/or  required key missing 
- tainting kernel
These messages are not realated to unloading the module, it sucessfully keeps 
running afterwards.
Therefore I believe the pattern used by gpu-manager is incorrect.

Possible solution is to correct that search string. The only message that 
appears in my dmesg when I unload nvidia module is:
    [drm] Module unloaded
The dmesg output never explicitly names `nvidia` when it is unloaded.
Another possible solution would be to grep lsmod instead of dmesg, to check if 
the driver is currently loaded.

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1337357

Title:
  gpu-manager searches for a wrong string when checking if nvidia was
  unloaded

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1337357/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to