Project

General

Profile

Actions

Bug #2091

open

sd fails to power up some disks

Added by Albert Lee about 11 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2012-02-08
Due date:
% Done:

0%

Estimated time:
Difficulty:
Hard
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

The firmware in some newer drives (2TB+) apparently have limited power management support. sd attempts to use power management on attach and the PM framework produces:
"WARNING: Device /scsi_vhci/disk@g5000c50034f6d347 failed to power up."
The device is not accessible if this happens.

Disabling the use of the POWER CONDITION parameter for START STOP UNIT in sd via sd-config-list = "<vendor and product strings from format(1) inquiry including spaces>", "power-condition:false";' is sufficient to resolve this.

There is probably something wrong with sd.


Related issues

Related to illumos gate - Bug #2087: sd needs to detect and handle SBC-3 correctlyFeedbackAlbert Lee2012-02-08

Actions
Actions #1

Updated by Albert Lee about 11 years ago

  • Assignee set to Albert Lee

If the "pm-capable" property was set by the HBA driver, sd_pm_setup tests START STOP UNIT, POWER CONDITION, and LOG SENSE, and will disable support for them if necessary. It does not perform these tests if "pm-capable" was not set (but support may be enabled by sd_set_unit_attributes earlier). Not clear if this has anything to do with the affected devices.

sd_create_pm_components will always set "pm-components" (to 3 or 5 depending on whether we have POWER CONDITION) and attempt to raise power.

Actions #2

Updated by Albert Lee over 9 years ago

A hardware vendor has investigated this and determined that we were sending START STOP UNIT with PC set to 1 and the START bit set to 0. The problem is this is interpreted as a spin down by a device not supporting power management.

The device's VPD 8Ah and mode page 1Ah were zeroes so our PC check is not properly parsing them.

Actions #3

Updated by Yuri Pankov about 6 years ago

  • Description updated (diff)
Actions #4

Updated by Toomas Soome 12 months ago

  • Related to Bug #14609: loader: os console in options menu should use first name from list added
Actions #5

Updated by Toomas Soome 12 months ago

  • Related to deleted (Bug #14609: loader: os console in options menu should use first name from list)
Actions

Also available in: Atom PDF