Web lists-archives.com

Re: Disable SATA LPM (Link Power Management)




On Fri, Apr 06, 2018 at 09:08:03PM +0200, basti wrote:
> 
> 
> On 06.04.2018 20:20, Dan Ritter wrote:
> > On Fri, Apr 06, 2018 at 07:05:00PM +0200, basti wrote:
> >> Hello,
> >> is there a way to disable LPM for mv_sata driver by commandline?
> >>
> > 
> > per-disk, not per-driver:
> 
> thanks a lot, there seem to be problem with the driver mv_sata so i need
> to disable than before system is detect the drives.
> 
> kernel till 3.8.12-1 work, after that there are problems like
> 
> [  119.129462] ata2: hard resetting link
> [  119.641981] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> [  119.782055] ata2.00: configured for UDMA/33
> [  119.786288] ata2: EH complete
> [  119.789502] ata2.00: exception Emask 0x10 SAct 0x1 SErr 0x0 action
> 0x6 frozen
> [  119.796682] ata2.00: edma_err_cause=00000280 pp_flags=00000003,
> parity error, EDMA self-disable
> [  119.805407] ata2.00: failed command: READ FPDMA QUEUED
> [  119.810573] ata2.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0
> ncq 4096 in
> [  119.810573]          res 50/00:ff:ff:ff:ff/00:ff:ff:ff:ff/ff Emask
> 0x10 (ATA bus error)
> [  119.825777] ata2.00: status: { DRDY }

Hope this helps.

If it doesn't, I recommend replacing SATA cables.

-dsr-