Project

General

Profile

Actions

Bug #6943

closed
JP RB

Textdumps are not working on 2.4 (No DDB)

Bug #6943: Textdumps are not working on 2.4 (No DDB)

Added by Jim Pingle almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
Operating System
Target version:
Start date:
11/18/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4
Affected Architecture:
amd64

Description

The amd64 kernel in 2.4 does not contain "options DDB" so textdumps are not working. It does have "options KDB", but not DDB.

RB Updated by Renato Botelho almost 10 years ago Actions #1

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

option DDB added to pfSense kernel

JP Updated by Jim Pingle almost 10 years ago Actions #2

  • Status changed from Feedback to Confirmed

DDB is there now but something still isn't triggering textdumps. 2.4 has a different /etc/ddb.conf file from the one on 2.3, but even loading that one on wasn't enough, it's still doing vmcores and not textdumps.

RB Updated by Renato Botelho almost 10 years ago Actions #3

  • Status changed from Confirmed to Feedback

Applied in changeset commit:0529323ff97f81e0203553086df8917aeb5542d3.

JP Updated by Jim Pingle almost 10 years ago Actions #4

  • Status changed from Feedback to Resolved

That worked, thanks!

I did make one small tweak. Before, we used kdb.enter.default rather than kdb.enter.panic as using only .panic could result in some crashes failing to a debugger prompt without rebooting. This way it'll take a textdump no matter what triggers the debugger, rather than potentially halting the firewall without a means of remote recovery. commit:c945d7a5bc27a3d770bc66217dafb44f372cda83

Actions

Also available in: Atom