Date: Sun, 15 Mar 1998 17:38:42 -0700 (MST) From: "Justin T. Gibbs" <gibbs@narnia.plutotech.com> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: scsi@FreeBSD.ORG Subject: Re: spin-up at start giving timeout. Message-ID: <199803160038.RAA07073@narnia.plutotech.com> In-Reply-To: <692_9803132215@swimsuit.swimsuit.roskildebc.dk> <19980315211029.04573@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <19980315211029.04573@uriah.heep.sax.de> you wrote: > How long do your disks need to spin up? The spinup command *is* sent > during the device attach phase. > > The current timeout is 30 seconds (in scsi_start_unit(), file > /sys/scsi/scsi_base.c). The problem is that a timeout on the command is used at all. In CAM, if a device is detected as needing to be given a "start unit", the command is given with the immediate flag set, and the device is polled once second to see if it has come ready. We currently wait for up to a minute for the device to come ready. The SCSI committee was smart enough to almost always give you an out for dealing with commands that take indeterminate time to complete. Upping the timeout is rarely the correct solution. > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803160038.RAA07073>
