Re: [uml-devel] um: TTY fixes (?)

From: Alan Cox
Date: Thu Jun 07 2012 - 12:21:51 EST


On Thu, 07 Jun 2012 17:18:37 +0200
Richard Weinberger <richard@xxxxxx> wrote:

> Alan, Jiri!
>
> If I omit ->hangup(), mingetty (And all other getty implementations)
> are unable to open /dev/ttyX. open() returns -EIO.
> Currently I'm testing it on FC12.
> Also if I do something like "echo foo >/dev/tty1" it fails with -EIO.
> And now the strange thing, opening and writing an unknown (unknown to
> this upstart rubbish) tty works. E.g.: echo foo >/dev/tty10.
>
> Any ideas what's going wrong?

Yes I know exactly what is going on. However getting a more tolerant
behaviour is going to take a couple more kernels.

Alan
--
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/