aboriginal

changeset 1684:7b4566efd8bd 1.2.8

Silence some asynchronous messages linux produces on top of the shell prompt.
author Rob Landley <rob@landley.net>
date Sun, 07 Sep 2014 10:39:51 -0500
parents f13b8fae1206
children 24589fe49e1d
files sources/patches/linux-shutup.patch
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sources/patches/linux-shutup.patch	Sun Sep 07 10:39:51 2014 -0500
     1.3 @@ -0,0 +1,26 @@
     1.4 +Modern kernels crap asynchronus messages over the serial console after lauching init, hiding the shell prompt. Silence two of them.
     1.5 +
     1.6 +diff -ru linux/drivers/char/random.c linux.bak/drivers/char/random.c
     1.7 +--- linux/drivers/char/random.c	2014-06-08 13:19:54.000000000 -0500
     1.8 ++++ linux.bak/drivers/char/random.c	2014-09-06 21:40:09.430230266 -0500
     1.9 +@@ -657,7 +657,7 @@
    1.10 + 		r->entropy_total = 0;
    1.11 + 		if (r == &nonblocking_pool) {
    1.12 + 			prandom_reseed_late();
    1.13 +-			pr_notice("random: %s pool is initialized\n", r->name);
    1.14 ++			pr_debug("random: %s pool is initialized\n", r->name);
    1.15 + 		}
    1.16 + 	}
    1.17 + 
    1.18 +diff -ru linux/drivers/net/ethernet/intel/e1000/e1000_main.c linux.bak/drivers/net/ethernet/intel/e1000/e1000_main.c
    1.19 +--- linux/drivers/net/ethernet/intel/e1000/e1000_main.c	2014-06-08 13:19:54.000000000 -0500
    1.20 ++++ linux.bak/drivers/net/ethernet/intel/e1000/e1000_main.c	2014-09-06 20:55:29.974299985 -0500
    1.21 +@@ -2426,7 +2426,7 @@
    1.22 + 						   &adapter->link_duplex);
    1.23 + 
    1.24 + 			ctrl = er32(CTRL);
    1.25 +-			pr_info("%s NIC Link is Up %d Mbps %s, "
    1.26 ++			pr_debug("%s NIC Link is Up %d Mbps %s, "
    1.27 + 				"Flow Control: %s\n",
    1.28 + 				netdev->name,
    1.29 + 				adapter->link_speed,