Re: SATA ALPM min_power causes > 10s delay on resume

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

 



On Sat, 2008-08-30 at 13:02 +0200, Tejun Heo wrote:
> Jeffrey W. Baker wrote:
> > I started using the min_power ALPM setting on my ThinkPad to save power
> > (which works great, thanks!) but it causes a small problem.  When the
> > machine resumes from suspend-to-ram it hangs for about 10s and then
> > prints this on the console:
> > 
> > ata1: COMRESET failed (errno=-16)
> > 
> > It then proceeds normally.  The full messages are:
> > 
> > ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> > ata1.00: configured for UDMA/100
> > ata1: failed to recover some devices, retrying in 5 secs
> > ata1: soft resetting link
> > ata1: SATA link down (SStatus 611 SControl 300)
> > ata1: failed to recover some devices, retrying in 5 secs
> > ata1: hard resetting link
> > ata1: port is slow to respond, please be patient (Status 0x80)
> > ata1: COMRESET failed (errno=-16)
> > ata1: hard resetting link
> > ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> > 
> > After which point the machine works normally.  The SATA controller is an
> > Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev
> > 03) and the SATA target is a SAMSUNG MCBQE32G Rev: PS10.  The kernel is
> > 2.6.24.  I haven't tried anything newer.
> > 
> > If the ALPM setting is left at its default of max_performance then
> > resume from suspend is instant.  Is there any way to work around this?
> > ALPM is worth a solid 30 minutes of extra battery life, so obviously I'd
> > like to use it.  If nothing else, it might be helpful to have a module
> > parameter to shorten the timeout on known-working hardware.
> 
> Which kernel version are you using?

2.6.24 (2.6.24-19-generic package in Ubuntu 8.04)

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux