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


Groups > linux.debian.user > #199412

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

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y ?
Date 2018-08-27 12:00 +0200
Message-ID <wrmtt-56N-19@gated-at.bofh.it> (permalink)
References <wrmjL-53D-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 27, 2018 at 07:48:18PM +1000, Zenaan Harkness wrote:
> 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?

How often does it happen?

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | 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