Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Some dmesg output is spammed to tty
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fcl
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2016
Posts: 77

PostPosted: Sat Feb 04, 2017 12:23 am    Post subject: [SOLVED] Some dmesg output is spammed to tty Reply with quote

This is quite weird. When I boot up it always spams some of the networking stuff. My system is Thinkpad X220 with systemd and gnome-light DE (gdm disabled).

After boot, login screen to tty
Code:
This is maya (Linux x86_64 4.9.7-gentoo) 02:10:35

maya login: [    3.704633] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[    3.940095] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[    3.950078] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
foo
Password:
Last login: Wed Feb  1 23:18:58 EET 2017 on tty1
foo@maya ~ $ [   62.909374] iwlwifi 0000:03:00.0: RF_KILL bit toggled to enable radio.
[   62.916001] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[   62.916373] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[   62.916541] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[   63.191389] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[   63.191779] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[   63.191987] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[   63.270347] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   63.305939] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
 su[  107.710573] random: crng init done
sudo setterm -dump 1 -file screen.dump
Password:


As you can see, after login I switched the physical RF switch on my Thinkpad (enabled wireless networking). Then I took the screen dump with setterm.


Last edited by fcl on Sat Feb 04, 2017 11:04 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Feb 04, 2017 2:26 am    Post subject: Reply with quote

You could put "dmesg --console-off" in an /etc/local.d/ script, or login on a different VT...
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Sat Feb 04, 2017 10:24 am    Post subject: Reply with quote

Thanks, yeah I think systemd does not disable console spew of kernel ring buffer messages by default.

Fortunately gentoo-systemd-integration should read in /etc/local.d ... at least I hope this works on my box...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
fcl
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2016
Posts: 77

PostPosted: Sat Feb 04, 2017 11:07 am    Post subject: Reply with quote

Ant P. wrote:
You could put "dmesg --console-off" in an /etc/local.d/ script, or login on a different VT...

Thank you, that worked beautifully.

Code:
# echo "dmesg --console-off" > /etc/local.d/dmesg.start
# chmod u+x /etc/local.d/dmesg.start


and no more garbage after rebooting!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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