From owner-svn-src-stable@FreeBSD.ORG Fri Feb 19 08:50:42 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7381C106566B; Fri, 19 Feb 2010 08:50:42 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-yw0-f204.google.com (mail-yw0-f204.google.com [209.85.211.204]) by mx1.freebsd.org (Postfix) with ESMTP id DAC158FC0C; Fri, 19 Feb 2010 08:50:41 +0000 (UTC) Received: by ywh42 with SMTP id 42so1793488ywh.7 for ; Fri, 19 Feb 2010 00:50:41 -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=ByywCu2yMGi4wzWsjPtnPjKOX/rhdJRkSDimtVloQWM=; b=QdkfSLW7Kj002WE147aniYtiBeETLRwm4vXg1Sv5uSid8zE6HelcIsGqiETGjDqAet QfG2Drfs8sCYudeJkkLPLMzXqrO1feco2dhmOGpxl7LJJkpYgWAQefeiUyYgIVb5etzH tB4owXIWIZcX9vbF5C/hvlUeQ8A1dzjYfNjXU= 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=L/jrwd9GXiIakkgMCtXUGqVUB9MwOB4egF02r/jPTupjtF3C9Jmwgilqs9LOaPCk+S 8vZ5U374F98inIds9LAlEOjFjtY/sfqPx9Xwr7HdvKwmqMwwcTMCfH0VHpc1HMze92N4 uKH9VbmJAQB+7HCsAU5ZbSbRkBZpMd376n+os= Received: by 10.103.87.34 with SMTP id p34mr7793573mul.18.1266569440397; Fri, 19 Feb 2010 00:50:40 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id n10sm8652890mue.14.2010.02.19.00.50.37 (version=SSLv3 cipher=RC4-MD5); Fri, 19 Feb 2010 00:50:38 -0800 (PST) Sender: Alexander Motin Message-ID: <4B7E50DC.3070103@FreeBSD.org> Date: Fri, 19 Feb 2010 10:50:36 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Lawrence Stewart References: <201002141938.o1EJcRpx065470@svn.freebsd.org> <4B7D4962.8070706@freebsd.org> <4B7D626A.9040301@feral.com> <4B7E2B94.3090605@freebsd.org> In-Reply-To: <4B7E2B94.3090605@freebsd.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-stable@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Matthew Jacob , svn-src-stable-8@FreeBSD.org Subject: Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2010 08:50:42 -0000 Lawrence Stewart wrote: > On 02/19/10 02:53, Matthew Jacob wrote: >> Just a total swag here, but reduce the openings via camcontrol to < 32, >> or even < 16 > > Thanks for the suggestion. camcontrol doesn't seem able to futz with the > mpt controller e.g.: > > root@server# camcontrol identify da0 -v > (pass0:mpt0:0:2:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 > 00 00 > (pass0:mpt0:0:2:0): CAM status: CCB request was invalid IDENTIFY is an ATA command. It is not working there now, as mpt on some level translates ATA into SCSI. `camcontrol inquiry da0` and the others probably should work. > However, there does appear to be a relevant sysctl: > > root@server# sysctl dev.mpt.0 > dev.mpt.0.%desc: LSILogic SAS/SATA Adapter > dev.mpt.0.%driver: mpt > dev.mpt.0.%location: slot=3 function=0 > dev.mpt.0.%pnpinfo: vendor=0x1000 device=0x0050 subvendor=0x1000 > subdevice=0x3060 class=0x010000 > dev.mpt.0.%parent: pci2 > dev.mpt.0.debug: 3 > dev.mpt.0.role: 1 > dev.mpt.0.vol_member_wce: NC > dev.mpt.0.vol_queue_depth: 128 > dev.mpt.0.vol_resync_rate: 0 > dev.mpt.0.nonoptimal_volumes: 0 > > Setting dev.mpt.0.vol_queue_depth=32, I can still trigger the > "mpt0: mpt_cam_event: 0x16" messages by doing an svn up on the src tree. > Same if I set depth to 16, so unfortunately it doesn't seem to do help > in this case. I am not sure what this sysctl does, but it is mpt driver own sysctl. It has nothing common with number of tags used by CAM (at least directly). -- Alexander Motin