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
Ce jour Sat, 26 Jun 2004, Andrew Morton a dit:

> 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?

yup, just pure mainline, no patches.

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

ok, i suspected the user space stuff would puke on that, thanks.

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

oh good news - thank you very much :).

> 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.

ok. as soon as i can. move it up on my mental TODO list =).

BTW, thanks go to all the kernel hackers and patch submitters (and
anyone else that works on or for the kernel :), for doing
such a good job, it's appreciated.


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.051 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site