All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: simon@nuit.ca
Cc: linux-kernel@vger.kernel.org
Subject: Re: Cannot access '/dev/pts/292': Value too large for defined data type
Date: Sat, 26 Jun 2004 13:59:48 -0700	[thread overview]
Message-ID: <20040626135948.7b4396e9.akpm@osdl.org> (raw)
In-Reply-To: <20040626151108.GA8778@nuit.ca>

simon@nuit.ca wrote:
>
> whenever i try open a new pseudo-pty, i get a similar message to 
>  the one in the subject, and one like "fstat: Value too large for defined data
>  type" if i open an xterm.

It appears that you're using some variant of the 2.6.7 kernel, yes?

That kernel (and many preceding ones) will create large pty indexes and old
(and/or buggy) userspace fails to handle it correctly.

Post-2.6.7, the allocation of pty indexes was switched to first-fit and
things should now work OK.

Please test a current kernel and send a report.

2.6.7 plus
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.7-bk9.gz
would be suitable.

  reply	other threads:[~2004-06-26 21:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-26 15:11 Cannot access '/dev/pts/292': Value too large for defined data type simon
2004-06-26 20:59 ` Andrew Morton [this message]
2004-06-26 23:21   ` simon
2004-06-27 10:24   ` simon
2004-06-27 17:52     ` Andrew Morton
2004-06-30  9:16   ` simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040626135948.7b4396e9.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simon@nuit.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.