Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6 kernel... i broke something
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hackerError
Guru
Guru


Joined: 14 Mar 2003
Posts: 342
Location: Reston, VA, USA

PostPosted: Wed Nov 12, 2003 1:16 pm    Post subject: 2.6 kernel... i broke something Reply with quote

strangely enough i cannot run xterm or any other terminals as non root users. the error thrown is this:

>xterm
xterm: Error 32, errno 2: No such file or directory
Reason: get_pty: not enough ptys
Process xterm exited with code 32
_________________
Before you insult someone, it is often best to walk a mile in their shoes.

That way when you insult them you're already a mile away and have their shoes.
Back to top
View user's profile Send private message
QPegasus
n00b
n00b


Joined: 27 Sep 2003
Posts: 42

PostPosted: Wed Nov 12, 2003 2:50 pm    Post subject: Reply with quote

You need to enable certain things in kernel 2.6, otherwise the console wont work. I had a similar problem with 2.6. I thought I'd compiled everything I needed, but eterm just crashed whenever I started it.

I think what needs to be enabled is UNIX98 PTY support, or something similar. Then, in pseudo file systems, an option should appear for /dev/pty support. Enable it.
Back to top
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Wed Nov 12, 2003 9:28 pm    Post subject: Reply with quote

From the ebuild (and your monitor at the end of the emerge):
Code:

pkg_postinst() {
        [ "$ETYPE" = "headers" ] && return
        [ ! ${GPV} == 0 ] && KV="${KV}-patchset-${GPV}"
        [ ! -e ${ROOT}usr/src/linux-beta ] && ln -sf linux-${KV} ${ROOT}/usr/src/linux-beta

        echo
        ewarn "Please note that ptyfs support has been removed from devfs"
        ewarn "and you have to compile it in now, or else you will get"
        ewarn "errors when trying to open a pty. The option is:"
        ewarn "File systems -> Pseudo filesystems -> /dev/pts filesystem."
        echo
        ewarn "Also, note that you must compile in support for"
        ewarn "input devices (Input device support->Input devices),"
        ewarn "the virtual terminal (Character Devices->Virtual terminal),"
        ewarn "vga_console (Graphics Support->Console...->VGA text console)"
        ewarn "and the vt_console (Character Devices->Support for console...)."
        ewarn "Otherwise, you will get the dreaded \"Uncompressing the Kernel\""
        ewarn "error."
        echo
        ewarn "PLEASE NOTE THIS IS NOT OFFICIALLY SUPPORTED BY GENTOO."
        sleep 5
}

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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