Age | Commit message (Collapse) | Author |
|
"Unit Becoming Ready" case, and just like ch, allow the driver to
continue waiting, as long as the unit continues to promise us that
the unit is becoming ready. This avoids the case of slow tape drives
taking forever to bring media online requiring a huge retry count
being set for all commands, and like ch, will wait indefinately
only in this case. All other cases are handled as before.
ok krw@
|
|
- new sysctl vfs.nfs.privport to require NFS mount requests to be on
reserved ports when set to 1 (the default).
- mountd now automatically sets the sysctl depending on the -n flag.
- add mountd_flags to rc.conf to enable the -n flag at boot.
deraadt@ ok
|
|
unhandled ioctl requests to scsi_do_ioctl() like ch.c does. Previously
only the mythical 'control devices' with certain minor numbers would
pass the requests along.
ok beck@
|
|
that was just accepted by the device, no matter what the minor is.
ok beck@
|
|
all kludges
|
|
|
|
|
|
- get correct IGN for intr_establish
all of this is from kettenis and henric, I'm just cleaning it up and committing
the easy bits
|
|
and zap trailing spaces. No functional change.
|
|
|
|
in the foreseeable future. Eliminate half-baked, semi-operational code
that tried to handle such devices. People who had stumbled across the
previous control-like behaviour of erstX devices should not be relying
on these semantics.
Suggested by deraadt@.
ok beck@
|
|
copying out to userland, so my fix was useless bloat that didnt really do
anything. the problem instead appears to be a use after free in a driver
rather than bad interactions with sysctl.
|
|
a #if notyet/#endif block. It's been 'notyet' since 1995. Eliminate it.
'flense!' beck@
|
|
device prompt. We need to call shutdownhooks which will set the sab
back into the mode the prom likes (I hate this chip)
|
|
the NTP identifier (filled with spaces), followed by a space and the station
name (which might be the same as the NTP identifier).
All timedelta sensor have to follow this scheme as OpenNTPD needs it.
Requested by henning.
|
|
|
|
- hack enough of autoconf to get psycho and schizo working with device_register
(autoconf appears to work now for schizo machines).
|
|
|
|
1) Don't use SCSI_IGNORE_NOT_READY when doing test_unit ready to wait for
the device to come up.
2) use SCSI_IGNORE_ILLEGAL_REQUEST when doing test_unit_ready to wait for
the device to come up (just as is done in st(4))
3) add a ch_interpret_sense routing to perform special handling of
the case where the unit is in the process of becoming ready. Hope springs
eternal, that if the device tells us it is trying to become ready, then
we should wait for it to do so, however long it takes (and on tape library
scans this can take a while - i.e. a few minutes for large libraries).
The custom handler ensures that the retry count is not decremented in
this case and this case only.
ok krw@
|
|
generic bus layer, and SCSI emulation for SD/MMC memory cards.
|
|
or is waiting to be retried, abort it when a signal interrupts the tsleep().
This fixes what was commited in version 1.92 to work properly.
ok krw@
|
|
I still hate this chip.
|
|
their *stat() calls, for example, and get ENOENT, which is expected for
"", instead of a forced EINVAL.
Fixes the spurious 'rm: : Invalid argument' warnings when building with
option USE_SYSTRACE, reported on ports@.
Okay provos@ sturm@ deraadt@
|
|
|
|
|
|
ok miod@, martin@
|
|
ok miod@, martin@
|
|
ok henning
|
|
configured for 'root on nfs'
|
|
|
|
|
|
|
|
thus allowing tape drives more time to become ready.
ok beck@
|
|
|
|
control mode device can be opened but does not permit any i/o.
Currently no such devices are created by MAKEDEV. However the previous
code used bits 0 and 1 of the minor being set to indicate a control
device. This conflicted with other uses of device minors to indicate
things like rewind and eject. This behaviour would result in an open
of a newly loaded tape drive failing until the tape was successfully
mounted as a side effect of another command like 'mt status'.
ok beck@
|
|
(cd0 at scsibus0 at siop0 now attaches on the blade2k)
|
|
|
|
mbuf flags so that the packet is sent out with a normal link local address
instead of a multicast or broadcast address. OK brad@
|
|
|
|
|
|
affects way more than just hotplug messages. remove DV_SENSOR and use
DV_DULL for the moment. proper solution coming.
discussed with deraadt mk jason
|
|
|
|
|
|
|
|
state limit and adaptive.end of 120% of the state limit.
Explicitly setting the adaptive timeouts will override the default,
and it can be disabled by setting both adaptive.start and adaptive.end to 0.
ok henning@
|
|
the function handling the completion. this means that the completion
function can do nothing with the reply, instead leaving it up to the
requester to deal with.
|
|
|
|
|
|
Another ipsec failover fix from nathanael at polymorpheus dot com.
ok hshoexer@
|
|
sensors on attach/detach. hotplugd changes following in a minute.
ok henning.
|