lkml.org 
[lkml]   [1998]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.038 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site