public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Jeff Dike <jdike@addtoit.com>, Al Viro <viro@zeniv.linux.org.uk>
Subject: Re: [QUERY] User-Mode Linux and /dev/tty*
Date: Tue, 16 Jul 2013 17:59:07 +0200	[thread overview]
Message-ID: <51E56DCB.3040108@nod.at> (raw)
In-Reply-To: <CALkWK0k2BsoxwMLHSWmmrFXkvMBiWDG1b0NXrfR6i95=tFPMXw@mail.gmail.com>

Hi!

Am 16.07.2013 17:54, schrieb Ramkumar Ramachandra:
> Hi,
> 
> So, I was trying to boot User-Mode Linux with a modern rootfs with
> systemd on it, and found that it wouldn't present me a prompt.  I dug
> further, and found out that getty is not able to open /dev/tty1; I
> then tried the console-getty.service (which uses /dev/console), and it
> worked.  The reason it doesn't work out of the box is that systemd is
> not able to figure out whether or not a virtual console subsystem is
> present: /dev/tty0 is present for some reason (although I'm not sure
> it's a virtual console), and this confuses systemd.
> 
> So, my question is: does um Linux have a virtual console subsystem?
> If so, then why doesn't it seem to work?  If not, why does /dev/tty0
> exist?

UML does not have CONFIG_VT.
But recent systemd versions can deal with that.

Thanks,
//richard


  reply	other threads:[~2013-07-16 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16 15:54 [QUERY] User-Mode Linux and /dev/tty* Ramkumar Ramachandra
2013-07-16 15:59 ` Richard Weinberger [this message]
2013-07-16 16:03   ` Ramkumar Ramachandra
2013-07-16 16:10     ` Richard Weinberger
2013-07-16 16:26       ` Ramkumar Ramachandra
2013-07-16 16:34         ` Richard Weinberger

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=51E56DCB.3040108@nod.at \
    --to=richard@nod.at \
    --cc=artagnon@gmail.com \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /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