Re: writing OOPS/panic info to nvram?

From: Pavel Machek (pavel@suse.cz)
Date: Fri Sep 06 2002 - 05:09:33 EST


Hi!

> > Ah, ther is no way to write raw blocks at a very low level to disk...??
>
> Not reliably; you _know_ your infrastructure has crashed, otherwise you
> wouldn't be inside the crash dump handler ;), so you can't possibly trust the
> normal block layer to write the crash dump (and not write it over your salary
> and customer database).

Floppy seems like safe choice. Verify its special "crash floppy" by checking
signature, then write.

> A network dump is much safer, though I would suggest running it over a
> dedicated card / driver combo and on a special ethernet protocol, because you
> might have lost your IP configuration...

Its enough for it to work 99% cases. Separate ethernet card is overkill,
serial console is easier than that.
                                                                Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:30 EST