From owner-freebsd-stable Fri Sep 15 6:35:12 2000 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 93D5337B43C for ; Fri, 15 Sep 2000 06:35:02 -0700 (PDT) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id GAA05853; Fri, 15 Sep 2000 06:34:18 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda05851; Fri Sep 15 06:34:08 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id GAA56800; Fri, 15 Sep 2000 06:34:08 -0700 (PDT) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdC56796; Fri Sep 15 06:33:30 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.0/8.9.1) id e8FDXTs23908; Fri, 15 Sep 2000 06:33:29 -0700 (PDT) Message-Id: <200009151333.e8FDXTs23908@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdU23897; Fri Sep 15 06:32:46 2000 X-Mailer: exmh version 2.1.1 10/15/1999 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.1-RELEASE X-Sender: cy To: "Kenneth D. Merry" Cc: Jean-Francois Dockes , freebsd-stable@FreeBSD.ORG Subject: Re: SCSI retries without errors in /var/log/messages? In-reply-to: Your message of "Fri, 15 Sep 2000 00:21:35 MDT." <20000915002135.A83469@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 15 Sep 2000 06:32:45 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000915002135.A83469@panzer.kdm.org>, "Kenneth D. Merry" writes: > In any case, if you want to see error messages, even for retried commands, > boot with -v and comment out the following print_sense line in > scsi_interpret_sense() in sys/cam/scsi/scsi_sa.c: > > default: > /* decrement the number of retries */ > retry = ccb->ccb_h.retry_count > 0; > if (retry) { > ccb->ccb_h.retry_count--; > error = ERESTART; > print_sense = FALSE; > } else > error = EIO; > break; > } Would it be possible to implement this using a sysctl? Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message