Re: Spin down disk at suspend/shotdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 03, 2008 at 17:10:22 +0200, Stefan Richter wrote:
> (Added Cc: LSML)
> 
> Tino Keitel wrote at linux1394-user:
> > with my SATA and USB drives, I used to use the manage_start_stop setting
> > to make the disks spin down at suspend and shutdown. Here is an example
> > for my USB disk:
> > 
> > $ echo 1 > /sys/class/scsi_disk/4\:0\:0\:0/manage_start_stop
> > 
> > This doesn't work with my firewire drive. The disk doesn't spin down.
> > Of cause, I use the correct entry in /sys/class/scsi_disk/.
> 
> Which kernel?

I tested at least 2.6.24 and 2.6.25-rc.

> Which disk?

This is an ICY Box case with USB and Firewire interfaces. The hard disk
is a Western Digital WD 3200 3,5" IDE disk.

> Are there messages in dmesg which relate to this?

Yes. At suspend:

2008-04-03_06:09:39.14083 kern.notice: sd 6:0:0:0: [sdg] Synchronizing SCSI cache
2008-04-03_06:09:39.14088 kern.notice: sd 6:0:0:0: [sdg] Stopping disk

And at resume:

2008-04-03_06:09:39.17189 kern.debug: sd 6:0:0:0: resuming
2008-04-03_06:09:39.17190 kern.notice: sd 6:0:0:0: [sdg] Starting disk

Regards,
Tino
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux