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

Pavel Roskin
2003-04-21T19:32:05Z

On Mon, 21 Apr 2003, Christoph Hellwig wrote:

> On Mon, Apr 21, 2003 at 02:53:54PM -0400, Pavel Roskin wrote:
> > On Mon, 21 Apr 2003, Christoph Hellwig wrote:
> >
> > > On Mon, Apr 21, 2003 at 07:55:55PM +0200, Christoph Hellwig wrote:
> > > > Could you please try this patch?
> > >
> > > Better this one :) Sorry.
> >
> > No, it doesn't help, although the stack trace is different this time:
>
> Hmm. Can you please apply the following patch in addition and
> see what the printk I added sais?

Following is happening. The system boots, /dev/pts is a directory (I can
see it by logging on the serial console). devpts is mounted on /dev/pts.

I log in by ssh. It works. /dev/pts/0 appears. I log out. /dev/pts
directory disappears!

I log in by ssh again. I get this message on the console:

devfs_remove: no entry for pts!

ssh hangs. I can recreate /dev/pts by mkdir, umount it and mount it
again. Then ssh works again, but again only once. /dev/pts disappears on
logout.

--
Regards,
Pavel Roskin