public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] after recent update - openpty failed: 'out of pty devices' - please help?
@ 2013-06-28 19:06 Denis Shcherbakov
  2013-06-28 21:10 ` Michael Orlitzky
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Shcherbakov @ 2013-06-28 19:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]

I was doing a lot of upgrading, and eventually I ended up with a situation
where if I run emerge, I get

openpty failed: 'out of pty devices'

If I try to remote log in to my SSH server, it says "server refused to
allocate pty".

I upgraded to GCC 4.6.3 today and switched my profile over to it, while
most of my system has been build on GCC 4.4 - I'm not sure if that matters
here.  I'm currently on kernel 2.6.35-gentoo-r12, and I was making strides
to upgrade the system so I could migrate to udev-204 from udev-171-r6 which
I currently have.

When I upgraded to the 3.8.13 kernel today, I got the normal gdm login
interface I use, but when I tried to login - no dice!  SSH server refused
to allocate PTY, and I could not kill X in order to get into a terminal (at
least, it starts right back up).

So I figured maybe I made a mistake configuring the new kernel, so I
reverted back to my 2.6.35-gentoo-r12 kernel, and X of course wouldn't come
up because my nvidia modules have been re-made for the new kernel.  I was
able to log in to the system under the old kernel, but when I run any
emerge, it says "openpty failed: 'out of pty devices'".

So all of a sudden it doesn't seem to be connected to my upgrade to the new
kernel, as the old kernel does the same thing.

Where do I start looking for a problem?  I can follow instructions, but
beyond using emerge and updating the system, I don't know a whole lot about
inner workings.

I sure woud appreciate some help to get me out of this bind. :-(

Thank you,
Denis

[-- Attachment #2: Type: text/html, Size: 1685 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] after recent update - openpty failed: 'out of pty devices' - please help?
  2013-06-28 19:06 [gentoo-user] after recent update - openpty failed: 'out of pty devices' - please help? Denis Shcherbakov
@ 2013-06-28 21:10 ` Michael Orlitzky
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Orlitzky @ 2013-06-28 21:10 UTC (permalink / raw
  To: gentoo-user

On 06/28/2013 03:06 PM, Denis Shcherbakov wrote:
> openpty failed: 'out of pty devices'

There was a news item corresponding to the udev upgrade.

1. udev-postmount init script:

Remove the udev-postmount init script from your runlevels.

2. devtmpfs support:

You need at least version 2.6.32 of the kernel for devtmpfs
functionality. Once you have this, make sure CONFIG_DEVTMPFS=y is set
in the kernel configuration. See the gentoo udev guide for the option in
make menuconfig [1].

If you have a line for /dev in /etc/fstab, make sure it is configured
for file system type devtmpfs (not tmpfs or any other type). Also, you
can remove this line if you prefer, since devtmpfs is mounted
automatically.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-28 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 19:06 [gentoo-user] after recent update - openpty failed: 'out of pty devices' - please help? Denis Shcherbakov
2013-06-28 21:10 ` Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox