From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [nForce4] - Repeatable issues with nForce 4 Date: Tue, 2 Dec 2014 10:17:10 -0500 Message-ID: <20141202151710.GA6596@htj.dyndns.org> References: <20140914093721.GA9028@mtj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-qa0-f46.google.com ([209.85.216.46]:57814 "EHLO mail-qa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753178AbaLBPRO (ORCPT ); Tue, 2 Dec 2014 10:17:14 -0500 Received: by mail-qa0-f46.google.com with SMTP id n8so2813597qaq.19 for ; Tue, 02 Dec 2014 07:17:13 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Robert Hancock Cc: Jacobo Pantoja , "linux-ide@vger.kernel.org" On Sun, Nov 30, 2014 at 11:52:40PM -0600, Robert Hancock wrote: > Looks like it's doing a hardreset now (apparently successfully). > However the reason it still does a softreset anyway is this at the end > of nv_hardreset: > > /* device signature acquisition is unreliable */ > return -EAGAIN; > > Try changing that to: > > return 0; > > and see if that changes the behavior. That should make it skip the > soft-reset. Whether or not the device works or not after that, or if > it still locks up at some later point, we'll see. There have been some PMP devices which have trouble with SRST and acquiring device signature, so there are link flags to deal with them - ATA_LFLAG_NO_[SH]RST and ATA_LFLAG_ASSUME_*. Not sure how useful they'd be in this case tho. Thanks. -- tejun