Re: Cannot access '/dev/pts/292': Value too large for defined data type

simon_at_nuit.ca
Date: 06/30/04

  • Next message: jan_at_talentex.demon.co.uk: "malloc overlap?"
    Date:	Wed, 30 Jun 2004 09:16:16 +0000
    To: Andrew Morton <akpm@osdl.org>
    
    
    

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

    ok. well, i'm currently running the 2.6.7-bk10, and it runs really
    nicely for one thing, and the other is that the pty behaviour is exactly
    like the old one (which i've just been told 'first fit' *is* the old
    behaviour).

    in a way i like the newer behaviour, but hmm, maybe have both
    behaviours? first fit for some old/buggy apps, and the new one for ones
    that correctly detect the new capabilities. though IME most of the
    applications i've used don't recognise the new one, and having varying
    levels of freakiness - from a warning to outright not working as
    expected (e.g., my problem with screen, the "Value too large" message).

    thanks :)

    -- 
    Software Patents are patently wrong:
    http://swpat.ffii.org/papiere/eubsa-swpat0202/ustr0309/index.en.html
    
    

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



  • Next message: jan_at_talentex.demon.co.uk: "malloc overlap?"

    Relevant Pages

    • udev strangeness in Sid?
      ... new kernel I rebooted. ... During booting I was greated with _lots_ of ... Could it be related to the fact that udev _never_ is able to update the ... Keep Europe free from software patents, ...
      (Debian-User)
    • Re: [opensuse] SCO is toast... Novell go get em
      ... On Thursday 30 November 2006 19:48, M Harris wrote: ... There were no software patents back then ... What on earth do you think a "hook in the kernel" is? ... Usually a kernel hook is a function exposed to third party modules. ...
      (SuSE)
    • Re: udev strangeness in Sid?
      ... message from udev about not being able to run hotplugd or udevd (I'm ... is udevd that complains that it cannot run something (i recall seeing ... this happens only with the distribution kernel. ... Keep Europe free from software patents, ...
      (Debian-User)
    • Re: Resolve conflict in apt-get
      ... I meet with conflict about xfonts-encoding. ... theme of installation (all package for kernel 2.6.16)? ... I seriously doubt that pinning a kernel will result in a problem with ... Keep Europe free from software patents, ...
      (Debian-User)
    • Re: [PATCH 1/3] 2.6.8-rc4-mm1 - Fix UML build
      ... can access them all, and initialized data all before uninitialized, so ... SYMLINKS:= $,$/$f) ... semaphore.c-dir = kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)