Bug 193334 - crashinfo(8) doesn't handle compressed dumps (savecore -z)
Summary: crashinfo(8) doesn't handle compressed dumps (savecore -z)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: John Baldwin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 02:50 UTC by Jan Beich
Modified: 2023-02-19 17:50 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2014-09-05 02:50:04 UTC
$ dmesg -a | fgrep -A1 savecore
savecore: reboot after panic: vm_fault: fault on nofault entry, addr: fffffe0006140000
savecore: writing compressed core to /var/crash/vmcore.1.gz
/var/crash/vmcore.1 not found

$ crashinfo
/var/crash/vmcore.1 not found

$ sysrc savecore_flags
savecore_flags: -z

$ ls -l /var/crash/vmcore.1*
-rw-------  1 root  wheel   224M Sep  4 10:16 /var/crash/vmcore.1.gz
$ gunzip /var/crash/vmcore.1.gz
$ ls -l /var/crash/vmcore.1*
-rw-------  1 root  wheel   998M Sep  4 10:16 /var/crash/vmcore.1
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-02-19 17:50:35 UTC
This was implemented in https://cgit.freebsd.org/src/commit/?id=6f77212f270f7644575fe3705ed2596eafe0577d

^Triage: assigning to committer who resolved the issue.