Bug #9409
closed
Crash dumps cannot be saved when RAM disks are enabled for /var
Added by Jim Pingle over 5 years ago.
Updated over 5 years ago.
Category:
Operating System
Affected Architecture:
All
Description
When a system has RAM disks enabled for /var, the /var/crash directory is missing at bootup when the OS attempts to save crash dumps. As such, the dumps cannot be saved.
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Target version changed from 2.5.0 to 2.4.4-p3
Tried on 2.4.4-p3. Set RAM Disk Size to 100 (enable swap) and perform sysctl debug.kdb.panic=1, /var/crash contains dump:
ls -lh /var/crash/
total 116
-rw-r--r-- 1 root wheel 2B May 14 18:26 bounds
-rw------- 1 root wheel 519B May 14 18:26 info.0
lrwxr-xr-x 1 root wheel 6B May 14 18:26 info.last -> info.0
-rw------- 1 root wheel 105K May 14 18:26 textdump.tar.0
lrwxr-xr-x 1 root wheel 14B May 14 18:26 textdump.tar.last -> textdump.tar.0
- Status changed from Feedback to Resolved
Also available in: Atom
PDF