lkml.org 
[lkml]   [2004]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Cannot access '/dev/pts/292': Value too large for defined data type
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.
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:1.019 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site