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.