view sources/patches/linux-shutup.patch @ 1698:49abeb0ead62 draft

linux 3.17
author Rob Landley <rob@landley.net>
date Sun, 05 Oct 2014 23:23:42 -0500
parents 7b4566efd8bd
children db11c049b66b
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 @@
 		if (r == &nonblocking_pool) {
 			prandom_reseed_late();
 			wake_up_interruptible(&urandom_init_wait);
-			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,