summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2014-09-18 18:47:29 +0000
committerkettenis <kettenis@openbsd.org>2014-09-18 18:47:29 +0000
commitcfe99e7e01927a7fe40b745fea84d140fb585978 (patch)
treec000faeafba565e441a8dff3d066fc93fe0b284b /sys/kern/subr_hibernate.c
parentadd some missing man pages for armv7. (diff)
downloadwireguard-openbsd-cfe99e7e01927a7fe40b745fea84d140fb585978.tar.xz
wireguard-openbsd-cfe99e7e01927a7fe40b745fea84d140fb585978.zip
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@
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions