Re: 2.6.0-test4-mm6

From: viro
Date: Fri Sep 05 2003 - 09:52:58 EST


On Fri, Sep 05, 2003 at 02:46:40PM +0200, Jan Ischebeck wrote:
> Seems like I got the reason for X not starting:
>
> pseudo terminals can't be acquired and only two consoles are running.
>
> -> X11 can't get console Vt7
> -> pppd doesn't work either
>
> This definitely worked with -mm5.

Grr... Dumb typo. Patch below should fix that...

diff -urN B4-misc3/drivers/char/tty_io.c B4-current/drivers/char/tty_io.c
--- B4-misc3/drivers/char/tty_io.c Thu Sep 4 02:19:38 2003
+++ B4-current/drivers/char/tty_io.c Fri Sep 5 10:46:59 2003
@@ -1334,7 +1334,7 @@
return -ENODEV;
}

- if (device == MKDEV(TTY_MAJOR,2)) {
+ if (device == MKDEV(TTYAUX_MAJOR,2)) {
#ifdef CONFIG_UNIX98_PTYS
/* find a device that is not in use. */
retval = -1;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/