Displaying 4 results from an estimated 4 matches for "vt_waitact".
2008 Dec 21
3
[Bug 19223] New: Exit code of X-Windows restart is always failure
...server without
destroying already open windows, and then starts the new X-Windows server, on
behalf of user you want to switch to.
For some reason, stopping of Nouveau-powered X-Server always returns faulure,
with following error message in /var/log/Xorg.0.log
Fatal server error:
xf86OpenConsole: VT_WAITACTIVE failed: Interrupted system call
Because of that, the fast-user-switch never proceeds to second part of starting
another X-Windows, and instead returns to the previous X session with obscure
error about inability to start X-Windows.
Card:
01:00.0 VGA compatible controller: nVidia Corporation N...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...-ENOSPC;
}
@@ -1758,10 +1758,10 @@ int vt_move_to_console(unsigned int vt, int alloc)
* Let the calling function know so it can decide
* what to do.
*/
- release_console_sem();
+ console_unlock();
return -EIO;
}
- release_console_sem();
+ console_unlock();
tty_lock();
if (vt_waitactive(vt + 1)) {
pr_debug("Suspend: Can't switch VCs.");
@@ -1781,8 +1781,8 @@ int vt_move_to_console(unsigned int vt, int alloc)
*/
void pm_set_vt_switch(int do_switch)
{
- acquire_console_sem();
+ console_lock();
disable_vt_switch = !do_switch;
- release_console_sem();
+ conso...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...-ENOSPC;
}
@@ -1758,10 +1758,10 @@ int vt_move_to_console(unsigned int vt, int alloc)
* Let the calling function know so it can decide
* what to do.
*/
- release_console_sem();
+ console_unlock();
return -EIO;
}
- release_console_sem();
+ console_unlock();
tty_lock();
if (vt_waitactive(vt + 1)) {
pr_debug("Suspend: Can't switch VCs.");
@@ -1781,8 +1781,8 @@ int vt_move_to_console(unsigned int vt, int alloc)
*/
void pm_set_vt_switch(int do_switch)
{
- acquire_console_sem();
+ console_lock();
disable_vt_switch = !do_switch;
- release_console_sem();
+ conso...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...-ENOSPC;
}
@@ -1758,10 +1758,10 @@ int vt_move_to_console(unsigned int vt, int alloc)
* Let the calling function know so it can decide
* what to do.
*/
- release_console_sem();
+ console_unlock();
return -EIO;
}
- release_console_sem();
+ console_unlock();
tty_lock();
if (vt_waitactive(vt + 1)) {
pr_debug("Suspend: Can't switch VCs.");
@@ -1781,8 +1781,8 @@ int vt_move_to_console(unsigned int vt, int alloc)
*/
void pm_set_vt_switch(int do_switch)
{
- acquire_console_sem();
+ console_lock();
disable_vt_switch = !do_switch;
- release_console_sem();
+ conso...