Re: SATA errors (only) when on battery

2018-02-12 Thread Clemens Eisserer
Hello Hans, > The only thing I know of changing that value dynamically is > TLP, do you perhaps have TLP installed? Indeed - thanks for the hint! I've remove tlp and now the system works stable with AHCI SATA mode again. I installed tlp because I read somewhere it can be used to read the number

Re: SATA errors (only) when on battery

2018-02-11 Thread Hans de Goede
Hi, On 11-02-18 21:03, Clemens Eisserer wrote: Hi Gordon, Is there a way to disable SATA link power management at the kernel command line? Start by checking the value of /sys/class/scsi_host/*/link_power_management_policy I do / did - the value is changing depending whether the laptop is

Re: SATA errors (only) when on battery

2018-02-11 Thread Clemens Eisserer
Hi Gordon, >> Is there a way to disable SATA link power management at the kernel command >> line? > > Start by checking the value of > /sys/class/scsi_host/*/link_power_management_policy I do / did - the value is changing depending whether the laptop is on battery or wall power. When on wall

Re: SATA errors (only) when on battery

2018-02-11 Thread Gordon Messmer
On 02/08/2018 03:53 AM, Clemens Eisserer wrote: Is there a way to disable SATA link power management at the kernel command line? Start by checking the value of /sys/class/scsi_host/*/link_power_management_policy See: