Go to file
mjacob 66ea6cc018 Fix for kern/3835: add an sd sense handler. If we get a check condition/sense
data ASC/ASCQ of 0x04/0x01 (logical unit not ready, initialization in progress),
hang out for 5 seconds and return a RETRY THE OPERATION command. If we
get a check condition/sense data ASC/ASCQ of 0x04/0x02 (logical unit not
ready, initialization command required), send a polled/nosleep START UNIT
command and return a RETRY THE OPERATION command if that succeeds.

Don't send a START UNIT to a disk quirked as SDEV_NO_START. Don't send
a START UNIT to removable media. The reason for the latter is to not
just blindly spin up new (maybe changed) media.

I should note that I've successfully made this work with the ISP host
adapter so far. Other host adapters will need some work to be able
to manage or reasonably fail NOSLEEP/POLL commands while in this
state. Alternatively, the internal SCSI midlayer structure has got
to allow for more controlled error recovery (e.g., restart queues
controlled by the target driver).
1998-07-15 20:21:12 +00:00
bin userland interface to ATA CD changer devices by Jason Thorpe. 1998-07-13 12:06:18 +00:00
distrib Added lint libraries. 1998-07-14 21:28:21 +00:00
etc oops 1998-07-15 18:29:15 +00:00
games - use an array MAXHOSTNAMELEN+1 size to hold hostnames 1998-07-06 06:56:06 +00:00
gnu Change ld.so default behavior to RTLD_LOCAL, and make RTLD_LOCAL into a 1998-07-14 22:18:36 +00:00
include Change ld.so default behavior to RTLD_LOCAL, and make RTLD_LOCAL into a 1998-07-14 22:18:36 +00:00
lib Add Elf32 support for i386, m68k, and sparc. 1998-07-12 01:43:26 +00:00
libexec Some local changes accidentally made it into the last commit; back that 1998-07-15 11:26:28 +00:00
regress Use PF_* for socket(2) calls. 1998-06-24 23:51:30 +00:00
sbin - change setgid kmem programs (that lend themselves to this) so setegid(getgid()) 1998-07-06 07:50:18 +00:00
share allow to build in ${.OBJDIR} 1998-07-15 11:56:34 +00:00
sys Fix for kern/3835: add an sd sense handler. If we get a check condition/sense 1998-07-15 20:21:12 +00:00
usr.bin Make "ktrace -f" work again. Slightly klugy because of the 1998-07-14 01:39:59 +00:00
usr.sbin pull in /etc/rc.conf if it exists, and use $named_flags as an arg to named 1998-07-15 02:44:52 +00:00
Makefile Revert 1.44 and associated changes; you can't prebuild anything without 1998-05-27 06:38:37 +00:00