cvs commit: src/sys/dev/syscons syscons.c

Ruslan Ermilov ru at FreeBSD.org
Thu Mar 18 15:26:21 PST 2004


On Thu, Mar 18, 2004 at 01:07:54PM -0800, Ruslan Ermilov wrote:
> ru          2004/03/18 13:07:54 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/syscons      syscons.c 
>   Log:
>   Fixed a nasty old bug where a visual bell in the currently active
>   VTY prevented waking up processes waiting for the output queue to
>   get free on other VTYs.
>   
The symptoms were stuck foreground jobs on VTYs.  It's most easily
reproduced like this:

- Program syscons(4) for a visual bell:

	kbdcontrol -b visual

- Start some output intensive job on some VTY:

	strings /dev/urandom

- Switch to another VTY and issue a bell:

	printf '\007'

- Watch the job in the other VTY has stopped, and see that VTY
  state in the ``pstat -t'' output.


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040319/4bfaf9df/attachment.bin


More information about the cvs-src mailing list