lkml.org 
[lkml]   [1999]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Linux-2.2.2-pre2..
    From
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:50    [W:0.021 / U:32.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site