Sample Header Ad - 728x90

Why dmesg output displayed on /dev/tty1

2 votes
1 answer
2821 views
This is still related to my [yesterday thread](https://unix.stackexchange.com/questions/703218/annoying-clocksource-alert-warning-in-bash-prompt-periodically) , so there's alert or maybe it's just log that displayed on my terminal on
/dev/tty1
. Ofcourse it's annoying because it's displayed in my bash prompt, so whenever I want input something, my input has been overwrite with that output. It came printed out periodically maybe about
second
. So you can see how it's annoying My terminal is moreless looks like this:
root@LFS:# echo "Hey get out of there"clocksource: timekeeping watchdog on CPU0: acpi_pm wd-wd readback delay of 643744ns
clocksource: wd-tsc-wd read-back delay of 182144ns, clock-skew test skipped!
clocksource: timekeeping watchdog on CPU0: acpi_pm wd-wd readback delay of 643744ns
clocksource: wd-tsc-wd read-back delay of 182144ns, clock-skew test skipped!
clocksource: timekeeping watchdog on CPU0: acpi_pm wd-wd readback delay of 643744ns
clocksource: wd-tsc-wd read-back delay of 182144ns, clock-skew test skipped!
...
I suspect this is not because of
, but
output. Because when I command
. It display same. But whenever I use
/dev/pts
There's no annoying output or alert that came periodically, I tested it when I login SSH in my LFS sistem. So how to prevent dmesg log displayed to
/dev/tty1
Update: Inside
/proc/cmdline
root@LFS:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.16.9-lfs-11.1 root=/dev/sda1 ro
Asked by Muhammad Ikhwan Perwira (319 rep)
May 20, 2022, 02:22 PM
Last activity: May 20, 2022, 03:01 PM