View previous topic :: View next topic |
Author |
Message |
fcl Tux's lil' helper
Joined: 31 Dec 2016 Posts: 77
|
Posted: Sat Feb 04, 2017 12:23 am Post subject: [SOLVED] Some dmesg output is spammed to tty |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Feb 04, 2017 2:26 am Post subject: |
|
|
You could put "dmesg --console-off" in an /etc/local.d/ script, or login on a different VT... |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA
|
Posted: Sat Feb 04, 2017 10:24 am Post subject: |
|
|
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 |
|
|
fcl Tux's lil' helper
Joined: 31 Dec 2016 Posts: 77
|
Posted: Sat Feb 04, 2017 11:07 am Post subject: |
|
|
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 |
|
|
|