DLPX-95109 could not find 'spa_t *' when running sdb -e 'spa' on dump #545
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
We sometimes see that the the
spa
command works, but often not. Aftersome investigation it became clear that the issue here is that required
pages were being excluded from the generated dump file (as a result of
the
makedumpfile
-d
flag) that result indrgn
ignoring multiple kernelmodules (including the zfs module).
Solution
Trial and error testing revealed that switching from
-d 31
(defaultsetting for makedumpfile that excludes all pages it deems unnecessary
for debugging) to
-d 23
(excluding all those pages except the“user data” pages) results in a dump file that is larger, but also
does not cause
drgn
to report “Excluded page” errors at startup.This version of the dump file appears to allow full
sdb
debugging.Testing Done
https://selfservice-jenkins.eng-tools-prd.aws.delphixcloud.com/job/appliance-build-orchestrator-pre-push/12045/