Re: Many lock-ups with 2.1.66 Part 2

Andrea Arcangeli (arcangeli@mbox.queen.it)
Sat, 29 Nov 1997 18:20:42 +0100 (CET)


On Fri, 28 Nov 1997, Robert Mihram wrote:

>The machine locked up again. I have no clue. HELP !

Try this patch:

--- linux/drivers/char/tty_io.c Fri Nov 28 12:21:59 1997
+++ /home/andrea/devel/linux/drivers/char/tty_io.c Sat Nov 29 17:40:25 1997
@@ -451,7 +451,7 @@
#ifdef TTY_DEBUG_HANGUP
printk("%s hangup...\n", tty_name(tty));
#endif
- queue_task(&tty->tq_hangup, &tq_timer);
+ queue_task(&tty->tq_hangup, &tq_immediate);
}

void tty_vhangup(struct tty_struct * tty)

Andrea[s] Arcangeli