mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
tools/create-gce-image.sh: fix sysctl.kernel.hung_task_all_cpu_backtrace=1
Turns out this is not a sysctl, even though it's prefixed with sysctl: https://groups.google.com/d/msg/syzkaller/EJP7uvY4O-c/XLrhrBqGAQAJ
This commit is contained in:
parent
46105100bf
commit
22968402ee
@ -148,7 +148,6 @@ done
|
||||
# sysctls
|
||||
echo "kernel.printk = 7 4 1 3" | sudo tee -a disk.mnt/etc/sysctl.conf
|
||||
echo "debug.exception-trace = 0" | sudo tee -a disk.mnt/etc/sysctl.conf
|
||||
echo "sysctl.kernel.hung_task_all_cpu_backtrace = 1" | sudo tee -a disk.mnt/etc/sysctl.conf
|
||||
SYZ_SYSCTL_FILE="${SYZ_SYSCTL_FILE:-}"
|
||||
if [ "$SYZ_SYSCTL_FILE" != "" ]; then
|
||||
cat $SYZ_SYSCTL_FILE | sudo tee -a disk.mnt/etc/sysctl.conf
|
||||
@ -191,7 +190,7 @@ menuentry 'linux' --class gnu-linux --class gnu --class os {
|
||||
insmod part_msdos
|
||||
insmod ext2
|
||||
set root='(hd0,1)'
|
||||
linux /vmlinuz root=/dev/sda1 console=ttyS0 earlyprintk=serial vsyscall=native rodata=n oops=panic panic_on_warn=1 nmi_watchdog=panic panic=86400 net.ifnames=0 $CMDLINE
|
||||
linux /vmlinuz root=/dev/sda1 console=ttyS0 earlyprintk=serial vsyscall=native rodata=n oops=panic panic_on_warn=1 nmi_watchdog=panic panic=86400 net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 $CMDLINE
|
||||
}
|
||||
EOF
|
||||
sudo grub-install --target=i386-pc --boot-directory=disk.mnt/boot --no-floppy $DISKDEV
|
||||
|
Loading…
Reference in New Issue
Block a user