[Bug 1213765] New: nvidia driver removal does not run depmod making subsequent dracut calls fail
https://bugzilla.suse.com/show_bug.cgi?id=1213765 Bug ID: 1213765 Summary: nvidia driver removal does not run depmod making subsequent dracut calls fail Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 3rd Party Driver Assignee: gfx-bugs@suse.de Reporter: arvidjaar@gmail.com QA Contact: sndirsch@suse.com Target Milestone: --- Found By: --- Blocker: --- 2023-07-28 18:55:37|command|root@uefi|'zypper' 'rm' '--clean-deps' 'nvidia-driver-G06-kmp-default'| 2023-07-28 18:55:43|remove |nvidia-compute-G06-32bit|535.86.05-10.1|x86_64|| 2023-07-28 18:55:45|remove |nvidia-gl-G06-32bit|535.86.05-10.1|x86_64|| 2023-07-28 18:55:47|remove |nvidia-video-G06-32bit|535.86.05-10.1|x86_64|| 2023-07-28 18:56:07|remove |nvidia-gl-G06|535.86.05-10.1|x86_64|| 2023-07-28 18:56:09|remove |nvidia-video-G06|535.86.05-10.1|x86_64|| 2023-07-28 18:56:13|remove |libnvidia-egl-wayland1|1.1.12-1.1|x86_64|| 2023-07-28 18:56:18|remove |nvidia-compute-G06|535.86.05-10.1|x86_64|| # 2023-07-28 18:56:33 nvidia-driver-G06-kmp-default-535.86.05_k6.4.3_1-10.1.x86_64 removed ok # warning: /usr/lib/modprobe.d/50-nvidia-default.conf saved as /usr/lib/modprobe.d/50-nvidia-default.conf.rpmsave # warning: /usr/lib/dracut/dracut.conf.d/60-nvidia-default.conf saved as /usr/lib/dracut/dracut.conf.d/60-nvidia-default.conf.rpmsave # 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 2023-07-28 18:56:33|remove |nvidia-driver-G06-kmp-default|535.86.05_k6.4.3_1-10.1|x86_64|root@uefi| So far so good, but subsequent dracut fails with dracut[I]: *** Including module: kernel-modules-extra *** realpath: updates/nvidia-modeset.ko: No such file or directory realpath: updates/nvidia-peermem.ko: No such file or directory realpath: updates/nvidia-drm.ko: No such file or directory realpath: updates/nvidia-uvm.ko: No such file or directory realpath: updates/nvidia.ko: No such file or directory dracut[F]: installkernel failed in module kernel-modules-extra Because user@uefi:~> ll /usr/lib/modules/6.4.4-1-default/updates/ total 0 user@uefi:~> grep nvidia /usr/lib/modules/6.4.4-1-default/modules.dep kernel/drivers/net/ethernet/nvidia/forcedeth.ko.zst: kernel/drivers/usb/typec/altmodes/typec_nvidia.ko.zst: kernel/drivers/usb/typec/altmodes/typec_displayport.ko.zst kernel/drivers/usb/typec/typec.ko.zst kernel/drivers/i2c/busses/i2c-nvidia-gpu.ko.zst: kernel/drivers/i2c/busses/i2c-ccgx-ucsi.ko.zst kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko.zst: kernel/drivers/acpi/video.ko.zst kernel/drivers/platform/x86/wmi.ko.zst updates/nvidia-modeset.ko: updates/nvidia.ko kernel/drivers/acpi/video.ko.zst kernel/drivers/platform/x86/wmi.ko.zst updates/nvidia-peermem.ko: updates/nvidia-drm.ko: updates/nvidia-modeset.ko updates/nvidia.ko kernel/drivers/acpi/video.ko.zst kernel/drivers/platform/x86/wmi.ko.zst updates/nvidia-uvm.ko: updates/nvidia.ko updates/nvidia.ko: user@uefi:~> ll /usr/lib/modules/6.4.4-1-default/modules.dep -rw-r--r-- 1 root root 655367 Jul 25 21:47 /usr/lib/modules/6.4.4-1-default/modules.dep user@uefi:~> So modules.dep was not updated when drivers were removed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com