Date: Mon, 04 Aug 1997 22:21:04 -0700 From: David Greenman <dg@root.com> To: asami@cs.berkeley.edu (Satoshi Asami) Cc: dufault@hda.com, scsi@FreeBSD.ORG Subject: Re: NOT READY Message-ID: <199708050521.WAA20205@implode.root.com> In-Reply-To: Your message of "Mon, 04 Aug 1997 20:02:56 PDT." <199708050302.UAA21425@silvia.HIP.Berkeley.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
>+ if ((sense->error_code & SSD_ERRCODE_VALID) == 0x2) { >+ scsi_start_unit(xs->sc_link, SCSI_ERR_OK | SCSI_SILENT); >+ DELAY(5000000); >+ printf(", sent start unit command\n"); >+ return SCSIRET_DO_RETRY; >+ } Uh, delaying for 5 seconds is not a good idea - the system will be totally dead to the world during the entire time. The right way to do this would be to schedule a 5 second timeout after sending the start-unit. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708050521.WAA20205>