comparison 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
comparison
equal deleted inserted replaced
1683:f13b8fae1206 1684:7b4566efd8bd
1 Modern kernels crap asynchronus messages over the serial console after lauching init, hiding the shell prompt. Silence two of them.
2
3 diff -ru linux/drivers/char/random.c linux.bak/drivers/char/random.c
4 --- linux/drivers/char/random.c 2014-06-08 13:19:54.000000000 -0500
5 +++ linux.bak/drivers/char/random.c 2014-09-06 21:40:09.430230266 -0500
6 @@ -657,7 +657,7 @@
7 r->entropy_total = 0;
8 if (r == &nonblocking_pool) {
9 prandom_reseed_late();
10 - pr_notice("random: %s pool is initialized\n", r->name);
11 + pr_debug("random: %s pool is initialized\n", r->name);
12 }
13 }
14
15 diff -ru linux/drivers/net/ethernet/intel/e1000/e1000_main.c linux.bak/drivers/net/ethernet/intel/e1000/e1000_main.c
16 --- linux/drivers/net/ethernet/intel/e1000/e1000_main.c 2014-06-08 13:19:54.000000000 -0500
17 +++ linux.bak/drivers/net/ethernet/intel/e1000/e1000_main.c 2014-09-06 20:55:29.974299985 -0500
18 @@ -2426,7 +2426,7 @@
19 &adapter->link_duplex);
20
21 ctrl = er32(CTRL);
22 - pr_info("%s NIC Link is Up %d Mbps %s, "
23 + pr_debug("%s NIC Link is Up %d Mbps %s, "
24 "Flow Control: %s\n",
25 netdev->name,
26 adapter->link_speed,