cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386 swtch.s src/sys/kern kern_shutdown.c src/sys/sys systm.h

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Jan 20 22:25:38 PST 2004


In message <Pine.NEB.3.96L.1040120221452.53972J-100000 at fledge.watson.org>, Robe
rt Watson writes:
>
>On Tue, 20 Jan 2004, Don Lewis wrote:
>
>> It would be extremely helpful to preserve the panic message and
>> (optionally) the backtrace across the reboot.  Crash dumps may not
>> always be possible for any number of reasons (swap smaller than RAM,
>> /var/crash too small or overflowing with previous crash dumps, crash
>> dump takes too long ...).  This is especially true in cases where the
>> machine crashes and reboots unattended. 
>
>Actually, I was having a very similar conversation with Bill Paul this
>afternoon.  We were discussing dropping a copy of the kernel message
>buffer onto the header of swap space on panic

Just remember to stay out of the first 16kb so you don't trash
bootblocks/disklabels should they live there.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list