From owner-freebsd-scsi Tue Sep 4 14:21:27 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id 197CF37B40C; Tue, 4 Sep 2001 14:21:23 -0700 (PDT) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.5/8.11.5) with ESMTP id f84LLIY56024; Tue, 4 Sep 2001 15:21:18 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Message-Id: <200109042121.f84LLIY56024@aslan.scsiguy.com> To: Lars =?iso-8859-1?Q?K=F6ller?= Cc: "Kenneth D. Merry" , freebsd-scsi@FreeBSD.ORG, lkoeller@FreeBSD.ORG Subject: Re: Wire of SCSI devices gives warning messages In-Reply-To: Your message of "Tue, 04 Sep 2001 22:26:18 +0200." <200109042026.f84KQIb01056@odie.lippe.de> Date: Tue, 04 Sep 2001 15:21:18 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hmm. There seems to be a bug in the -stable code. Does this patch make a difference for you? -- Justin Index: cam_periph.c =================================================================== RCS file: /usr/cvs/src/sys/cam/cam_periph.c,v retrieving revision 1.24.2.1 diff -c -r1.24.2.1 cam_periph.c *** cam_periph.c 2000/09/11 05:37:00 1.24.2.1 --- cam_periph.c 2001/09/04 21:19:10 *************** *** 330,341 **** char pathbuf[32], *strval, *periph_name; unit = 0; - hit = 0; periph_name = p_drv->driver_name; snprintf(pathbuf, sizeof(pathbuf), "scbus%d", pathid); i = -1; while ((i = resource_locate(i, periph_name)) != -1) { dname = resource_query_name(i); dunit = resource_query_unit(i); if (resource_string_value(dname, dunit, "at", &strval) == 0) { --- 330,341 ---- char pathbuf[32], *strval, *periph_name; unit = 0; periph_name = p_drv->driver_name; snprintf(pathbuf, sizeof(pathbuf), "scbus%d", pathid); i = -1; while ((i = resource_locate(i, periph_name)) != -1) { + hit = 0; dname = resource_query_name(i); dunit = resource_query_unit(i); if (resource_string_value(dname, dunit, "at", &strval) == 0) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message