[1501] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax750: panic on blank tape

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Fri Dec 9 08:13:10 1988

Date: Fri, 9 Dec 88 08:12:47 EST
From: Ken Raeburn <raeburn@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

When calling the tprintf() routine to print a "blank tape" message on
the controlling terminal (such as when attempting to read past the end
of the tape), mtdtint() (in vaxmba/mt.c) fails to pass the first
argument required by tprintf, which is a pointer to a structure
describing the controlling terminal.  Since tprintf tries to interpret
the error-message string pointer as this pointer, odd things happen...
like a panic.

This is fixed in the tahoe release by printing onto the console, which
is probably not the right solution.  Should be easy enough to fix the
"right" way by looking at current or tahoe sources; this must get into
the 6.1 kernel.  (Henry: I'm bcc'ing to changes.)

-- Ken

home help back first fref pref prev next nref lref last post