Re: Intermittent SATA failures ("link offline, clearing class 1 to NONE")

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

 



On 12/03/2009 09:19 AM, Tejun Heo wrote:
> On 12/03/2009 02:45 AM, Alex Vandiver wrote:
>> At Tue Dec 01 20:43:42 -0500 2009, Tejun Heo wrote:
>>> Can you please try this one?
>>
>> Good and bad dmesg output attached.
> 
> That's interesting.  The link state seems to oscillates for quite long
> time.  Can you please try the followings?
> 
> 1. Change sata_deb_timing_hotplug to sata_deb_timing_long in
>    ata_piix.c::piidx_sidpr_hardreset() and see whether it solves the
>    problem?
> 
> 2. Switch the controller into ahci mode in BIOS if possible and see
>    whether the problem goes away.
> 
> 3. Try kernel parameter "libata.force=nohrst" and see whether it makes
>    any difference.

One more thing to try.

4. You can tell libata to reset the port by running the following command.

   echo "- - -" > /sys/class/scsi_host/hostN/scan

   N would be 0 or 1 on your configuration.  Can you please run the
   above command repeatedly and see whether it triggers a reset
   failure?  If so, the above will be far more convenient way to test
   than rebooting repeatedly.

Thanks.

-- 
tejun
--
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