From owner-freebsd-current@FreeBSD.ORG Wed Apr 20 18:55:14 2011 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 DCCA4106567B for ; Wed, 20 Apr 2011 18:55:13 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 681C38FC15 for ; Wed, 20 Apr 2011 18:55:13 +0000 (UTC) Received: by fxm11 with SMTP id 11so872844fxm.13 for ; Wed, 20 Apr 2011 11:55:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature: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=mOKsVdMTAWSDCPR969m1sK7SP/PB8sAhHu1kPXsXopk=; b=RCEUcV0EFzVAvPH1dvRwmrxEWR1nCnli6q5/bddLuIjW8QjqFXFw2ha5qe22v/S9OI NZCe7HWy5fz/tAv3wIu6jNnv8aJBwuPMTbJToyK0G/stEWyYsEeDE+/V98XSPWaHFhYW iU0Vs2bJLaJnnOiFa68Zr1IzqtSk99kLQOOBo= 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=AfASObUG+QrxAKZPTMRI8w/hjwA+2EMM1LZCAWjj8wGF706210cZuiqyBdvIT9IbvA hEYaBBYL1xYXZY6AFiukhSH4TPRitnTQeJTDIyTnB64R4w8nO9bpVUYy5IgdoCKJoAsI h9HngL125LsYYbcVOgSPyBD7JHqiLDz0efmNY= Received: by 10.223.117.134 with SMTP id r6mr36702faq.147.1303325712376; Wed, 20 Apr 2011 11:55:12 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id l3sm369365fap.36.2011.04.20.11.55.10 (version=SSLv3 cipher=OTHER); Wed, 20 Apr 2011 11:55:11 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DAF2BFC.3030504@FreeBSD.org> Date: Wed, 20 Apr 2011 21:54:52 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Bruce Cran References: <4DAEAE1B.70207@FreeBSD.org> <20110420132001.000058e1@unknown> <4DAECFDC.2050508@FreeBSD.org> <20110420191922.00002482@unknown> In-Reply-To: <20110420191922.00002482@unknown> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: Switch from legacy ata(4) to CAM-based ATA 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: Wed, 20 Apr 2011 18:55:15 -0000 Bruce Cran wrote: > On Wed, 20 Apr 2011 15:21:48 +0300 > Alexander Motin wrote: > >> Verbose dmesg from the fresh system would be appreciated. > > I've put a verbose dmesg at > http://www.cran.org.uk/~brucec/freebsd/dmesg.verbose_20110420.txt Thank you. I've compared your and Daniel dmesgs, and while they are showing different emulated controllers, the problems seems to be common: ata_generic_reset() reports two devices on the channel with CD, while there is only one. As result, attempts to send requests to the missing device predictably cause timeouts. I have doubts that problem is specific to CAM-based ATA. It looks more probable to me that difference is just in command timeouts: 1 second with legacy ATA, and 30 seconds with CAM. Could you show me verbose dmesg with legacy ATA to make sure? Same time I'll try to think what can we do about it. -- Alexander Motin