Messages in this thread | | | Date | Thu, 28 May 1998 10:53:40 -0400 (EDT) | From | George <> | Subject | Re: minor patch for 2.1.103 drivers/char/selection.c |
| |
On Thu, 28 May 1998, Bill Hawes wrote:
>The attached patch fixes a couple of race conditions in selection.c.
Don't suppose there's any chance of this causing a 'locked virtual terminal'? I've experienced two of them with 2.1.99 in the past week. Symptoms include a perfectly functioning system but the virtual terminal cannot change. ALT+Fxx does nothing, A program to change terminals stalls on ioctl(x, VT_WAITACTIVE, x).
It shows: open("/dev/console", O_WRONLY) = 3 ioctl(3, VT_ACTIVATE, 0x1) = 0 ioctl(3, VT_WAITACTIVE, 0x1) <hangs here until CTRL+C>
I experienced it while I was switching between a rapidly scrolling terminal (running C program in full debug output) and one that had a static screen (the source code). X wasn't running (I shut it down 30 minutes earlier), I was using gpm, and a small program written to do:
open("/dev/console", O_WRONLY) = 3 ioctl(3, VT_UNLOCKSWITCH, 0x1) = 0
didn't work to allow switching, although it reported success.
-George
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |