Bug 1136950

Summary: Kernel 5.2-rc2 relocation overflow errors breaking boot
Product: [openSUSE] openSUSE Tumbleweed Reporter: Andreas Färber <afaerber>
Component: KernelAssignee: Yousaf Kaukab <yousaf.kaukab>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P4 - Low CC: chester.lin, duwe, guillaume.gardet, matz, mbrugger, mkubecek, ppyu, ptesarik, yousaf.kaukab
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: openSUSE Factory   
See Also: http://bugzilla.suse.com/show_bug.cgi?id=1126040
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Färber 2019-05-31 10:24:33 UTC
Booting the Kernel:HEAD 5.2-rc2 kernel on, e.g., a Raspberry Pi 3 Model B I get:

[    4.983797] module dm_mod: overflow in relocation type 258 val feefd014
...
[    6.731417] module phy_generic: overflow in relocation type 258 val d3d7172d
[  OK  ] Started udev Coldplug all Devices.
[    6.802239] i2c-bcm2835 3f805000.i2c: Could not read clock-frequency property
[    6.803812] module mmc_core: overflow in relocation type 258 val d9c33bb1
[    6.820504] module usbcore: overflow in relocation type 258 val 9f68f2cc
[    6.922416] module mmc_core: overflow in relocation type 258 val d9c33bb1
[    6.981875] module mmc_core: overflow in relocation type 258 val d9c33bb1
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.

This then leads to the rootfs on SD card not being found.
Comment 1 Matthias Brugger 2019-05-31 10:37:30 UTC
I think Torsten had the same issue which got fixed by:
3fd00beb14a5 ("arm64/module: revert to unsigned interpretation of ABS16/32 relocations")
Comment 2 Guillaume GARDET 2019-06-03 07:57:59 UTC
(In reply to Matthias Brugger from comment #1)
> I think Torsten had the same issue which got fixed by:
> 3fd00beb14a5 ("arm64/module: revert to unsigned interpretation of ABS16/32
> relocations")

Indeed, it should fix it. Please retry with 5.2-rc3 (once available in Kernel:HEAD).
Comment 3 Michal Kubeček 2019-06-03 16:15:32 UTC
Kernel:HEAD won't get 5.2-rc3 until tomorrow (I came to the office later so
that I didn't update the branch before OBS submission deadline) but QA/aarch64
build of kernel-obs-qa in IBS project Devel:Kernel:master which used to fail
with error like in the initial description now succeeds with 5.2-rc3 kernel.
Comment 4 Michal Kubeček 2019-06-10 11:30:09 UTC
Going to close later this week unless someone can reproduce with 5.2-rc3 or
newer.
Comment 5 Andreas Färber 2019-06-10 11:36:36 UTC
On the two boards tested so far, boot is now working.
Comment 6 Andreas Färber 2019-06-10 11:37:32 UTC
Tested on Raspberry Pi 3 Model B and Nano Pi K2.