Re: oops in 2.4.2-ac20

From: Andrew Morton (andrewm@uow.edu.au)
Date: Sat Mar 17 2001 - 06:17:20 EST


John R Lenton wrote:
>
> What the subject says.
>
> I copied the oops by hand, but the output of ksymoops doesn't
> seem too totally wrong, so I guess I didn't botch it :)
>

The trace dosn't look right, but you've probably hit
the con_flush_chars-called-from-interrupt problem.

Please add these two lines, let me know if it recurs.

--- linux-2.4.2-ac20/drivers/char/console.c Tue Mar 13 20:29:21 2001
+++ ac/drivers/char/console.c Sat Mar 17 22:16:14 2001
@@ -2304,6 +2335,9 @@
 static void con_flush_chars(struct tty_struct *tty)
 {
         struct vt_struct *vt = (struct vt_struct *)tty->driver_data;
+
+ if (in_interrupt()) /* from flush_to_ldisc */
+ return;
 
         pm_access(pm_con);
         acquire_console_sem();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:10 EST