Project

General

Profile

Actions

Feature #9719

closed

uts/i86pc: add way to set bootrd_debug

Added by Toomas Soome about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2018-08-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

The bootrd_debug is knob to enable boot time ramdisk read debug messages - in the reader code for ufs, hsfs etc accessing boot_archive file system. Since the boot archive is accessed so early, there is no way to set it with kmdb (kmdb is read from the boot archive), the only reasonable way to set it is via boot property quite like it is done for prom_debug and few others.

To set the debug, it is enough to set bootrd_debug=true, the value itself is not important as we only check if the variable exists.

Actions #1

Updated by Electric Monk about 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 70ee30a511f4abfd1b9cdf25495a219fe131829a

commit  70ee30a511f4abfd1b9cdf25495a219fe131829a
Author: Toomas Soome <tsoome@me.com>
Date:   2018-08-16T23:20:42.000Z

    9719 uts/i86pc: add way to set bootrd_debug
    Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
    Reviewed by: John Levon <john.levon@joyent.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF