Skip to content

Commit

Permalink
FPGA CI: Set kernel.softlockup_all_cpu_backtrace=1. (#1393)
Browse files Browse the repository at this point in the history
This will help debug any kernel crashes.
  • Loading branch information
korran authored Mar 7, 2024
1 parent 9386ec7 commit 880bdd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci-tools/fpga-image/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ if [[ -z "${SKIP_DEBOOTSTRAP}" ]]; then
chroot out/rootfs bash -c 'echo nameserver 2001:4860:4860::6464 > /etc/resolv.conf'
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.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'
Expand Down

0 comments on commit 880bdd4

Please sign in to comment.