From owner-freebsd-current@FreeBSD.ORG Tue Feb 2 23:12:24 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D45E1065670 for ; Tue, 2 Feb 2010 23:12:24 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id AE5718FC12 for ; Tue, 2 Feb 2010 23:12:23 +0000 (UTC) Received: by fxm26 with SMTP id 26so642050fxm.13 for ; Tue, 02 Feb 2010 15:12:22 -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=mW2UMQO0ppCXNiUk9xPCaM3qGjSl5yymBNwy6JeruFQ=; b=mqTHXVDPp1eT0XFoC6g//CQj+ddKr89ckLw7Y7oF6lQ6/N+5AnS3oXgCSUbkRQxyw9 Y8lOv3rWBBZd5JTJmUSoKTOl+MLOUXPyI7hWc9felyvnqwSqx0rEpMWD2yWTt5cBPYwO m1Y7KUds2QjuxAxzXEkqhctjtH9idsc0Xz7Nk= 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=YyyQh0RbzRD3zaOTuQxu17s3UNJka7BzrHWCnjZptuimkPT9JknTcl3aOc7XFI+lR7 dzPrlHou4yLVwlisGWU/vZ1+AcV+hCqufchDWvQWnB0ZXv/QvqaiivPKAilF/Nf22pZW 6M9LZ7Ml/jM0BdqehTco9mw2FzF0LR2ZzzhgQ= Received: by 10.102.200.17 with SMTP id x17mr3890982muf.125.1265152342749; Tue, 02 Feb 2010 15:12:22 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id i7sm10200599mue.46.2010.02.02.15.12.20 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Feb 2010 15:12:21 -0800 (PST) Sender: Alexander Motin Message-ID: <4B68B145.2030807@FreeBSD.org> Date: Wed, 03 Feb 2010 01:12:05 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Marcel Moolenaar References: <4B68A18E.1030500@FreeBSD.org> <305C4541-4245-45C9-9FCC-9C6AF4E47DD6@mac.com> <4B68A812.40103@FreeBSD.org> <971A22CA-B14A-4CBC-8D6D-FEB3A4EA2425@mac.com> In-Reply-To: <971A22CA-B14A-4CBC-8D6D-FEB3A4EA2425@mac.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org mailing list" Subject: Re: CAM verbosity (xpt_release_devq(0): requested 1 > present 0) 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 23:12:24 -0000 Marcel Moolenaar wrote: > On Feb 2, 2010, at 2:32 PM, Alexander Motin wrote: >> Whether it is related or not, both issues definitely should be fixed. >> Could you give me an access to debug that system, or it is in use? > > Unfortunately, I can't give you access to this machine. > Can you elaborate what the code is correcting? When some error happens, SIM freezes affected device until situation is revealed and returns error status. After CAM received all error statuses, it does some error recovery procedure, optionally sending some additional high-priority commands. After error completely handled, being device released. Message that you see means that device was released more times then it was frozen. As result, it may accidentally release device before then error really handled. It is not as bad as opposite case, which may lead to device deadlock, but still far from perfect. -- Alexander Motin