patches to quieten the nexus7 boot messages
Oliver Grawert
ogra at ubuntu.com
Fri Jan 25 17:28:11 UTC 2013
hi,
Am Freitag, den 25.01.2013, 18:14 +0100 schrieb Oliver Grawert:
> Am Freitag, den 25.01.2013, 17:00 +0000 schrieb Andy Whitcroft:
> > On Fri, Jan 25, 2013 at 03:46:48PM +0100, Oliver Grawert wrote:
> > > hi,
> > >
> > > in the nexus7 kernel a lot of hacked in third party drivers falsely use
> > > pr_err or KERN_ERR for printing out info messages to the console ...
> > >
> > > these messages show up before plymouth starts and give a noisy boot
> > > impression even though our kernel logging is already at lowest prio.
> > >
> > > to quieten that i have switched the respective functions from pr_err to
> > > pr_info in the attached 8 patches. please apply them to the nexus7 tree.
> >
> > As these are all at KERN_ERR, surley you can set the console down to
> > KERN_EMERG only and these will all be suppressed ? Are you already
> > using loglevel=0 or just quiet. In our main kernels we have the commit
> > below pulling the loglevel lower by default:
> >
> > commit 8464b5966d404505aa506c33c1099e6e507cdfc7
> > Author: Tim Gardner <tim.gardner at canonical.com>
> > Date: Thu Oct 8 11:42:36 2009 -0600
> >
> > UBUNTU: SAUCE: (no-up) raise the default console 'quiet' level to 2
> >
> > I don't see this in the n7 kernel, might that help? We could even move
> > it lower if appropriate.
> the n7 kernel definitely had the patch that is also used in ubuntu to
> set console_loglevel=1 in init/main.c,
>
> i also know that this didnt prevent the pr_err messages from being
> printed to console in our quantal image...
>
> looking at the code now, it seems the patch was lost during the re-base
> the kernel team did, i will try with loglevel=1 again and see which
> messages persist to be printed on screen ...
just tested, setting console_loglevel=1 in init/main.c gets me a
relatively quiet boot. what still shows up is a bunch of "Powering on
wifi" Powering off wifi" nonsense on teh screen, so please set the
loglevel to 1 and apply quieten_wifi_power_message.patch from the above
set..
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20130125/47972042/attachment.sig>
More information about the kernel-team
mailing list