cvs commit: src/sys/amd64/amd64 dump_machdep.c machdep.c src/sys/amd64/include pmap.h src/sys/i386/i386 dump_machdep.c machdep.c src/sys/i386/include pmap.h src/sys/sys kerneldump.h

Nate Lawson nate at root.org
Thu Jun 30 08:43:00 GMT 2005


Peter Wemm wrote:
> peter       2005-06-29 22:28:46 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/amd64/amd64      dump_machdep.c machdep.c 
>     sys/amd64/include    pmap.h 
>     sys/i386/i386        dump_machdep.c machdep.c 
>     sys/i386/include     pmap.h 
>     sys/sys              kerneldump.h 
>   Log:
>   Switch AMD64 and i386 platforms to using ELF as their kernel crash
>   dump format.  The key reason to do this is so that we can dump sparse
>   address space.  For example, we need to be able to skip the PCI hole
>   just below the 4GB boundary.  Trying to destructively dump MMIO device
>   registers is Really Bad(TM).  The frequent result of trying to do a
>   crash dump on a machine with 4GB or more ram was ugly (lockup or reboot).

Excellent.  Any plan to skip other regions like mmaped files and only 
dump anonymous pages?  This could significantly reduce the dump times. 
Then gzip support.  Then suspend to disk.  :)

-- 
Nate


More information about the cvs-src mailing list