Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AARCH64 CONFIG_CPU_BIG_ENDIAN=y doesn't boot fully #628

Closed
nickdesaulniers opened this issue Aug 6, 2019 · 1 comment
Closed

AARCH64 CONFIG_CPU_BIG_ENDIAN=y doesn't boot fully #628

nickdesaulniers opened this issue Aug 6, 2019 · 1 comment
Labels
[Reported-by] KernelCI Reported-by: kernelci.org bot <bot@kernelci.org> unreproducible Not or no longer reproducible wontfix This will not be worked on

Comments

@nickdesaulniers
Copy link
Member

$ qemu-system-aarch64 -kernel arch/arm64/boot/Image.gz -machine virt -cpu cortex-a57 -nographic --append "console=ttyAMA0" -m 2048
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd070]
[    0.000000] Linux version 5.3.0-rc3-00016-g0eb0ce0a78e1 (ndesaulniers@ndesaulniers1.mtv.corp.google.com) (clang version 10.0.0 (https://github.com/llvm/llvm-project.git 5bf16ec02b82c0e2502308c0ba36810b303ead0f)) #109 SMP PREEMPT Tue Aug 6 11:38:10 PDT 2019
...
[    0.454815] kvm [1]: HYP mode not available
[    0.732776] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-4c46, throttling...
[    5.882267] request_module: modprobe binfmt-4c46 cannot be processed, kmod busy with 50 threads for more than 5 seconds now

Seems like the kernel is getting caught in some loop.

KernelCI reported this as it's adding noise to their boot tests.

@nickdesaulniers nickdesaulniers added [ARCH] arm64 This bug impacts ARCH=arm64 [BUG] Untriaged Something isn't working low priority This bug is not critical and not a priority labels Aug 6, 2019
@nathanchance
Copy link
Member

This appears to be invalid according to the thread:

https://lore.kernel.org/linux-arm-kernel/ec7bef46-7dcf-d165-b772-b4fd6055d964@arm.com/

I can confirm that a CONFIG_CPU_BIG_ENDIAN kernel boots with their rootfs:

$ qemu-system-aarch64 -m 512m -cpu cortex-a57 -initrd rootfs.cpio -append console=ttyAMA0 -display none -serial mon:stdio -kernel /mnt/build/kernel/arch/arm64/boot/Image.gz -machine virt
...
linaro-test [rc=0]# zcat /proc/config.gz | grep BIG_ENDIAN
CONFIG_CPU_BIG_ENDIAN=y
linaro-test [rc=0]# cat /proc/version
Linux version 5.3.0-rc3-cbl-00308-g4e2cf66ab38a-dirty (nathan@archlinux-threadripper) (ClangBuiltLinux clang version 10.0.0 (git://github.com/llvm/llvm-project 4e72b1524944c4a03a49b6b02233fdc8417542f7) (based on LLVM 10.0.0svn)) #1 SMP PREEMPT Wed Aug 7 10:19:49 MST 2019

kernelci/kernelci-core#136

@nickdesaulniers nickdesaulniers added unreproducible Not or no longer reproducible wontfix This will not be worked on and removed [ARCH] arm64 This bug impacts ARCH=arm64 [BUG] Untriaged Something isn't working low priority This bug is not critical and not a priority labels Aug 7, 2019
nathanchance pushed a commit that referenced this issue Jan 29, 2020
found a warning by the following command:
./scripts/checkpatch.pl -f drivers/net/phy/adin.c

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
 #628: FILE: drivers/net/phy/adin.c:628:
+	msleep(10);

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
@nickdesaulniers nickdesaulniers added the [Reported-by] KernelCI Reported-by: kernelci.org bot <bot@kernelci.org> label Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Reported-by] KernelCI Reported-by: kernelci.org bot <bot@kernelci.org> unreproducible Not or no longer reproducible wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants