Bug #2091
opensd fails to power up some disks
0%
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
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.
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.
Updated by Toomas Soome 12 months ago
- Related to Bug #14609: loader: os console in options menu should use first name from list added
Updated by Toomas Soome 12 months ago
- Related to deleted (Bug #14609: loader: os console in options menu should use first name from list)