[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120523035949.GA4966@lizard>
Date: Tue, 22 May 2012 20:59:50 -0700
From: Anton Vorontsov <anton.vorontsov@...aro.org>
To: David Miller <davem@...emloft.net>
Cc: torvalds@...ux-foundation.org, ccross@...roid.com,
gregkh@...uxfoundation.org, keescook@...omium.org,
tony.luck@...el.com, arnd@...db.de, john.stultz@...aro.org,
shuahkhan@...il.com, arve@...roid.com, rebecca@...roid.com,
jj@...osbits.net, rdunlap@...otime.net, sboyd@...eaurora.org,
thomas@...3r.de, akpm@...ux-foundation.org,
marco.stornelli@...il.com, xiyou.wangcong@...il.com,
linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
linaro-kernel@...ts.linaro.org, patches@...aro.org,
kernel-team@...roid.com, mingo@...e.hu, a.p.zijlstra@...llo.nl,
rusty@...tcorp.com.au
Subject: Re: [PATCH/RFC] Make sure linux_banner is the first message in
log_buf
On Tue, May 22, 2012 at 10:55:12PM -0400, David Miller wrote:
> From: Anton Vorontsov <anton.vorontsov@...aro.org>
> Date: Tue, 22 May 2012 19:35:16 -0700
>
> > For scripting it is important to have a consistent header that tells
> > where the kernel log starts. At least to me it always seemed that
> > linux_banner served this purpose.
>
> Your change will not achieve this goal, many architectures
> print things long before control passes to init/main.c
If they use printk, we'll catch these messages, no? It is true that
if they just write to the HW directly, the messages are lost for us,
and there's nothing we can do about it (and we don't see these
messages from the kernel anyway, neither in dmesg, nor in pstore).
So, for serial (or arch-specific) console it is still cumbersome to
make proper parsing of all messages, but for pstore/ramconsole it is
OK. So, I dunno. I guess I'll have to add a custom header to pstore,
heh.
Thanks,
--
Anton Vorontsov
Email: cbouatmailru@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists