Page MenuHomeFreeBSD

Add kernel support for minidumps on arm64
ClosedPublic

Authored by andrew on Aug 6 2015, 3:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 31 2024, 4:38 AM
Unknown Object (File)
Oct 7 2024, 6:40 AM
Unknown Object (File)
Oct 4 2024, 9:01 PM
Unknown Object (File)
Oct 4 2024, 6:06 PM
Unknown Object (File)
Oct 2 2024, 8:22 PM
Unknown Object (File)
Oct 2 2024, 8:46 AM
Unknown Object (File)
Sep 30 2024, 12:09 AM
Unknown Object (File)
Sep 29 2024, 7:20 AM
Subscribers

Details

Reviewers
None
Group Reviewers
arm64
Commits
rS286958: Add the kernel support for minidumps on arm64.
Summary

This follows the amd64 process of finding what memry to dump py looking at
the kernel page tables. It also adds the standard data to the dump.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew retitled this revision from to Add kernel support for minidumps on arm64.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added reviewers: arm64, peter.
sys/arm64/arm64/minidump_machdep.c
19–28 ↗(On Diff #7715)

We should probably keep the "author and contributors" version of the license.

You have a #if 0'd dump_add_page() in get_pv_entry() in pmap.c you probably want to enable (see also the dump_drop_page() in free_pv_chunk().

See also the uma_small routines in uma_machdep.c. amd64 has to add them explicitly since they use direct map addresses and thus aren't found by the KVA loop. The symptoms would be that the dump wouldn't contain small objects (ones that use a slab size of a page).

sys/arm64/arm64/minidump_machdep.c
19–28 ↗(On Diff #7715)

peter@ confirmed he's ok with switching to the up-to-date license

This revision was automatically updated to reflect the committed changes.