Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199411

why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y ?

From Zenaan Harkness <zenaan@freedbms.net>
Newsgroups linux.debian.user
Subject why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y ?
Date 2018-08-27 11:50 +0200
Message-ID <wrmjL-53D-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


So I have a 'spare' internal spinning rust bucket which I only use
for backups, and so most of the time when I'm not using it I put it
to sleep with:

sudo hdparm -Y /dev/sda

Unfortunately the kernel wakes the drive up again:

Aug 27 19:44:40 eye kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
Aug 27 19:44:40 eye kernel: ata1.00: waking up from sleep
Aug 27 19:44:40 eye kernel: ata1: hard resetting link
Aug 27 19:44:41 eye kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Aug 27 19:44:41 eye kernel: ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
Aug 27 19:44:41 eye kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
Aug 27 19:44:41 eye kernel: ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Aug 27 19:44:43 eye kernel: ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
Aug 27 19:44:43 eye kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
Aug 27 19:44:43 eye kernel: ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Aug 27 19:44:43 eye kernel: ata1.00: configured for UDMA/133
Aug 27 19:44:43 eye kernel: ata1: EH complete

Why is the kernel doing this, and how do I stop it from happening?

TIA,

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y ? Zenaan Harkness <zenaan@freedbms.net> - 2018-08-27 11:50 +0200
  Re: why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y  ? Dan Ritter <dsr@randomstring.org> - 2018-08-27 12:00 +0200
  Re: why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y  ? mick crane <mick.crane@gmail.com> - 2018-08-27 15:50 +0200
  Re: why is the kernel "unsleeping" a HDD put to sleep with hdparm  -Y ? Patrick Bartek <nemommxiv@gmail.com> - 2018-08-27 17:10 +0200

csiph-web