MarvellEmbeddedProcessors / linux-marvell

Marvell Linux kernel
Other
89 stars 67 forks source link

18.09 issue #18

Open alphaonex86 opened 5 years ago

alphaonex86 commented 5 years ago

/root/linux-marvell-linux-4.4.120-armada-18.09/drivers/usb/gadget/udc/udc-core.c:510: undefined reference to udc_detect' /root/linux-marvell-linux-4.4.120-armada-18.09/drivers/usb/gadget/udc/udc-core.c:510:(.text+0x1e5b24): relocation truncated to fit: R_AARCH64_CALL26 against undefined symboludc_detect' drivers/built-in.o: In function usb_gadget_probe_driver': /root/linux-marvell-linux-4.4.120-armada-18.09/drivers/usb/gadget/udc/udc-core.c:536: undefined reference toudc_detect' /root/linux-marvell-linux-4.4.120-armada-18.09/drivers/usb/gadget/udc/udc-core.c:536:(.text+0x1e5bd4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol udc_detect' drivers/built-in.o: In functionxenon_probe_dt': /root/linux-marvell-linux-4.4.120-armada-18.09/drivers/mmc/host/sdhci-xenon.c:392: undefined reference to mv_soc_info_get_ap_revision' /root/linux-marvell-linux-4.4.120-armada-18.09/drivers/mmc/host/sdhci-xenon.c:392:(.text+0x271748): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbolmv_soc_info_get_ap_revision' drivers/built-in.o: In function xenon_emmc_phy_parse_param_dt': /root/linux-marvell-linux-4.4.120-armada-18.09/drivers/mmc/host/sdhci-xenon-phy.c:680: undefined reference tomv_soc_info_get_ap_revision' /root/linux-marvell-linux-4.4.120-armada-18.09/drivers/mmc/host/sdhci-xenon-phy.c:680:(.text+0x271c6c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `mv_soc_info_get_ap_revision' make: *** [Makefile:961: vmlinux] Error 1

alphaonex86 commented 5 years ago

[ 28.051705] NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [swapper/0:1] [ 28.059043] Modules linked in: [ 28.062119] [ 28.063616] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.4.120-armada-18.09.2 #5 [ 28.070953] Hardware name: Marvell 8040 MACHIATOBin SingleShot (DT) [ 28.077245] task: ffff80013b088000 ti: ffff80013b06c000 task.ti: ffff80013b06c000 [ 28.084765] PC is at smp_call_function_many+0x24c/0x2b0 [ 28.090010] LR is at smp_call_function_many+0x21c/0x2b0 [ 28.095256] pc : [] lr : [] pstate: 80000145 [ 28.102681] sp : ffff80013b06f840 [ 28.106008] x29: ffff80013b06f840 x28: ffff800000c6a000 [ 28.111363] x27: ffff800000c6ab74 x26: 0000000000000040 [ 28.116717] x25: ffff800000ce1300 x24: ffff8000001566f0 [ 28.122070] x23: 0000000000000001 x22: ffff800000c47d80 [ 28.127424] x21: ffff80013ff8ae08 x20: ffff800000c6ad78 [ 28.132778] x19: ffff80013ff8ae00 x18: ffff800080cef12f [ 28.138132] x17: 000000000000677f x16: ffff800000ce1400 [ 28.143485] x15: 0000000000000005 x14: 0000000000000050 [ 28.148838] x13: 0000000000000001 x12: ffff800000ce1780 [ 28.154192] x11: ffff800000ce1780 x10: ffff7bffc2c04020 [ 28.159546] x9 : 0000000000000140 x8 : 0000000000000008 [ 28.164899] x7 : 000000013f343000 x6 : 0000000000000000 [ 28.170253] x5 : 000000000000000b x4 : 0000000000000000 [ 28.175605] x3 : 0000000000000000 x2 : 0000000000000000 [ 28.180959] x1 : ffff80013ff6e120 x0 : ffff80013ff6e13

wtarreau commented 5 years ago

I got the same that I could fix by reverting this one : 32ff68e1b000 ("arm64: dts: a8k: enable cpuidle on A-8040 DB & mcbin boards")

After this the mcbin boots fine. I have no idea what the problem is though, I suspect the DTS change only enables a code path that is unreliable.