Date: Sun, 12 Oct 1997 01:54:49 -0700 (PDT) From: Joerg Wunsch <joerg@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/scsi scsi_base.c sd.c Message-ID: <199710120854.BAA02393@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 1997/10/12 01:54:48 PDT
Modified files:
sys/scsi scsi_base.c sd.c
Log:
Remove the call to scsi_start_unit() from sd_open(). It was causing
much grieve to owners of IBM drives when used in conjunction with
tagged command queuing, and didn't serve any purpose at all (since
experiments have proven that it simply didn't work).
Instead, call scsi_start_unit() once in sd_attach(), so in case the
drive has been configured to `remote start', it will spin up there.
(If it has spun down later, it must have been because of administrator
action (scsi(8)) anyway.)
While i was at it, bump the timeout for scsi_start_unit() to 30
seconds. 10 seconds were way too few for most drives.
Revision Changes Path
1.52 +2 -2 src/sys/scsi/scsi_base.c
1.112 +7 -6 src/sys/scsi/sd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710120854.BAA02393>
