[Bug 1207520] New: nvidia-open-driver-G06-signed incorrectly declares compatibility with too much hardware
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 Bug ID: 1207520 Summary: nvidia-open-driver-G06-signed incorrectly declares compatibility with too much hardware 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: sndirsch@suse.com Reporter: brunopitrus@hotmail.com QA Contact: sndirsch@suse.com Found By: --- Blocker: --- The RPM ���supplements��� of nvidia-open-driver-G06-signed-kmp-default declare compatibility with all vendor 10DE gpu's, causing it to get installed automatically by zypper on such hardware. On my Quadro P620 after installing i get the following error in dmesg: [ 10.303180] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1cbd) NVRM: installed in this system is not supported by open NVRM: nvidia.ko because it does not include the required GPU NVRM: System Processor (GSP). NVRM: Please see the 'Open Linux Kernel Modules' and 'GSP NVRM: Firmware' sections in the driver README, available on NVRM: the Linux graphics driver download page at NVRM: www.nvidia.com. According to https://github.com/NVIDIA/open-gpu-kernel-modules this hardware is not supported by the open kernel modules. Please correct the RPM metadata. Compare the metadata of nvidia-driver-G06-kmp-default which is much more specific. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c1 --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- I noticed this last night and wanted to work on this today. What I currently know is that this doesn't happen for a manual build via osc build ... But in the buildlog of automatic buildservice build I see. [...] [ 657s] Supplements: modalias(kernel-default:pci:v000010DEd00001E37sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00001EB4sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00001EB8sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00001EB9sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B0sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B1sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B2sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B3sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B5sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B6sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B7sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020F0sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020F1sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020F2sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00002235sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00002236sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00002237sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000025B6sv*sd*bc03sc0[02]i00*) packageand(kernel-default:nvidia-open-driver-G06-signed) which looks good, then later ... suddenly ... [ 220s] Supplements: modalias(kernel-default:pci:v000010DEd*sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd*sv*sd*bc06sc80i00*) packageand(kernel-default:nvidia-open-driver-G06-signed) which covers just any nvidia graphics GPU. -- You are receiving this mail because: You are on the CC list for the bug.
osc build --no-verify openSUSE_Factory x86_64 [...] rpm --supplements -qp /tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/RPMS/x86_64/nvidia-open-driver-G06-signed-kmp-default-525.85.05_k6.1.7_1-0.x86_64.rpm modalias(kernel-default:pci:v000010DEd00001E37sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00001EB4sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00001EB8sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00001EB9sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B0sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B1sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B2sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B3sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B5sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B6sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020B7sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020F0sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020F1sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000020F2sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00002235sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00002236sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd00002237sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd000025B6sv*sd*bc03sc0[02]i00*)
osc getbinaries openSUSE_Factory x86_64 rpm --supplements -qp binaries/nvidia-open-driver-G06-signed-kmp-default-525.85.05_k6.1.7_1-4.1.x86_64.rpm modalias(kernel-default:pci:v000010DEd*sv*sd*bc03sc0[02]i00*) modalias(kernel-default:pci:v000010DEd*sv*sd*bc06sc80i00*)
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c2 --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- Manual build ---------------- packageand(kernel-default:nvidia-open-driver-G06-signed) Automatically built via buildservice ------------------------------------------ packageand(kernel-default:nvidia-open-driver-G06-signed) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c3 --- Comment #3 from Stefan Dirsch <sndirsch@suse.com> --- So thinks are magically working when disabling pesigning of modules, i.e. in specfile: -export BRP_PESIGN_FILES="*.ko" -export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} +export BRP_PESIGN_FILES="" +#export BRP_PESIGN_FILES="*.ko" +#export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules} So apparently it's pesign, which breaks the Supplements. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c4 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gmbr3@opensuse.org --- Comment #4 from Stefan Dirsch <sndirsch@suse.com> --- @Callum Since you've added this pesign stuff. Do you happen to know what's happening here? What's the purpose of using pesign? Is this the secureboot signature or some different signature? Do we need this at all? What I need in the end would be secureboot-signed kernel modules, that can be loaded by our openSUSE kernel on Leap/SLE and Tumbleweed. About our Supplements for these kernel modules here. It's rather special. In the sources it looks like any nVidia GPU device would be supported. But things are working differently in the end. The driver itself checks the support during start instead. For the openGPU driver I think now this information hidden in the firmware. Therefore useful Supplements need to be generated manually. See "my-find-supplements" script using "pci_ids-525.85.05" file and "__kmp_supplements" macro redefined in the specfile. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c5 --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- In the log I see that pesign-repackage.spec mentioned. [...] cloud121 started "build pesign-repackage.spec" [...] Maybe this is a regenerated specfile which is missing the "__kmp_supplements" macro redefined. How can I verify that? pesign is not running during a manual build. And I can't login to such a worker machine either. :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c7 Michal Suchanek <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msuchanek@suse.com --- Comment #7 from Michal Suchanek <msuchanek@suse.com> --- Can't the supplements be copied from the existing package instead of adding generators to pesign-obs-integration templates? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c10 --- Comment #10 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Callum Farmer from comment #6)
Yes, pesign-obs-integration adds the secureboot key from OBS hence why it has to effectively build twice to get the key inbetween. I didn't invent the idea or create it, and it especially has a lot of well this is unintended like this issue.
I already noticed and commented in the SR to Factory which should've subsequently been declined again but nevermind. Fix in progress
Thank a lot for working on this!
Fix for POBSI: https://build.opensuse.org/request/show/1060443
Watching now. Once it has been checked in ...
Needed changes post-POBSI changes to open-gpu-modules: https://build.opensuse.org/package/show/home:gmbr3:POBSI/nvidia-open-driver- G06-signed
... please submit your fix above. Or I can pick it up as well for myself ... currently testing your fix by adding your current pesign-obs-integration temporarily to X11:Drivers:Video:Redesign and building your nvidia-open-driver-G06-signed in a branched project. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c15 --- Comment #15 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1207520) was mentioned in https://build.opensuse.org/request/show/1061524 Factory / pesign-obs-integration -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c16 Bj�rn Lie <bjorn.lie@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |conde.philippe@skynet.be --- Comment #16 from Bj�rn Lie <bjorn.lie@gmail.com> --- *** Bug 1207672 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c20 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |David.Boyd49@twc.com --- Comment #20 from Stefan Dirsch <sndirsch@suse.com> --- *** Bug 1207717 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 Filippo Bonazzi <filippo.bonazzi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1207517 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c25 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1207517 | CC| |filippo.bonazzi@suse.com --- Comment #25 from Stefan Dirsch <sndirsch@suse.com> --- *** Bug 1207517 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jlee@suse.com), | |needinfo?(glin@suse.com) | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 Filippo Bonazzi <filippo.bonazzi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|filippo.bonazzi@suse.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c30 --- Comment #30 from Joey Lee <jlee@suse.com> --- (In reply to Stefan Dirsch from comment #13)
This is still needed
https://build.opensuse.org/request/show/1060443
Also the same fix for pesign-obs-integration on sle15-sp5/Leap 15.5 ...
I have pushed Stefan's change to Base:System/pesign-obs-integration, and a submitreq to Factory be created: https://build.opensuse.org/request/show/1061964 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c32 --- Comment #32 from Stefan Dirsch <sndirsch@suse.com> --- Thanks a lot, Joey! I'll revert my workarounds in nvidia-open-driver-G06-signed package submission if/once your SRs got accepted. Watching them now ... Here are mine: obs: https://build.opensuse.org/request/show/1061900 (internal-ibs: https://build.suse.de/request/show/289130) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c33 --- Comment #33 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1207520) was mentioned in https://build.opensuse.org/request/show/1062105 Factory / nvidia-open-driver-G06-signed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 Ken Rice <krinpaus@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krinpaus@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c35 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markstolz.23081979@gmail.co | |m --- Comment #35 from Stefan Dirsch <sndirsch@suse.com> --- *** Bug 1207777 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c37 --- Comment #37 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Martin Wilck from comment #36)
(In reply to Joey Lee from comment #30)
I have pushed Stefan's change to Base:System/pesign-obs-integration, and a submitreq to Factory be created:
The documentation of pesign-spec-macros and pesign-copy-sources shouldn't be hidden in the README of pesign-obs-integration, which hardly anyone is aware of.
As this is an important topic for KMP authors, should this be mentioned in the Kernel Module Packages manual (https://drivers.suse.com/doc/kmpm/), perhaps? The last version we published was for SLE11, unfortunately.
Good idea, but we should track this separately! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c38 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rainer.klute@gmx.de --- Comment #38 from Stefan Dirsch <sndirsch@suse.com> --- *** Bug 1207776 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207520 http://bugzilla.opensuse.org/show_bug.cgi?id=1207520#c41 --- Comment #41 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1207520) was mentioned in https://build.opensuse.org/request/show/1064248 Factory / nvidia-open-driver-G06-signed -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com