view sources/patches/linux-shutup.patch @ 1684:7b4566efd8bd draft 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
children 49abeb0ead62
line wrap: on
line source

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,