Gentoo AMD64 here.  Kernel 2.6.28-r4.

I'm trying to put a drive to sleep with:

  hdparm -Y /dev/sdb

But it immediately wakes up again.  dmesg:

--------
ata7.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata7.00: waking up from sleep
ata7: soft resetting link
ata7.00: configured for UDMA/100
ata7: EH complete
sd 6:0:0:0: [sdb] 390721968 512-byte hardware sectors: (200 GB/186 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
--------

The drive has only one partition in it (NTFS). I don't need that drive in Linux so I want it to sleep, but to no avail :P It's not mounted. I can't see any reason why it would wake up again with an "exception Emask" (whatever that is).


Reply via email to