Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I get read of the message appending the login?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Starhowl
n00b
n00b


Joined: 13 Feb 2020
Posts: 15

PostPosted: Thu Feb 13, 2020 9:26 am    Post subject: How can I get read of the message appending the login? Reply with quote

Does anyone know how to get rid of the hrtimer-message showing up after the login prompt in the following video?
https://youtu.be/cz5Fcz0NXpk?t=13s
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24067
Location: here

PostPosted: Thu Feb 13, 2020 10:11 am    Post subject: Reply with quote

Welcome to gentoo forum!
See https://stackoverflow.com/questions/39600033/what-is-hrtimer-interrupt-took-x-ns-mean-seen-in-dmesg
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Starhowl
n00b
n00b


Joined: 13 Feb 2020
Posts: 15

PostPosted: Thu Feb 13, 2020 10:28 am    Post subject: Reply with quote

fedeliallalinea wrote:
Welcome to gentoo forum!
See https://stackoverflow.com/questions/39600033/what-is-hrtimer-interrupt-took-x-ns-mean-seen-in-dmesg

Thank you for the educational reply, I really appreciate it. But is there a way to turn it off?
Back to top
View user's profile Send private message
coderanger
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2018
Posts: 105
Location: Ukraine

PostPosted: Thu Feb 13, 2020 1:38 pm    Post subject: Reply with quote

This looks similar https://forums.gentoo.org/viewtopic-t-1058792-start-0.html
Back to top
View user's profile Send private message
Starhowl
n00b
n00b


Joined: 13 Feb 2020
Posts: 15

PostPosted: Thu Feb 13, 2020 1:48 pm    Post subject: Reply with quote

coderanger wrote:
This looks similar https://forums.gentoo.org/viewtopic-t-1058792-start-0.html

Thanks to your reply, at least I now know how to express the problem: "dmesg is spewing out messages on tty."

The solution on that last post of the suggested thread mentions a /etc/local.d/ folder though, which isn't found on my system with systemd. Any ideas?
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1775
Location: KUUSANKOSKI, Finland

PostPosted: Thu Feb 13, 2020 2:34 pm    Post subject: Reply with quote

Since you have systemd /etc/local.d -way does not work for you.

However doing
Code:
echo "kernel.printk = 3 4 1 3" >> /etc/sysctl.d/printk.conf
... as root should make your console less noisy (only more serious errors will be printed).
Reboot your machine or run
Code:
systemctl restart systemd-sysctl.service
... to apply the changes.

Want to dive deeper into kernel.printk?
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Starhowl
n00b
n00b


Joined: 13 Feb 2020
Posts: 15

PostPosted: Fri Feb 14, 2020 8:15 am    Post subject: Reply with quote

Zucca wrote:
Since you have systemd /etc/local.d -way does not work for you.

However doing
Code:
echo "kernel.printk = 3 4 1 3" >> /etc/sysctl.d/printk.conf
... as root should make your console less noisy (only more serious errors will be printed).
Reboot your machine or run
Code:
systemctl restart systemd-sysctl.service
... to apply the changes.

Want to dive deeper into kernel.printk?

Thank you for your additional input on this, Zucca. The initial advice to do
Code:
echo "dmesg --console-off" > /etc/local.d/dmesg.start

did remove the messages contrary to your reply though. I had to test it a little to see if it really does, before I could inform you.
Back to top
View user's profile Send private message
coderanger
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2018
Posts: 105
Location: Ukraine

PostPosted: Fri Feb 14, 2020 9:40 am    Post subject: Reply with quote

You can also try adding a word `quiet` into the grub command line and mostly all kernel messages will be suppressed.
Also possible option is to move all the kernel messages to different tty using console= parameter.
https://www.kernel.org/doc/html/v4.19/admin-guide/kernel-parameters.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum