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


Groups > linux.debian.user > #199415 > unrolled thread

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

Started byMarc Auslander <marcslists@gmail.com>
First post2018-08-27 14:30 +0200
Last post2018-08-27 14:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y ? Marc Auslander <marcslists@gmail.com> - 2018-08-27 14:30 +0200

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

FromMarc Auslander <marcslists@gmail.com>
Date2018-08-27 14:30 +0200
SubjectRe: why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y ?
Message-ID<wroOB-6Cv-3@gated-at.bofh.it>
Zenaan Harkness <zenaan@freedbms.net> writes:

>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,

I do a similar thing but use hdparm -y.  I never see the drive spin back
up.

I would look in the log for a cron job related to the drive comming back up.

[toc] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web