Le mercredi 11 octobre 2017 à 15:14 +0800, Ed Greshko a écrit :
On 10/11/17 14:56, Jeandet Alexis wrote:
In my lab we have a "funny" beaviour with nvidia akmods.

- On my desktop I have a i7-6700K with an integrated GPU plus a GTX 1050 Ti ->
kernel/akmod updates works great
- On a second destop we have a i7-6950X without integrated GPU plus a GeForce GTX
1050 -> akmod always fail we have to relaunch it manually on each updates
- On a third desktop we have a i7-7820X without integrated GPU plus a GeForce GTX
1050 -> akmod always fail we have to relaunch it manually on each updates

I really looks like akmod fails if there is no aditionnal GPU. Does anyone see the
same behaviour?


Not seeing any problems here.

What does "fail" mean?  There are logs in /var/cache/akmods and you may want to give
more info.
in /var/cache/akmods/akmods.log for one update:

2017/09/11 10:40:50 akmods: Checking kmods exist for 4.12.9-300.fc26.x86_64
2017/09/11 10:40:50 akmods: Building and installing nvidia-kmod
2017/09/11 10:40:50 akmods: Building RPM using the command '/sbin/akmodsbuild --target x86_64 --kernels 4.12.9-300.fc26.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2017/09/11 10:41:00 akmods: Installing newly built rpms
2017/09/11 10:41:00 akmods: DNF detected
2017/09/11 10:41:00 akmods: Could not install newly built RPMs. You can find them and the logfile
2017/09/11 10:41:00 akmods: 375.66-3-for-4.12.9-300.fc26.x86_64.failed.log in /var/cache/akmods/nvidia/
2017/09/11 10:41:00 akmods: Checking kmods exist for 4.11.8-200.fc25.x86_64
2017/09/11 10:41:00 akmods: Ignoring nvidia-kmod as it failed earlier
2017/09/11 10:41:00 akmods: Hint: Some kmods were ignored or failed to build or install.
2017/09/11 10:41:00 akmods: You can try to rebuild and install them by by calling
2017/09/11 10:41:00 akmods: '/usr/sbin/akmods --force' as root.
2017/09/11 10:45:01 akmods: Checking kmods exist for 4.12.9-300.fc26.x86_64
2017/09/11 10:45:01 akmods: Ignoring nvidia-kmod as it failed earlier
2017/09/11 10:45:01 akmods: Hint: Some kmods were ignored or failed to build or install.
2017/09/11 10:45:01 akmods: You can try to rebuild and install them by by calling
2017/09/11 10:45:01 akmods: '/usr/sbin/akmods --force' as root.
2017/09/11 10:53:46 akmods: Checking kmods exist for 4.12.9-300.fc26.x86_64
2017/09/11 10:53:46 akmods: Building and installing nvidia-kmod
2017/09/11 10:53:46 akmods: Building RPM using the command '/sbin/akmodsbuild --target x86_64 --kernels 4.12.9-300.fc26.x86_64 /usr/src/akmods/nvidia-kmod.latest'
2017/09/11 10:53:57 akmods: Installing newly built rpms
2017/09/11 10:53:57 akmods: DNF detected
2017/09/11 10:54:02 akmods: Successful.
2017/09/11 10:55:40 akmods: Checking kmods exist for 4.12.9-300.fc26.x86_64
2017/10/09 11:45:44 akmods: Checking kmods exist for 4.12.9-300.fc26.x86_64

in /var/cache/akmods/nvidia/375.66-3-for-4.12.9-300.fc26.x86_64.failed.log

2017/09/11 10:41:00 akmods: DNF detected
erreur : db5 erreur(-30969) de dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
erreur : impossible d'ouvrir l'index Packages en utilisant db5 -  (-30969)
erreur : impossible d'ouvrir la base de données paquet dans /var/lib/rpm
Erreur : Error: rpmdb open failed
2017/09/11 10:41:00 akmods: Could not install newly built RPMs. You can find them and the logfile
2017/09/11 10:41:00 akmods: 375.66-3-for-4.12.9-300.fc26.x86_64.failed.log in /var/cache/akmods/nvidia/

It seems that akmods calls dnf while dnf is already doing something else. So it is less obvious why it doesn't(never) append on my machine.
BTW in the past yum or dnf were just waiting for other process to finish and now it returns immediately most of the time, I don't know why.

Of course akmods-nvidia comes from rpmfusion.  So, you may want to ask on their
mailing list?
Yes, I just wanted to see if anybody else see the same behavior before feeling a BR.
I might be wrong but I expect to see more people ont his ML.

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org