On Mon, Jul 16, 2018 at 11:26 AM, Daniel Bauer <linux@daniel-bauer.com> wrote:
Well, somehow it fails to add weak updates. Download package nvidia-gfxG04-kmp-default-390.67_k4.4.76_1-8.1.x86_64.rpm from repository on nVidia site and then do under script command to capture full output
rpm -e --nodeps nvidia-gfxG04-kmp-default-390.67_k4.4.76_1-8.1.x86_64 find /lib/modules -name 'nvidia*' rpm -ivvh ./nvidia-gfxG04-kmp-default-390.67_k4.4.76_1-8.1.x86_64.rpm find /lib/modules -name 'nvidia*'
(whatever path you have downloaded package in)
The "rpm -ivv" will produce very verbose output. Upload file typescript created by script command somewhere.
ok, I just did that. The output of the 4 commands is here: https://www.daniel-bauer.com/test/nvidia_rpm_output.txt
rpm -e --nodeps nvidia-gfxG04-kmp-default-390.67_k4.4.76_1-8.1.x86_64
/usr/src/kernel-modules/nvidia-390.67-default / rm -f -r conftest make[1]: Entering directory '/usr/src/linux-4.4.138-59' make[2]: Entering directory '/usr/src/linux-4.4.138-59-obj/x86_64/default' CLEAN /usr/src/kernel-modules/nvidia-390.67-default CLEAN /usr/src/kernel-modules/nvidia-390.67-default/.tmp_versions CLEAN /usr/src/kernel-modules/nvidia-390.67-default/Module.symvers make[2]: Leaving directory '/usr/src/linux-4.4.138-59-obj/x86_64/default' make[1]: Leaving directory '/usr/src/linux-4.4.138-59' / update-alternatives: warning: alternative /usr/lib/nvidia/alternate-install-present-default (part of link group alternate-install-present) doesn't exist; removing from list of alternatives update-alternatives: warning: /etc/alternatives/alternate-install-present is dangling; it will be updated with best choice
-----------------------
find /lib/modules -name 'nvidia*'
/lib/modules/4.4.138-59-default/weak-updates/updates/nvidia-drm.ko /lib/modules/4.4.138-59-default/weak-updates/updates/nvidia-modeset.ko /lib/modules/4.4.138-59-default/kernel/drivers/net/ethernet/nvidia /lib/modules/4.4.132-53-default/weak-updates/updates/nvidia-drm.ko /lib/modules/4.4.132-53-default/weak-updates/updates/nvidia-modeset.ko /lib/modules/4.4.132-53-default/kernel/drivers/net/ethernet/nvidia
-----------------------
Well, that is the problem; these files must be symlinks to base modules which they are apparently not. Having output below would be interesting to confirm: ls -l /lib/modules/4.4.138-59-default/weak-updates/updates/nvidia-drm.ko /lib/modules/4.4.138-59-default/weak-updates/updates/nvidia-modeset.ko /lib/modules/4.4.132-53-default/weak-updates/updates/nvidia-drm.ko /lib/modules/4.4.132-53-default/weak-updates/updates/nvidia-modeset.ko
+ echo 'Warning: /lib/modules/4.4.138-59-default is inconsistent' Warning: /lib/modules/4.4.138-59-default is inconsistent + echo 'Warning: weak-updates symlinks might not be created' Warning: weak-updates symlinks might not be created
So try now 1. Remove package again 2. Delete files /lib/modules/4.4.138-59-default/weak-updates/updates/nvidia-drm.ko /lib/modules/4.4.138-59-default/weak-updates/updates/nvidia-modeset.ko /lib/modules/4.4.132-53-default/weak-updates/updates/nvidia-drm.ko /lib/modules/4.4.132-53-default/weak-updates/updates/nvidia-modeset.ko 3. Run (to be on safe side) depmod -a 4.4.132-53-default depmod -a 4.4.138-59-default 4. Reinstall package, verify that you have correct symlinks now. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org