undocumented (buggy) system call

utzoo!decvax!harpo!floyd!cmcl2!philabs!sdcsvax!sdccsu3!rusty utzoo!decvax!harpo!floyd!cmcl2!philabs!sdcsvax!sdccsu3!rusty
Sat Apr 16 14:42:15 AEST 1983


this is pretty obscure but it might be useful to know.

there is an undocumented system call resuba() that does
a unibus reset. the code is in sys/vmsys.c. the argument
it is passing to ubareset() is the number of the unibus
(adapter) to reset. it needs to do a check to see if that
number is less than ``numuba'' before calling ubareset.

it is also useful to have a user level program that uses
the resuba system call, several times i have unwedged
devices with it thus avoiding rebooting the system.



More information about the Comp.bugs.4bsd.ucb-fixes mailing list