[Bug 1227702] New: Tumbleweed repo rpm nvidia packages script unable to regenerate systemd-boot initramfs in order to blacklist nouveau
https://bugzilla.suse.com/show_bug.cgi?id=1227702 Bug ID: 1227702 Summary: Tumbleweed repo rpm nvidia packages script unable to regenerate systemd-boot initramfs in order to blacklist nouveau Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Major Priority: P5 - None Component: X11 3rd Party Driver Assignee: gfx-bugs@suse.de Reporter: arminandrey@gmail.com QA Contact: sndirsch@suse.com Target Milestone: --- Found By: --- Blocker: --- By trying to install on a environment with systemd-boot the nvidia drivers through repo-non-free, even if it generates kernel loader blacklists as such: grep -i 'blacklist nouveau' /etc/modprobe.d/* /etc/modprobe.d/blacklist-nouveau.conf:blacklist nouveau grep -i 'blacklist nouveau' /lib/modprobe.d/* grep -i 'blacklist nouveau' /usr/lib/modprobe.d/* it is unable to deactivate nouveau. The only hacky solution was through kernel parameters such as rd.driver.blacklist. After some debugging, it was clear that GRUB2 was in fact working just right, requiring just a simple restart after installation and the culprit was in fact systemd-boot. Basically, systemd-boot isn't using directly dracut -f for initramfs regeneration, but sdbootutil mkinitrd. So after installation, I had to use sdbootutil mkinitrd manually in order to actually blacklist nouveau. The package scripts should be able to distinguish between a GRUB2 and systemd-boot to use the required regeneration tools. Same applies to nvidia own run script tool. SDB:NVIDIA drivers wiki should indicate this case too. Ref. https://forums.opensuse.org/t/unable-to-blacklist-nouveau-even-with-blacklis... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227702 ArminC <arminandrey@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arminandrey@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227702 https://bugzilla.suse.com/show_bug.cgi?id=1227702#c1 Andrei Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aplanas@suse.com, | |arvidjaar@gmail.com --- Comment #1 from Andrei Borzenkov <arvidjaar@gmail.com> --- KMP relies on /usr/lib/module-init-tools/kernel-scriptlets and calls kmp-post/kmp-posttrans. With suse-module-tools-scriptlets these scripts regenerate initrd. With sdbootutil-rpm-scriptlets those scripts are linked to /usr/bin/true. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com