From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 6 07:59:01 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F2D037B401; Wed, 6 Aug 2003 07:59:01 -0700 (PDT) Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84CC443F85; Wed, 6 Aug 2003 07:59:00 -0700 (PDT) (envelope-from gibbs@scsiguy.com) Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by aslan.scsiguy.com (8.12.9/8.12.8) with ESMTP id h76EwuEU068560; Wed, 6 Aug 2003 08:58:56 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Date: Wed, 06 Aug 2003 08:58:56 -0600 From: "Justin T. Gibbs" To: Don Bowman , "'freebsd-scsi@freebsd.org'" , "'aic7xxx@freebsd.org'" Message-ID: <1684930000.1060181936@aslan.scsiguy.com> In-Reply-To: References: X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: RE: Ongoing U320 AIC7902 Seagate ST318453LW issues, SCB timed out X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 14:59:01 -0000 > I'm continuing to test without the throttle. I'm @ a loss for why > it tracks some systems and not others. > > There doesn't seem to be a reliable way to drop the number of > tags since the system may not always come up. I don't think > there's an option in the kernel to do so. Just add a call to camcontrol early in the rc process, prior to fsck starting up. camcontrol is on the root filesystem. You can also modify the ahd driver to tell cam that it can only handle 32 commands per-target. In aic79xx_osm.c change: /* * Construct our SIM entry */ sim = cam_sim_alloc(ahd_action, ahd_poll, "ahd", ahd, device_get_unit(ahd->dev_softc), 1, /*XXX*/256, devq); ^^^ to 32. The XXX is there since this controller can really handle 512 transactions per-device, but CAM is still using a byte to hold the max tag depth field and doesn't currently differentiate between packetized and non-packetized targets. non-packetized, tagged queuing capable devices can only handle 256 tags. -- Justin