Re: Linux-2.2.2-pre2..

Philippe Troin (phil@fifi.org)
06 Feb 1999 11:28:12 -0800


Linus Torvalds <torvalds@transmeta.com> writes:

> On 5 Feb 1999, Philippe Troin wrote:
> >
> > Corresponding lines on do_tty_hangup (oopses on line 440):
> > 435 /*
> > 436 * Shutdown the current line discipline, and reset it to
> > 437 * N_TTY.
> > 438 */
> > 439 if (tty->driver.flags & TTY_DRIVER_RESET_TERMIOS)
> > 440 *tty->termios = tty->driver.init_termios;
> > 441 if (tty->ldisc.num != ldiscs[N_TTY].num) {
> > 442 if (tty->ldisc.close)
> > 443 (tty->ldisc.close)(tty);
> > 444 tty->ldisc = ldiscs[N_TTY];
> >
>
> Does it go away if you just add a test for
>
> if (tty->termios)
> *tty->termios = tty->driver.init_termios;

I'm going to try that and tell you the results, but I think there's
something deeper going on: if this was the only problem, the oops
would only happen in a 'crashme' process, but the oops I sent happens
in find (why would find get a hangup ?), but I also got it in cat (in
while true; do find / ! -fstype nfs -type f -print0 | xargs -n0 cat;
done), or in syslogd...

Phil.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/