Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #199415
| From | Marc Auslander <marcslists@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: why is the kernel "unsleeping" a HDD put to sleep with hdparm -Y ? |
| Date | 2018-08-27 14:30 +0200 |
| Message-ID | <wroOB-6Cv-3@gated-at.bofh.it> (permalink) |
| References | <wroOB-6Cv-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.debian.user | Previous | Next | Find similar | Unroll thread
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
csiph-web