From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753996AbYCIVYU (ORCPT ); Sun, 9 Mar 2008 17:24:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751886AbYCIVYG (ORCPT ); Sun, 9 Mar 2008 17:24:06 -0400 Received: from mail.gmx.net ([213.165.64.20]:49242 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752665AbYCIVYE (ORCPT ); Sun, 9 Mar 2008 17:24:04 -0400 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1+O9915eUmOF9DlopHQJRk46npngJOqNlWyRg8tMB pdPm1qA7z2rtTd Date: Sun, 9 Mar 2008 22:24:04 +0100 (CET) From: Guennadi Liakhovetski To: Tejun Heo cc: Alan Cox , linux-kernel@vger.kernel.org, Jeff Garzik , linux-ide@vger.kernel.org Subject: Re: Unknown SATA PIIX PCI device ID 0x29b6 In-Reply-To: <47D3723B.3040700@gmail.com> Message-ID: References: <20080228225603.2764bfd1@core> <47CFADDF.20200@gmail.com> <47D0C9E6.8090301@gmail.com> <47D3723B.3040700@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 9 Mar 2008, Tejun Heo wrote: > Guennadi Liakhovetski wrote: > > On Fri, 7 Mar 2008, Tejun Heo wrote: > > > >>> Looks like almost a minute to me? On another occurence I see about 1.5 > >>> minutes, then "port is slow to respond, please be patient (Status 0x80)" > >>> has been repeated 3 times. On cold-plug also 3 times, I think, about the > >>> same time then (time is not updated in the log). > >> I see. Does the attached patch make any difference? > > > > diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c > > index 4fbcce7..abebdcc 100644 > > --- a/drivers/ata/libata-core.c > > +++ b/drivers/ata/libata-core.c > > @@ -6712,6 +6712,7 @@ int sata_link_init_spd(struct ata_link *link) > > spd = (scontrol >> 4) & 0xf; > > if (spd) > > link->hw_sata_spd_limit &= (1 << spd) - 1; > > + link->hw_sata_spd_limit = 1; > > > > ata_force_spd_limit(link); > > > > Hm, this would force 1.5Gbps on all ports and devices, right? Cannot I > > just boot with "libata.force=4:1.5Gbps"? > > Yeap, you can do that. Wasn't sure you were using .25-rc or .24. Yctually it was 2.6.24 before, rebuilt 2.6.25-rc4, booted as above, it did say: ata4: FORCE: PHY spd limit set to 1.5Gbps but hot-plugging the drive still took 50 seconds to recover. Thanks Guennadi --- Guennadi Liakhovetski