Project

General

Profile

Actions

Bug #9409

closed

Crash dumps cannot be saved when RAM disks are enabled for /var

Added by Jim Pingle over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Operating System
Target version:
Start date:
03/18/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
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.

Actions #1

Updated by Jim Pingle over 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Jim Pingle over 2 years ago

  • Target version changed from 2.5.0 to 2.4.4-p3
Actions #3

Updated by Constantine Kormashev over 2 years ago

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

Actions #4

Updated by Jim Pingle over 2 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF