View previous topic :: View next topic |
Author |
Message |
hackerError Guru
Joined: 14 Mar 2003 Posts: 342 Location: Reston, VA, USA
|
Posted: Wed Nov 12, 2003 1:16 pm Post subject: 2.6 kernel... i broke something |
|
|
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 |
|
|
QPegasus n00b
Joined: 27 Sep 2003 Posts: 42
|
Posted: Wed Nov 12, 2003 2:50 pm Post subject: |
|
|
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 |
|
|
aja l33t
Joined: 26 Aug 2002 Posts: 705 Location: Edmonton, Canada
|
Posted: Wed Nov 12, 2003 9:28 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|