From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 50314138788 for ; Thu, 31 Jan 2013 04:48:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43218E05F9; Thu, 31 Jan 2013 04:48:11 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D947E01C5 for ; Thu, 31 Jan 2013 04:48:09 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id c10so2361421wiw.2 for ; Wed, 30 Jan 2013 20:48:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=Jfiw+ZPo9PZAa4jKEJbIq7fxRaQxSTddHFdZdmPVmY4=; b=Jf6bJfMop7v5o3jTxLl/03bf+SSjr89Vg0svmSp8WEIFrHg/GN4M4xi8h19jCTgu0u 7nR+9rggliYrc6Mwkd00hyHZzKIopIHzZm0WJZ+SdcHs2fos8q02ZojNbjbhMo0PnX4z OZwseUwL5Md6jacP0Nl4odInP9SJ2u5ATrmriwy00XRCYOuEsif64mEI0WBAqgDHXTpI KeLmQgNAdDDu9Tda9gjnfMSYA9OB88EcrOegUTXqx4QgMTZvzjr3LjILf+WfPQAvxiSa XFFY4WqHa21awubyVGZZSeXGdWR7uo7gDX4ar/wY4Whqsjv8bU1xTcBCPoEDFPzCL6ST EB8g== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.180.96.194 with SMTP id du2mr12583477wib.19.1359607688325; Wed, 30 Jan 2013 20:48:08 -0800 (PST) Received: by 10.216.174.197 with HTTP; Wed, 30 Jan 2013 20:48:08 -0800 (PST) In-Reply-To: References: Date: Wed, 30 Jan 2013 22:48:08 -0600 Message-ID: Subject: Re: [gentoo-user] udev-191 bit me. Insufficient ptys From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 885307fc-656e-4b29-9d7d-7946209f6966 X-Archives-Hash: c333af320506540994ce824e1e9f722d On Wed, Jan 30, 2013 at 10:45 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Wed, Jan 30, 2013 at 9:35 PM, Michael Mol wrote: >> So, I botched the upgrade to udev-191. I thought I'd followed the >> steps, but I apparently only covered them for one machine, not both. >> >> The news item instructions specified that I had to remove >> udev-postmount from my runlevels. I didn't have udev-postmount in my >> runlevels, so I didn't remove it. Turns out, that dictum also applies >> to udev-mount. So after removing that[1], I was able to at least boot >> again. >> >> Udev also complained about DEVTMPFS not being enabled in the >> kernel.[2] I couldn't get into X, but I could log in via getty and a >> plain old vt, so I enabled it, rebuilt the kernel, installed it and >> rebooted...and now that's presumably covered. >> >> I'm now able to get into X, but when I try to run an xterm, it fails. >> Checking ~/.xsession_errors, I find: >> >> xterm: Error 32, error 2: No such file or directory >> Reason: get_pty: not enough ptys > > Do you have CONFIG_LEGACY_PTYS=3Dy? If so, do you really need it? A > little over a year ago[1] I had an annoying issue for having that > option enabled in my kernel, with a lot of virtual ttys reported in > systemctl. This is a shot in the dark (I really don't know if it's > related to your problem), but perhaps having the LEGACY_PTYS option > enabled somehow depleted your available pseudo terminals (which any X > terminal needs to run)? I suppose screen is also out of the question > for the same reason. Also related, if you have LEGACY_PTYS: "LEGACY_PTY_COUNT: The maximum number of legacy PTYs that can be used at any one time. The default is 256, and should be more than enough. Embedded systems may want to reduce this to save memory. When not in use, each legacy PTY occupies 12 bytes on 32-bit architectures and 24 bytes on 64-bit architectures." Regards --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico