From 56fe86c3ec7b99c9a0b025cf9e91d64ffe7f5566 Mon Sep 17 00:00:00 2001 From: Kor Nielsen Date: Tue, 19 Mar 2024 11:22:50 -0700 Subject: [PATCH] FPGA CI image: Print everything on kernel panic bit 0: all tasks info bit 1: system memory info bit 2: timer info bit 3: locks info bit 4: ftrace buffer bit 5: all printk messages in buffer bit 6: all CPUs backtrace (if available in the arch) --- ci-tools/fpga-image/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci-tools/fpga-image/build.sh b/ci-tools/fpga-image/build.sh index fd0716e70d..f456eb1554 100644 --- a/ci-tools/fpga-image/build.sh +++ b/ci-tools/fpga-image/build.sh @@ -44,6 +44,7 @@ if [[ -z "${SKIP_DEBOOTSTRAP}" ]]; then chroot out/rootfs bash -c 'echo nameserver 2001:4860:4860::64 >> /etc/resolv.conf' chroot out/rootfs bash -c 'echo kernel.softlockup_panic = 1 >> /etc/sysctl.conf' chroot out/rootfs bash -c 'echo kernel.softlockup_all_cpu_backtrace = 1 >> /etc/sysctl.conf' + chroot out/rootfs bash -c 'echo kernel.panic_print = 127 >> /etc/sysctl.conf' chroot out/rootfs bash -c 'echo kernel.sysrq = 1 >> /etc/sysctl.conf' chroot out/rootfs bash -c 'echo "[Time]" > /etc/systemd/timesyncd.conf' chroot out/rootfs bash -c 'echo "NTP=time.google.com" >> /etc/systemd/timesyncd.conf'