Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751349AbWJABtK (ORCPT ); Sat, 30 Sep 2006 21:49:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751385AbWJABtK (ORCPT ); Sat, 30 Sep 2006 21:49:10 -0400 Received: from wx-out-0506.google.com ([66.249.82.231]:47261 "EHLO wx-out-0506.google.com") by vger.kernel.org with ESMTP id S1751349AbWJABtH (ORCPT ); Sat, 30 Sep 2006 21:49:07 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pv3PR+ro0Cr/rTFHUpMbvi5oY+pz7sakCl1KtQhal+bruqLwV7cS198kcM81Cv0zeDK3uf7S3kVyJZSTanSrfTu6Gfx7ugDgJZyjYTWROFijF2nqcdTfSbgUkoJNy5AHKrsOvViBUR2QBRAfPtDLjhGQAhHif/19bEDlSAgYNiw= Message-ID: <215036450609301849h64551749uf6b4a3e48c57fe15@mail.gmail.com> Date: Sun, 1 Oct 2006 09:49:06 +0800 From: "Joe Jin" To: "Tejun Heo" Subject: Re: [PATCH] libata: skip reset on bus not a device Cc: linux-ide@vger.kernel.org, lkml , "Jeff Garzik" In-Reply-To: <451E7BD2.7020002@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <215036450609292206pd16c7cxa1c5c77ee52c050e@mail.gmail.com> <451E7BD2.7020002@gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3352 Lines: 79 > # lspci -nvvvxxx -s 00:1f. 00:1f.0 Class 0601: 8086:27b8 (rev 01) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00: 86 80 b8 27 07 01 10 02 01 00 01 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00:1f.1 Class 0101: 8086:27df (rev 01) (prog-if 8a [Master SecP PriP]) Subsystem: 1028:01ad Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Region 1: I/O ports at Region 2: I/O ports at Region 3: I/O ports at Region 4: I/O ports at ffa0 [size=16] 00: 86 80 df 27 05 00 88 02 01 8a 01 01 00 00 00 00 10: f1 01 00 00 f5 03 00 00 71 01 00 00 75 03 00 00 20: a1 ff 00 00 00 00 00 00 00 00 00 00 28 10 ad 01 30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00 00:1f.2 Class 0101: 8086:27c0 (rev 01) (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: 1028:01ad Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- 00: 86 80 c0 27 07 00 b0 02 01 8f 01 01 00 00 00 00 10: 01 fe 00 00 11 fe 00 00 21 fe 00 00 31 fe 00 00 20: a1 fe 00 00 00 00 00 00 00 00 00 00 28 10 ad 01 30: 00 00 00 00 70 00 00 00 00 00 00 00 05 03 00 00 00:1f.3 Class 0c05: 8086:27da (rev 01) Subsystem: 1028:01ad Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- > Hmmm... Not really. The controller shouldn't report BSY for empty > channel. There's a notable exception where PATA pins aren't properly > pulled resulting in 0xff status on empty channels. IDE handles the case > specially but libata doesn't yet. Can you try the attached patch? > it still occured after apply the patch :( -Joe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/