[lkml]   [2011]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk upon panic

On Tue, Jan 25, 2011 at 03:47:48PM +0200, Ahmed S. Darwish wrote:
> The main problem, it seems, is that the BIOS "Reset controller" command is not
> enough to restore disk hardware to a state understandable by the BIOS code.

I doubt many BIOSen would implement this properly. It's something no
one ever uses and modern controllers have a lot more states and are
more complex to reset.

> - Is it possible to re-initialize the disk hardware to its POST
> state (thus make the BIOS services work reliably) while keeping
> system RAM unmodified?

I'm afraid this can't be made reliable. Nobody uses it and the stuff
we do during pci initialization is enough to leave some BIOSen

> - If not, can we do it manually by reprogramming the controllers?

It would be only theoretically possible. We'll basically have to
write deinitialization routine for different controllers, which of
course would be super-cold path and not many people would test.

I'm afraid this is gonna be something which works sometimes (or even
more times than not) but can't ever be made reliable. I think it
would be better to head toward usb or other kind of early console.



 \ /
  Last update: 2011-01-25 15:57    [W:0.138 / U:9.356 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site