-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
determine the vmlinux file from the crash dump #285
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inode2znode commands. Signed-off-by: Paul Zuchowski <[email protected]>
structures. This is an issue with 0.8.4 version of zfs. Signed-off-by: Tony Perkins <[email protected]>
Fix SDB crash when running znode See merge request sdb_dev/sdb!5
Develop CI code quality checks for sdb See merge request sdb_dev/sdb!11
Add zfs_refcount command See merge request sdb_dev/sdb!7
Fix CI failure, yapf reports formatting error in exit.py See merge request sdb_dev/sdb!13
Add a zio command to sdb See merge request sdb_dev/sdb!9
Add mutex and rrwlock commands to sdb See merge request sdb_dev/sdb!8
Add nvlist command to sdb See merge request sdb_dev/sdb!10
Add blkptr command to sdb See merge request sdb_dev/sdb!6
# Conflicts: # tests/integration/test_zfs_generic.py
Create a znode command for sdb See merge request sdb_dev/sdb!4
Add the ps command to sdb. See merge request sdb_dev/sdb!3
Fixes to pass tests See merge request sdb_dev/sdb!14
to not print the address of the field. Signed-off-by: Tony Perkins <[email protected]>
Enhance the sdb print command to allow a new parameter "-S" See merge request sdb_dev/sdb!15
Signed-off-by: Paul Zuchowski <[email protected]>
Handle exception when gathering stacks See merge request sdb_dev/sdb!16
Signed-off-by: Paul Zuchowski <[email protected]>
Let me try this again. It picks up too many other Datto changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
sdb does not automatically determine the vmlinux file from the crash dump
#41
= Solution
When a crash dump is supplied but the vmlinux file is not supplied on the command line, parse the crash dump to find the OS version, then scan /usr/lib/debug and /root for the vmlinux file matching that version. This follows the solution proposed by @prakashsurya. Other options require changes outside of sdb/drgn.
root@ub-20:~/sdb_detect/sdb# sdb -s /root/objs /root/dump-orig/dump.202102031354
sdb using ['/root/dumps/vmlinux-5.8.0-41-generic'] auto-detected from core file
sdb>
Tested with a core referencing a vmlinux that can be found in /root or /usr/lib/debug, and with one that is not located in /root or /usr/lib/debug.
Closes #41