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)
Mar 18 2024, 2:11 PM
Unknown Object (File)
Mar 8 2024, 4:31 PM
Unknown Object (File)
Feb 23 2024, 9:11 AM
Unknown Object (File)
Feb 17 2024, 2:17 AM
Unknown Object (File)
Jan 17 2024, 1:53 PM
Unknown Object (File)
Jan 17 2024, 1:02 PM
Unknown Object (File)
Dec 20 2023, 12:15 AM
Unknown Object (File)
Nov 27 2023, 2: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 Passed
Unit
No Test Coverage

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

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

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

This revision was automatically updated to reflect the committed changes.