2006-08-02 10:36:16

by Pavel Machek

[permalink] [raw]
Subject: Re: 2.6.18-rc2, problem to wake up spinned down drive?

Hi!

> I tried to spin down my harddisk using hdparm, but when it is
> supposed to spin up again, then it is blocked for quite some
> time. dmesg says:
>
> ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> ata1.00: (BMDMA stat 0x20)
> ata1.00: tag 0 cmd 0xca Emask 0x4 stat 0x40 err 0x0 (timeout)
> ata1: port is slow to respond, please be patient
> ata1: port failed to respond (30 secs)
> ata1: soft resetting port
> ata1.00: configured for UDMA/133
> ata1: EH complete
> SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 3a 00 00
> SCSI device sda: drive cache: write back
>
> The disk is a SAMSUNG SP1614C.
>
>
> On another machine (with a SAMSUNG SP2504C inside) there is no
> such problem: The disk is back after just a few seconds.

How do you manage to spindown SATA disks? I tried hdparm -y, but that
did not work iirc.
Pavel

--
Thanks for all the (sleeping) penguins.


2006-08-03 05:44:55

by Harald Dunkel

[permalink] [raw]
Subject: Re: 2.6.18-rc2, problem to wake up spinned down drive?

Hi Pavel,

Pavel Machek wrote:
>
> How do you manage to spindown SATA disks? I tried hdparm -y, but that
> did not work iirc.
> Pavel
>

"hdparm -S"?

Please note that standard 3.5" disks are not made to spin
down every 5 minutes. This feature can reduce the lifespan
of your disk, AFAIK.


Regards

Harri



Attachments:
signature.asc (252.00 B)
OpenPGP digital signature