From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [Bug 645] New: Not enough ptys
Date: Mon, 05 May 2003 09:30:34 -0700 [thread overview]
Message-ID: <9410000.1052152234@[10.10.2.4]> (raw)
http://bugme.osdl.org/show_bug.cgi?id=645
Summary: Not enough ptys
Kernel Version: 2.5.68
Status: NEW
Severity: normal
Owner: bugme-janitors@lists.osdl.org
Submitter: shawk@gmx.net
Distribution: Gentoo
Hardware Environment: AMD 2700+, ECS K7VTA3 Rev5.0
Software Environment: kernel 2.5.68, noapic passed to kernel, gcc 3.2.2,
glibc 2.3.1, using /dev filesystem
Problem Description:
Using the kernel 2.5.68 I am unable to open any terminals or consoles when
working with X, however no error message is given. They simply woun't load.
Using the command "startx" results in "not enough ptys" and refuses to load.
I checked the net and mailing lists, but none of the older topics like not
having /dev/ptyd* /dev/ptys* or /dev/pts do apply. I found them all on my
system.
I tested Kernels 2.5.63 and 2.5.67 and both work flawlessy there. I compiled
both 2.5.68 and 2.5.67 with the same options, and only 2.5.68 showed this
behavior.
Kernel Settings concerning PTY :
CONFIG_DEVPTS_FS=y (tried without this option, no change in behavior)
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
Diffing drivers/char/pty.c on both kernels results in the following output:
# diff /usr/src/linux-2.4.67/drivers/char/pty.c
/usr/src/linux-2.5.68/drivers/char/pty.c
308d307
< extern void tty_register_devfs (struct tty_driver *driver, unsigned int
flags, unsigned minor);
336,342d334
<
< /* Register a slave for the master */
< if (tty->driver.major == PTY_MASTER_MAJOR)
< tty_register_devfs(&tty->link->driver,
< DEVFS_FL_CURRENT_OWNER | DEVFS_FL_WAIT,
< tty->link->driver.minor_start +
<
minor(tty->device)-tty->driver.minor_start);
Maybe its related to this?
Simply copying the file from .67 into the .68 kernel will result in a break
when trying to compile.
If you need any more information please let me know.
Steps to reproduce: simply compile 2.5.68 kernel on my PC
reply other threads:[~2003-05-05 16:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='9410000.1052152234@[10.10.2.4]' \
--to=mbligh@aracnet.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®