device interrupts during config (4.1bsd)

Mike Mitchell mcm at ncsu.UUCP
Fri Apr 6 08:07:43 AEST 1984


We have just installed a new line printer interface on our VAX 11/780
running 4.1 BSD.  The new controller presents a constant interrupt
if interrupts are enabled & the printer is ready to accept a character.
During auto-configure, interrupts are enabled and the system goes into
a tight loop trying to dismiss the interrupt.  Has anyone seen this
problem before?  I've fixed the problem by setting the priority to zero
before the probe routine is called and modifying locore.s so that during
autoconfigure stray interrupts return with the old priority set to the
level of the interrupting device.  This allows only one interrupt per
device, even if the interrupt line is held.

I find it strange that the line printer driver has a comment that it
has been fixed to support interfaces that interrupt constantly, yet
the autoconfigure code breaks when a device interrupts constantly.

	Mike Mitchell
	mcnc!ncsu!mcm



More information about the Comp.unix.wizards mailing list