From owner-freebsd-scsi Thu Sep 6 11:21:27 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from henoch.cc.fh-lippe.de (henoch.cc.fh-lippe.de [193.16.112.72]) by hub.freebsd.org (Postfix) with ESMTP id ADA6837B407 for ; Thu, 6 Sep 2001 11:21:16 -0700 (PDT) Received: from sulu.cc.fh-lippe.de([193.16.118.119]) (9946 bytes) by henoch.cc.fh-lippe.de via sendmail with P:esmtp/R:inet_hosts/T:smtp (sender: ) id for ; Thu, 6 Sep 2001 20:21:15 +0200 (MET DST) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Mar-17) Received: from door.lippe.de(aurantia.cc.fh-lippe.de[193.16.112.164]) (9588 bytes) by sulu.cc.fh-lippe.de via sendmail with P:smtp/R:smart_host/T:smtp (sender: ) id for ; Thu, 6 Sep 2001 20:21:12 +0200 (MET DST) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Mar-17) Received: from odie.lippe.de (root@odie.lippe.de [192.168.4.2]) by door.lippe.de (8.9.3/8.9.3) with ESMTP id UAA56347; Thu, 6 Sep 2001 20:19:01 +0200 (CEST) (envelope-from lkoeller@lippe.de) Received: from odie.lippe.de (lkoeller@localhost [127.0.0.1]) by odie.lippe.de (8.11.6/8.11.1) with ESMTP id f86IJ1f01094; Thu, 6 Sep 2001 20:19:01 +0200 (CEST) (envelope-from lkoeller@odie.lippe.de) Message-Id: <200109061819.f86IJ1f01094@odie.lippe.de> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 From: "Lars =?iso-8859-1?Q?K=F6ller?=" To: "Justin T. Gibbs" Cc: Lars =?iso-8859-1?Q?K=F6ller?= , "Kenneth D. Merry" , freebsd-scsi@FreeBSD.ORG Subject: Re: Wire of SCSI devices gives warning messages In-Reply-To: Message from "Justin T. Gibbs" of "Tue, 04 Sep 2001 15:21:18 MDT." <200109042121.f84LLIY56024@aslan.scsiguy.com> X-Face: eCcoCV}FjV*O{6>[1$XP/e%]TJhEw2MF33dFh)^HM7Gfd=[/(4+0a$~ List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi! No. it doesn't help, with this patch more devices and every = lunproduce a warning message: Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:1): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:1): Second device (probe d= evice at scbus1 target 6 lun 1) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:1): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:1): Second device (probe d= evice at scbus1 target 8 lun 1) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:2): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:2): Second device (probe d= evice at scbus1 target 6 lun 2) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:2): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:2): Second device (probe d= evice at scbus1 target 0 lun 1) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:2): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:2): Second device (probe d= evice at scbus1 target 9 lun 1) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:3): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:3): Second device (probe d= evice at scbus1 target 8 lun 2) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:3): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:3): Second device (probe d= evice at scbus1 target 6 lun 3) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:3): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:3): Second device (probe d= evice at scbus1 target 10 lun 1) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:4): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:4): Second device (probe d= evice at scbus1 target 6 lun 4) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:4): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:4): Second device (probe d= evice at scbus1 target 8 lun 3) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:5): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:5): Second device (probe d= evice at scbus1 target 9 lun 2) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:5): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:5): Second device (probe d= evice at scbus1 target 6 lun 5) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:5): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:5): Second device (probe d= evice at scbus1 target 0 lun 2) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:6): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:6): Second device (probe d= evice at scbus1 target 10 lun 2) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:6): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:6): Second device (probe d= evice at scbus1 target 8 lun 4) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:6): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:6): Second device (probe d= evice at scbus1 target 6 lun 6) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:7): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:7): Second device (probe d= evice at scbus1 target 6 lun 7) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:7): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:5:7): Second device (probe d= evice at scbus1 target 8 lun 5) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:3): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:3): Second device (probe d= evice at scbus1 target 0 lun 3) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:3): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:3): Second device (probe d= evice at scbus1 target 10 lun 3) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:3): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:3): Second device (probe d= evice at scbus1 target 8 lun 6) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:3): Duplicate Wired Device= entry! Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:3): Second device (probe d= evice at scbus1 target 8 lun 7) will not be wired Sep 6 19:43:18 odie /kernel: (probe0:ahc1:0:9:4): Duplicate Wired Device= entry! Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:4): Second device (probe d= evice at scbus1 target 10 lun 4) will not be wired Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:4): Duplicate Wired Device= entry! Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:4): Second device (probe d= evice at scbus1 target 0 lun 4) will not be wired Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:5): Duplicate Wired Device= entry! Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:5): Second device (probe d= evice at scbus1 target 10 lun 5) will not be wired Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:5): Duplicate Wired Device= entry! Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:5): Second device (probe d= evice at scbus1 target 0 lun 5) will not be wired Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:6): Duplicate Wired Device= entry! Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:6): Second device (probe d= evice at scbus1 target 10 lun 6) will not be wired Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:7): Duplicate Wired Device= entry! Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:7): Second device (probe d= evice at scbus1 target 0 lun 6) will not be wired Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:7): Duplicate Wired Device= entry! Sep 6 19:43:19 odie /kernel: (probe0:ahc1:0:9:7): Second device (probe d= evice at scbus1 target 10 lun 7) will not be wired Sep 6 19:43:19 odie /kernel: (probe0:ahc0:0:4:3): Duplicate Wired Device= entry! =2E... and the compiler stated a = possible use of uninitialized variable hit in the line unit =3D camperiphnextunit(p_drv, unit, /*wired*/hit, pathid, target, lun); In reply to "Justin T. Gibbs" who wrote: >Justin > >Index: cam_periph.c >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >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 =3D 0; >- hit =3D 0; > = > periph_name =3D p_drv->driver_name; > snprintf(pathbuf, sizeof(pathbuf), "scbus%d", pathid); > i =3D -1; > while ((i =3D resource_locate(i, periph_name)) !=3D -1) { > dname =3D resource_query_name(i); > dunit =3D resource_query_unit(i); > if (resource_string_value(dname, dunit, "at", &strval) =3D=3D 0) { >--- 330,341 ---- > char pathbuf[32], *strval, *periph_name; > = > unit =3D 0; > = > periph_name =3D p_drv->driver_name; > snprintf(pathbuf, sizeof(pathbuf), "scbus%d", pathid); > i =3D -1; > while ((i =3D resource_locate(i, periph_name)) !=3D -1) { >+ hit =3D 0; > dname =3D resource_query_name(i); > dunit =3D resource_query_unit(i); > if (resource_string_value(dname, dunit, "at", &strval) =3D=3D 0) { > Regards Lars -- = Lars K=F6ller E-Mail: lkoeller@cc.fh-lippe.de (LKoeller@FreeBSD.ORG) PGP-key: http://www.pgp.net/pgpnet/www-key.html -------- FreeBSD, was sonst? ---- http://www.de.freebsd.org -------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message