Re: boot failure, module: overflow in relocation

From: Xiong Zhou
Date: Thu Mar 02 2017 - 05:15:25 EST


Nevermind, it got fixed now i think.

On Thu, Mar 02, 2017 at 05:51:27PM +0800, Xiong Zhou wrote:
> Hi,
>
> One host failed to boot while merge going on,
>
> [ 13.076303] module: overflow in relocation type 10 val ffffffffa0060e58
> [ 13.076338] module: overflow in relocation type 10 val ffffffffa01ac96b
> [ 13.076340] module: `scsi_transport_sas' likely not compiled with -mcmodel=kernel
> [ 13.181517] module: `pps_core' likely not compiled with -mcmodel=kernel
> [ 13.212405] module: overflow in relocation type 10 val ffffffffa004c278
> [ 13.244297] module: `fjes' likely not compiled with -mcmodel=kernel
> [ 13.294340] module: overflow in relocation type 10 val ffffffffa003be58
> [ 13.294348] module: overflow in relocation type 10 val ffffffffa0082797
> [ 13.294350] module: `nd_pmem' likely not compiled with -mcmodel=kernel
> [ 13.388080] module: `pps_core' likely not compiled with -mcmodel=kernel
> [ 13.433976] module: overflow in relocation type 10 val ffffffffa0095c8e
> [ 13.466011] module: `drm' likely not compiled with -mcmodel=kernel
>
> then wait to mount rootfs or other tasks like forever.
>
> Bisect pointing to:
> commit d1091c7fa3d52ebce4dd3f15d04155b3469b2f90
> Author: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> Date: Tue Feb 21 15:35:32 2017 -0600
>
> objtool: Improve detection of BUG() and other dead ends
>
> After reverting these 3 commits, login prompt shows.
> 4e4636c objtool: Enclose contents of unreachable() macro in a block
> 3d1e236 objtool: Prevent GCC from merging annotate_unreachable()
> d1091c7 objtool: Improve detection of BUG() and other dead ends
>
> Thanks,
>
> ---- bisect log ------
> git bisect start
> # good: [86292b33d4b79ee03e2f43ea0381ef85f077c760] Merge branch 'akpm' (patches from Andrew)
> git bisect good 86292b33d4b79ee03e2f43ea0381ef85f077c760
> # bad: [8313064c2e75542201e557e2b496668811c2484a] Merge tag 'nfsd-4.11' of git://linux-nfs.org/~bfields/linux
> git bisect bad 8313064c2e75542201e557e2b496668811c2484a
> # bad: [d4f4cf77b37eaea58ef863a4cbc95dad3880b524] Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
> git bisect bad d4f4cf77b37eaea58ef863a4cbc95dad3880b524
> # bad: [74efe07bc38c538ba7ac40a895910f4f3bee3152] Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
> git bisect bad 74efe07bc38c538ba7ac40a895910f4f3bee3152
> # good: [c4d2603dac3a555e4bb324daf5cb5cdb5694eedd] rhashtable: Fix RCU dereference annotation in rht_bucket_nested
> git bisect good c4d2603dac3a555e4bb324daf5cb5cdb5694eedd
> # good: [2f44f75257d57f0d5668dba3a6ada0f4872132c9] Merge branch 'qed-fixes'
> git bisect good 2f44f75257d57f0d5668dba3a6ada0f4872132c9
> # good: [74e3f63ce60eb81fbd39aa6c0353059b7e2cb5f7] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
> git bisect good 74e3f63ce60eb81fbd39aa6c0353059b7e2cb5f7
> # bad: [4e4636cf981b5b629fbfb78aa9f232e015f7d521] objtool: Enclose contents of unreachable() macro in a block
> git bisect bad 4e4636cf981b5b629fbfb78aa9f232e015f7d521
> # bad: [d1091c7fa3d52ebce4dd3f15d04155b3469b2f90] objtool: Improve detection of BUG() and other dead ends
> git bisect bad d1091c7fa3d52ebce4dd3f15d04155b3469b2f90
> # good: [9f0c18aec620bc9d82268b3cb937568dd07b43ff] objtool: Fix CONFIG_STACK_VALIDATION=y warning for out-of-tree modules
> git bisect good 9f0c18aec620bc9d82268b3cb937568dd07b43ff
> # first bad commit: [d1091c7fa3d52ebce4dd3f15d04155b3469b2f90] objtool: Improve detection of BUG() and other dead ends