Project

General

Profile

Feature #12946

want ability to dump smbios data from crash dump

Added by Robert Mustacchi about 1 month ago. Updated 21 days ago.

Status:
Closed
Priority:
Normal
Category:
mdb - modular debugger
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Inside of a crash dump is all of a system's smbios data. This adds a dcmd ::smbios with a -w option that allows one to write out that data to a file so it can then be passed to smbios(1M). For example, one could run the following:

> *ksmbios::smbios -w /var/tmp/smbios.out

History

#1

Updated by Electric Monk about 1 month ago

  • Gerrit CR set to 789
#2

Updated by Robert Mustacchi 23 days ago

I tested this by loading the mdb module and testing it on a crash dump, writing out the smbios data with ::smbios -w and then passing it to smbios(1M) and it successfully read it.

I also tested this by using this with mdb -k and comparing it to the smbios(1M) -w output. They were identical.

#3

Updated by Electric Monk 21 days ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 6edddafdeaa7f4e95b88c106b4825057c934d52c

commit  6edddafdeaa7f4e95b88c106b4825057c934d52c
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2020-07-21T15:13:32.000Z

    12946 want ability to dump smbios data from crash dump
    Reviewed by: Rich Lowe <richlowe@richlowe.net>
    Reviewed by: Yuri Pankov <yuripv@yuripv.dev>
    Reviewed by: Toomas Some <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF