Re: [PATCH] 2.5.68-bk1 crash in devfs_remove() for defpts files

Christoph Hellwig (hch@lst.de)
Tue, 22 Apr 2003 00:25:56 +0200


On Mon, Apr 21, 2003 at 05:45:19PM -0400, Pavel Roskin wrote:
> On Mon, 21 Apr 2003, Christoph Hellwig wrote:
>
> > And you are sure you have the following line in pty.c:
> >
> > pts_driver[i].flags |= TTY_DRIVER_NO_DEVFS;
>
> Yes, it's in drivers/char/pty.c, line 458.
>
> The complete diff between the clean source and my current tree is
> attached.
>
> I have forced another rebuild, but the problem with disappearing /dev/pts
> persists.

This one ontop should really fix it...

(fingers crossed..)

--- 1.11/drivers/char/pty.c Mon Mar 31 03:16:19 2003
+++ edited/drivers/char/pty.c Mon Apr 21 23:02:55 2003
@@ -95,7 +95,6 @@
}
}
#endif
- tty_unregister_device (&tty->link->driver, minor(tty->device));
tty_vhangup(tty->link);
}
}
-
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/