Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/pts is empty
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Strayer
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 75
Location: Germany

PostPosted: Fri Nov 28, 2008 11:32 am    Post subject: /dev/pts is empty Reply with quote

Hi,

I currently get many errors about pty devices:
Code:
login as: root
Using keyboard-interactive authentication.
Password:
Server refused to allocate pty

Code:
layer ~ # screen
Cannot access '/dev/pts/2': Datei oder Verzeichnis nicht gefunden

Code:
>>> Emerging (1 of 1) app-text/wgetpaste-2.12
openpty failed: 'out of pty devices'


My /dev/pts dir is empty:
Code:
layer ~ # ls -lisa /dev/pts/
insgesamt 0
140766 0 drwxr-xr-x  2 root root   40 28. Nov 10:03 .
140756 0 drwxr-xr-x 15 root root 3820 28. Nov 10:03 ..

Code:
layer ~ # mount
rootfs on / type rootfs (rw)
/dev/lvm/root on / type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)
/proc on /proc type proc (rw,nosuid,nodev,noexec)
rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
/dev/sda5 on /boot type ext2 (rw,noatime,nodiratime)


kernel .config: http://dpaste.com/94313/

I guess I'm missing a kernel option...
Back to top
View user's profile Send private message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Fri Nov 28, 2008 1:38 pm    Post subject: Reply with quote

Does it work with a standard gentoo-kernel where you don't remove but only add options.
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3767

PostPosted: Fri Nov 28, 2008 1:48 pm    Post subject: Reply with quote

Quote:
# CONFIG_LEGACY_PTYS is not set


that is probably your problem.

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6047

PostPosted: Fri Nov 28, 2008 2:21 pm    Post subject: Reply with quote

Probably not. I had 'CONFIG_LEGACY_PTYS' is not set for ages (or, more exactly, years)
and never had a problem with it.

What's more, ls -lisa /dev/pts/ does list 7 ptys for me.
Back to top
View user's profile Send private message
Cheba
n00b
n00b


Joined: 10 Jun 2006
Posts: 16

PostPosted: Sun Dec 21, 2008 1:07 pm    Post subject: Reply with quote

Any solution to this?
Back to top
View user's profile Send private message
salahx
Guru
Guru


Joined: 12 Mar 2005
Posts: 423

PostPosted: Mon Dec 22, 2008 6:43 pm    Post subject: Reply with quote

It almost sounds like devpts isn't being mounted, even though mount says it is. Check /proc/mounts and make sure, as I believe "mount" gets its info from /etc/mtab which could be stale.
Back to top
View user's profile Send private message
tomj44
n00b
n00b


Joined: 12 Sep 2005
Posts: 37
Location: Nantes France

PostPosted: Wed Dec 24, 2008 10:30 am    Post subject: Reply with quote

did you use openrc 0.4.0 ?
Back to top
View user's profile Send private message
Strayer
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 75
Location: Germany

PostPosted: Wed Dec 24, 2008 7:13 pm    Post subject: Reply with quote

tomj44 wrote:
did you use openrc 0.4.0 ?

Actually... yes.

I ditched the config and just created a new one and the problem seemed to be solved. Right now I'm starting from scratch since I kind of... killed my hard disk *coughs*
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 322
Location: Bosnia

PostPosted: Thu May 12, 2011 11:52 am    Post subject: Reply with quote

Same problem here i just upgrade all things and also done with new kde 4.6.2 and cant connect to server any solution for this problem ?
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
Gooterz
n00b
n00b


Joined: 24 Jul 2011
Posts: 1

PostPosted: Sun Jul 24, 2011 11:38 am    Post subject: Reply with quote

Same here.. just build a new 64 bit system with no multilib?
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Fri Dec 21, 2012 12:40 am    Post subject: Reply with quote

Gooterz wrote:
Same here.. just build a new 64 bit system with no multilib?


I too built a no multilib 64 bit and have the same issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum