Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 06:32:45 -0700
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        Jean-Francois Dockes <jean-francois.dockes@wanadoo.fr>, freebsd-stable@FreeBSD.ORG
Subject:   Re: SCSI retries without errors in /var/log/messages? 
Message-ID:  <200009151333.e8FDXTs23908@cwsys.cwsent.com>
In-Reply-To: Your message of "Fri, 15 Sep 2000 00:21:35 MDT." <20000915002135.A83469@panzer.kdm.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009151333.e8FDXTs23908>