Re: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk uponpanic
From: H. Peter Anvin
Date: Thu Feb 03 2011 - 16:10:20 EST
On 02/03/2011 09:57 AM, Ingo Molnar wrote:
>
> * H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>
>> On 02/03/2011 06:36 AM, Pavel Machek wrote:
>>>
>>> Could we read the log area, first, verify it contains signature, write
>>> it back?
>>> Pavel
>>
>> Yes, but that doesn't guarantee no data corruption caused by handing
>> over from one driver to another.
>
> Waiting a few seconds? Is there any sufficiently high number of X where waiting X
> seconds would make it safe to touch the hardware? (i.e. it would guarantee that
> pending commands are flushed, etc.)
>
Probably not... if you have enough control over the hardware to force a
device reset you should be okay, though. This kind of comes down to
wanting a complete set of system drivers, i.e. kexec/kdump again.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/