[#] http://marc.info/?l=openbsd-cvs&m=141106608810249&w=2
openbsd-cvs(obsdave,2) — All
2014-09-18 22:55:05


Module name: src
Changes by: kettenis@cvs.openbsd.org 2014/09/18 12:47:29

Modified files:
sys/scsi : sd.c

Log message:
Some disks, such as the Seagate Cheetah 73LP FC with Sun firmware
(ST373405FSUN72G) respond to a START STOP UNIT command that spins down the
disk with a "Logical Unit Not Ready, Initialization Command Required".
Besides causing some dmesg spam, our sd(4) driver responds to such a response
by spinning the disk back up. Prevent this from happening by respecting
the SCSI_IGNORE_NOT_READY flag and using that flag when spinning down the
disk.

ok miod@