From owner-freebsd-current@FreeBSD.ORG Tue Feb 2 11:16:58 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6D8F106566C for ; Tue, 2 Feb 2010 11:16:58 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6558FC1A for ; Tue, 2 Feb 2010 11:16:56 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so159181fgb.13 for ; Tue, 02 Feb 2010 03:16:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=jpDLDidJ9uu4VeZ/d3RhmAEmmJ2oqDEaJz4ediWucFU=; b=Po0wfL7fykaybwf8lZ79geg34cSFS7jmDyY4iQRT9iDyVnQjScnZg6Nm4aVjpvVAwM 7N98crlIvhfjFCnXvS2cmuCvVSjmhmxq2viESP/2hyyEFMBEWPdPzGIEdp6+Mx31jbD6 Wb4ePBTqMIMao27mdkuFa7lfa+bE3Xyrzbsos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=vhodlzNTfxujkmFgDJgrgoTmjmSHYz6EuNbPgmqODNFMPs61pPCX5JO71mU+hkb9hY +jG+MMzBQ3qMc4u4s/ks4F14rTJytXuS3S1MeSwgYEQ4mL/yB1f7AWOTkY4MLtUFXCwm 5DExaMge3c33nu+tZ4VBerVoeuKdKYJtVNrEY= Received: by 10.87.15.22 with SMTP id s22mr9800101fgi.56.1265109416028; Tue, 02 Feb 2010 03:16:56 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 14sm2430154fxm.11.2010.02.02.03.16.53 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Feb 2010 03:16:54 -0800 (PST) Sender: Alexander Motin Message-ID: <4B680997.80909@FreeBSD.org> Date: Tue, 02 Feb 2010 13:16:39 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Andriy Gapon References: <4B55D9D4.1000008@FreeBSD.org> <4B61C688.2050609@FreeBSD.org> <4B61CCB6.4040005@FreeBSD.org> <4B62C97F.7080000@FreeBSD.org> <4B62EDFB.1060103@icyb.net.ua> <201001291949.o0TJnCAa013981@triton8.kn-bremen.de> <4B633FED.3030103@FreeBSD.org> <4B6358F3.7080908@icyb.net.ua> In-Reply-To: <4B6358F3.7080908@icyb.net.ua> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, Juergen Lock , Yamagi Burmeister Subject: Re: Pack of CAM improvements X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 11:16:58 -0000 Andriy Gapon wrote: > on 29/01/2010 22:07 Alexander Motin said the following: >> Juergen Lock wrote: >>> Ok while we are talking about ahci(4) on IXP700... Can anyone reproduce >>> the `test unit ready' bug on one of those? Since I saw no reply to >>> my post, >>> http://docs.freebsd.org/cgi/mid.cgi?201001231407.o0NE7l8j002620 >>> maybe the bug is controller-specific? How to reproduce: just try >>> camcontrol tur adaX >>> or >>> cdrecord -scanbus >>> or (at least I think this is the same issue) start xfburn without hal >>> running, then watch for the bus to hang at the next disk access. >>> (Also leaving the disk led on solid here.) With the previous patch, >>> http://people.freebsd.org/~mav/cam-ata.20100119.patch >>> (haven't tested the latest one yet) at least it now seems to recover >>> after some timeout, leaving this in dmesg: (sorry I didn't notice >>> when I first tried, guess I didn't wait long enough...) >> It is controller specific. Intel and NVidia controllers just return >> error immediately, as they should, and continue operation. ATI IXP700 - >> doesn't: > > I have this simple patch in my local tree: > > I remember that this patch is not perfect, but it works for my simple desktop > setup. No bad side-effects from it either. I've committed more complete version of this patch to the 9-CURRENT, as part of r203376. -- Alexander Motin