[Bug 1206833] New: Cannot load KMPs on armv7
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 Bug ID: 1206833 Summary: Cannot load KMPs on armv7 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: armv7 OS: openSUSE Leap 15.4 Status: NEW Severity: Critical Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: james.hobson@oriel.ox.ac.uk QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- KMPs do not load on OpenSuse Leap 15.4 on armv7. This because the kernel-default/lpae package exports: Provides: ksym(...) = 5f For all kernel symbols, but kernel symbols are calculated correctly for KMP packages e.g. ksym(default:PDE_DATA) = 22e390 (made up hash) This means that when you install a KMP package with zypper, it says that it cannot resolve dependencies. More worryingly, this breaks OBS kiwi builds for the armv7 platform -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c1 Michal Suchanek <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msuchanek@suse.com --- Comment #1 from Michal Suchanek <msuchanek@suse.com> --- Indeed, the broken provides can be seen here: https://build.opensuse.org/package/live_build_log/Kernel:SLE15-SP3/kernel-lp... -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c2 --- Comment #2 from Michal Suchanek <msuchanek@suse.com> --- The tooling seems to work on TW: localhost:~ # /usr/src/linux-6.0.12-1-obj/armv7hl/lpae/scripts/mod/ksym-provides lpae /lib/modules/6.0.12-1-default/kernel/lib/crc7.ko ksym(lpae:crc7_be) = 7fffffff ksym(lpae:crc7_be_syndrome_table) = 65aaf037 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c3 --- Comment #3 from Michal Suchanek <msuchanek@suse.com> --- echo /lib/modules/6.0.12-1-default/kernel/lib/crc7.ko | /usr/lib/rpm/find-provides.ksyms kmod(crc7.ko) ksym(default:crc7_be) = 7fffffff ksym(default:crc7_be_syndrome_table) = 65aaf037 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c4 --- Comment #4 from James Hobson <james.hobson@oriel.ox.ac.uk> --- Is there any movement on this bug? anything I can do? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c5 --- Comment #5 from Michal Suchanek <msuchanek@suse.com> --- perhaps provide the output of echo /lib/modules/*/kernel/lib/crc7.ko | /usr/lib/rpm/find-provides.ksyms -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c6 --- Comment #6 from James Hobson <james.hobson@oriel.ox.ac.uk> --- Sadly I'm running a very modified appliance with a custom kernel and I don't have that file. localhost:~ # echo /lib/modules/5.14.21-lp154.84.g49db222-default/pvrsrvkm.ko | /usr/lib/rpm/find-provides.ksyms error: cannot determine ksym provides of /lib/modules/5.14.21-lp154.84.g49db222-default/pvrsrvkm.ko - missing ksym-provides tool. kmod(pvrsrvkm.ko) I have run this. I don't know if my system is missing something or weather this is the bug -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c7 --- Comment #7 from James Hobson <james.hobson@oriel.ox.ac.uk> --- Found an armv7 device running vanilla Leap 15.4: tellurium-128:~ # echo /lib/modules/5.14.21-22-lpae/kernel/lib/crc7.ko.zst | /usr/lib/rpm/find-provides.ksyms error: cannot determine ksym provides of /tmp/tmp.l9DGd9H9qB.ko - missing ksym-provides tool. kmod(crc7.ko) Same error! But I'm not sure if the fact that the module is compressed matters? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c9 --- Comment #9 from James Hobson <james.hobson@oriel.ox.ac.uk> ---
kernel-default-devel that includes the tool for build
How do I build one of these? Both the default one and my custom one doesn't have this tool -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c10 --- Comment #10 from Michal Suchanek <msuchanek@suse.com> --- it does /usr/src/linux-5.14.21-24.39-obj/armv7hl/default/scripts/mod/ksym-provides -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c11 --- Comment #11 from James Hobson <james.hobson@oriel.ox.ac.uk> --- Sorry, I've got myself confused so I'm rewinding :) If I install Leap 15.4 (armv7) fresh, I can't install any modules from zipper in the default repos, nor can I build any. Is there any way to build the kernel to generate the Provides correctly? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206833 http://bugzilla.opensuse.org/show_bug.cgi?id=1206833#c12 --- Comment #12 from Michal Suchanek <msuchanek@suse.com> --- There probably isn't, there is some bug in generating those dependencies. However, running the ksym-provides tool and the dependency generator on Tumbleweed does not show any obvious problem. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com