From owner-freebsd-current@FreeBSD.ORG Tue Feb 2 22:21:59 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 56F68106566B; Tue, 2 Feb 2010 22:21:59 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 41E978FC1B; Tue, 2 Feb 2010 22:21:59 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from ariccio-t43.jnpr.net ([66.129.224.36]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KX800MAUJG5SP80@asmtp027.mac.com>; Tue, 02 Feb 2010 14:21:42 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1002020182 From: Marcel Moolenaar In-reply-to: <4B68A18E.1030500@FreeBSD.org> Date: Tue, 02 Feb 2010 14:21:41 -0800 Message-id: <305C4541-4245-45C9-9FCC-9C6AF4E47DD6@mac.com> References: <4B68A18E.1030500@FreeBSD.org> To: Alexander Motin X-Mailer: Apple Mail (2.1077) 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 22:21:59 -0000 On Feb 2, 2010, at 2:05 PM, Alexander Motin wrote: > Hi. > > Marcel Moolenaar wrote: >> On recent -CURRENT the console gets spammed with the following: >> >> xpt_release_devq(0): requested 1 > present 0 >> >> Can we put this under bootverbose? > > It was already put under INVARIANTS. Which is what developers run by default :-) >> Do we need to print this at all? > > It was hidden before, but we need to fix this, if we want error handling > to work correctly. > > Can you somehow localize situations when those messages appear? What > controller and devices do you use? SCSI controller is: mpt0: mem 0xa0470000-0xa0473fff,0xa0460000-0xa046ffff irq 27 at device 1.0 on pci1 mpt0: [ITHREAD] mpt0: MPI Version=1.5.13.0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 0 Active Volumes (2 Max) mpt0: 0 Hidden Drive Members (10 Max) Harddisk is: da0: Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 140014MB (286749488 512 byte sectors: 255H 63S/T 17849C) This disk has tagged queuing enabled but the disk only has 122 openings. When busy the number of openings can reduce to 121. Due to bugs in the CAM layer the number of openings never gets adjusted when MPT inform CAM about it a Queue Full Event. I suspect this is related to it, but may be wrong... -- Marcel Moolenaar xcllnt@mac.com