From owner-freebsd-stable@FreeBSD.ORG Wed Sep 26 16:08:37 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DE191065672 for ; Wed, 26 Sep 2012 16:08:37 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id F417D8FC0A for ; Wed, 26 Sep 2012 16:08:36 +0000 (UTC) Received: by eekc50 with SMTP id c50so459874eek.13 for ; Wed, 26 Sep 2012 09:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+IALV890bzOW/VoTOxX3JD4Pa6X8gNQZvRFI3WsNU0M=; b=VO4VEKHJum/gGSHhz2kkyh4UZSJUhgH8g4gNRB1LhkOz40KVlWTPuVd1yC6TXfaxn0 0uU8sH3Up7P3rfaN96td4m+idI8zKCyQNINRAnsgycpy7BtyFqKTeooQSG5AhtZFzDOy pvSB5KBIM02q5ZEjYM+WO0M/P6Ck3IYGwXfJXZXvJ6SBvhH5EcMyPnwvcVH1YHbSde7y a2FhD1TGZWWZjfVrE+VpW2DI8oho26pz/NzfaCcs7xAyMTA4f83xCHXsse9fs2coF8UG nzUWQtDrLj2+RidQ1rO8eMM91ZQs4mEwyE8jlGzKX3Np8f5o0aiMNHmK+VZ4gPqegMtk prGg== MIME-Version: 1.0 Received: by 10.14.219.198 with SMTP id m46mr2175233eep.18.1348675716165; Wed, 26 Sep 2012 09:08:36 -0700 (PDT) Received: by 10.14.117.208 with HTTP; Wed, 26 Sep 2012 09:08:36 -0700 (PDT) In-Reply-To: <0546BF68-44E0-4048-AA70-2BD4F707AE06@gmail.com> References: <057A94AC-3CBC-4E91-8816-74EE2E4C8420@gmail.com> <0546BF68-44E0-4048-AA70-2BD4F707AE06@gmail.com> Date: Wed, 26 Sep 2012 09:08:36 -0700 Message-ID: From: Chuck Tuffli To: Nikolay Denev Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-stable@freebsd.org" Subject: Re: CAM Target Layer, Linux and camcontrol readcap X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 16:08:37 -0000 On Wed, Sep 26, 2012 at 9:02 AM, Nikolay Denev wrote: ... > I've did ctladm dumooa : > > Dumping OOA queues > LUN 0 tag 0x000d RTR: SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 > (91807313 ms) > LUN 0 tag 0x0011 BLOCKED: READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 > (35411180 ms) > LUN 0 tag 0x0012 BLOCKED: READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 > (35228663 ms) > LUN 0 tag 0x0013 BLOCKED: START STOP UNIT. CDB: 1b 0 0 0 1 0 (34721150 ms) > OOA queues dump done > > > And if I'm reading this right the other commands blocked because of the sync > cache. > > I will try now to set realsync to off before enabling the ports and retest. Yup, this is the symptom you will see unless realsync is off (ie. GEOM is barfing on the sync and this blocks subsequent commands from completing). ---chuck