-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DLPX-87560 sdb: dmesg broken for 5.15 kernels (#340)
This patch replaces our hand-written implementation of dmesg which doesn't work for most vanilla kernel versions after 5.10 with the drgn helper which stays up to date more often. In order for this to work I had to change the type of our dmesg command from a Locator+PrettyPrinter to a standard command. This is not a big deal as the only reason we would ever walk and filter dmesg would be to filter the kernel logs by level. I've added this as an argument to the command. = Github Issue Tracker Automation Closes #336
- Loading branch information
Showing
10 changed files
with
1,938 additions
and
3,806 deletions.
There are no files selected for viewing
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
2,532 changes: 1,265 additions & 1,267 deletions
2,532
tests/integration/data/regression_output/dump.201912060006/linux/dmesg
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
tests/integration/data/regression_output/dump.201912060006/linux/dmesg -l 3
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ 3.685278] piix4_smbus 0000:00:07.3: SMBus Host Controller not enabled! | ||
[ 4.346112] sd 2:0:0:0: [sda] Assuming drive cache: write through | ||
[ 4.356113] sd 2:0:1:0: [sdb] Assuming drive cache: write through | ||
[ 4.363435] sd 2:0:2:0: [sdc] Assuming drive cache: write through | ||
[ 4.366085] sd 2:0:3:0: [sdd] Assuming drive cache: write through | ||
[ 48.368009] db_root: cannot open: /etc/target | ||
[ 305.340853] Kernel panic - not syncing: sysrq triggered crash | ||
@#$ EXIT CODE $#@ | ||
0 |
8 changes: 0 additions & 8 deletions
8
...on/data/regression_output/dump.201912060006/linux/dmesg | filter 'obj.level == 3' | dmesg
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.