Kernel debug level message
watchdog : BUG: soft lockup - CPU#0 stuck for 22s!
appears in my console(/dev/tty1) and I am trying to prevent it.
I tried following 3 methods but none of them worked:
- I set kernel.printk = 1 1 1 1 in file /etc/sysctl.conf. Running sysctl kernel.printk from command line I can affirm the values are correct.
- Running dmesg -n 1 and dmesg -D (console off)
- I tried to set /etc/systemd/journald.conf values ForwardToConsole=no and TTYPath=/dev/tty2 ForwardToWall=no
None of these helped and kernel log still prints on my terminal.
What is missing? I am using Ubuntu 18.04.