From owner-freebsd-stable@FreeBSD.ORG Sun Apr 21 11:11:10 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AD339E16; Sun, 21 Apr 2013 11:11:10 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by mx1.freebsd.org (Postfix) with ESMTP id E8287F5F; Sun, 21 Apr 2013 11:11:09 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hj19so2874691wib.3 for ; Sun, 21 Apr 2013 04:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=AK1rXV1urL5cmfH2LuME4SCo+aUmG9/KVwb3BqcYF9A=; b=VzOkI5e9hQWavLdIrMKHpKUXGM+jjIkxytDy+/irBiLZ9JLt6PidroLsfuCWXM/09D kho1f6QG1N+Q92213WPOm5VnJ5KQz0OekXbHu8wUvxEC+l969tQmHiyjQSLpFhp02hN7 6FJVmkAskNaPtazLz5sZPkBGKuj+6fpMvDkTeOigFFzXSnquNpwEy1MCpp2+LwCqNI7B mi46sgK8FSiMR+Zxt/jEVGFtPyOypD1sW0loihlojhe1MgJYy4FybvKuMNXh6PTB1OX5 ZuZaszXQv76UPrW1yepDaSefvJWGvxgreENlkqDUB7DSXmcV7K5kn2BwOMntSFNU+tfA Ts9w== X-Received: by 10.180.12.143 with SMTP id y15mr22238097wib.19.1366542669074; Sun, 21 Apr 2013 04:11:09 -0700 (PDT) Received: from mavbook.mavhome.dp.ua ([91.198.175.1]) by mx.google.com with ESMTPS id bk42sm34204909eeb.3.2013.04.21.04.11.06 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Apr 2013 04:11:07 -0700 (PDT) Sender: Alexander Motin Message-ID: <5173C948.1010906@FreeBSD.org> Date: Sun, 21 Apr 2013 14:11:04 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130413 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jeremy Chadwick Subject: Re: Any objections/comments on axing out old ATA stack? References: <51536306.5030907@FreeBSD.org> <20130331130409.GO3178@equilibrium.bsdes.net> <515B25D8.7050902@FreeBSD.org> <515BF5AE.4050804@FreeBSD.org> <515CAA04.1050108@FreeBSD.org> <20130403233815.GA65719@icarus.home.lan> <515CC704.90302@FreeBSD.org> <20130404010526.GA66858@icarus.home.lan> <515D3312.3010109@FreeBSD.org> <20130420212957.GA19158@icarus.home.lan> In-Reply-To: <20130420212957.GA19158@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, Matthias Andree X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2013 11:11:10 -0000 On 21.04.2013 00:29, Jeremy Chadwick wrote: > - The ATA commands which lead up to the error also vary. Many are for > write requests, and from some entries I can see that the OS was doing > NCQ writes (WRITE FPDMA QUEUED) and then suddenly decided to do a > classic 28-bit LBA write (WRITE DMA). I'm not sure why an OS would do > this (there's nothing optimal about it) unless there were conditions > occurring where the OS/ATA driver said "this NCQ write isn't working > (timeout, etc.), let me retry with a classic 28-bit LBA write". ATA disk driver in CAM inserts non-queued command every several seconds of continuous load to limit possible command starvation inside the disk. SCSI driver does alike things, but inserts ordered command flag, that does not exist in SATA, instead of different command. -- Alexander Motin