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, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/linux-shutup.patch	Sun Sep 07 10:39:51 2014 -0500
@@ -0,0 +1,26 @@
+Modern kernels crap asynchronus messages over the serial console after lauching init, hiding the shell prompt. Silence two of them.
+
+diff -ru linux/drivers/char/random.c linux.bak/drivers/char/random.c
+--- linux/drivers/char/random.c	2014-06-08 13:19:54.000000000 -0500
++++ linux.bak/drivers/char/random.c	2014-09-06 21:40:09.430230266 -0500
+@@ -657,7 +657,7 @@
+ 		r->entropy_total = 0;
+ 		if (r == &nonblocking_pool) {
+ 			prandom_reseed_late();
+-			pr_notice("random: %s pool is initialized\n", r->name);
++			pr_debug("random: %s pool is initialized\n", r->name);
+ 		}
+ 	}
+ 
+diff -ru linux/drivers/net/ethernet/intel/e1000/e1000_main.c linux.bak/drivers/net/ethernet/intel/e1000/e1000_main.c
+--- linux/drivers/net/ethernet/intel/e1000/e1000_main.c	2014-06-08 13:19:54.000000000 -0500
++++ linux.bak/drivers/net/ethernet/intel/e1000/e1000_main.c	2014-09-06 20:55:29.974299985 -0500
+@@ -2426,7 +2426,7 @@
+ 						   &adapter->link_duplex);
+ 
+ 			ctrl = er32(CTRL);
+-			pr_info("%s NIC Link is Up %d Mbps %s, "
++			pr_debug("%s NIC Link is Up %d Mbps %s, "
+ 				"Flow Control: %s\n",
+ 				netdev->name,
+ 				adapter->link_speed,