Project

General

Profile

Bug #6943

Textdumps are not working on 2.4 (No DDB)

Added by Jim Pingle 10 months ago. Updated 10 months ago.

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

100%

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.

Associated revisions

Revision 0529323f
Added by Renato Botelho 10 months ago

Force textdump, it should fix #6943

History

#1 Updated by Renato Botelho 10 months ago

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

option DDB added to pfSense kernel

#2 Updated by Jim Pingle 10 months ago

  • 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.

#3 Updated by Renato Botelho 10 months ago

  • Status changed from Confirmed to Feedback

#4 Updated by Jim Pingle 10 months ago

  • 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. c945d7a5bc27a3d770bc66217dafb44f372cda83

Also available in: Atom PDF