Linux console tools development discussion
 help / color / mirror / Atom feed
From: Andy Lutomirski <luto@amacapital.net>
To: Kay Sievers <kay@vrfy.org>
Cc: systemd Mailing List <systemd-devel@lists.freedesktop.org>,
	Lennart Poettering <lennart@poettering.net>,
	kbd@lists.altlinux.org
Subject: Re: [kbd] [systemd-devel] systemd-vconsole-setup fails very slowly
Date: Wed, 1 Apr 2015 15:00:24 -0700
Message-ID: <CALCETrU8ng_uFk7gQOxXnxys4kvnwEV1Mu4xq9usTpqtBbFvtA@mail.gmail.com> (raw)
In-Reply-To: <CAPXgP126ArYuCF6QZ+mMSOAhAhiMeG4vXup1+qBg48qD1ZMtGQ@mail.gmail.com>

On Wed, Apr 1, 2015 at 2:47 PM, Kay Sievers <kay@vrfy.org> wrote:
> On Wed, Apr 1, 2015 at 11:38 PM, Andy Lutomirski <luto@amacapital.net> wrote:
>> On Wed, Apr 1, 2015 at 2:36 PM, Kay Sievers <kay@vrfy.org> wrote:
>
>>> They should only get created when something accesses the corresponding
>>> tty. deallocvt(1) can kill unused ones and the device nodes should
>>> disappear.
>>>
>>
>> deallocvt doesn't seem to kill those device nodes for me.
>
> Seems to work here:
>
> # ls -l /dev/vcs[6789]
> crw-rw---- 1 root tty 7, 6 Apr  1 22:21 /dev/vcs6
> # cat /dev/tty7
> ^C
> # cat /dev/tty9
> ^C
> # ls -l /dev/vcs[6789]
> crw-rw---- 1 root tty 7, 6 Apr  1 22:21 /dev/vcs6
> crw-rw---- 1 root tty 7, 7 Apr  1 23:42 /dev/vcs7
> crw-rw---- 1 root tty 7, 9 Apr  1 23:42 /dev/vcs9
> # deallocvt 7
> # ls -l /dev/vcs[6789]
> crw-rw---- 1 root tty 7, 6 Apr  1 22:21 /dev/vcs6
> crw-rw---- 1 root tty 7, 9 Apr  1 23:42 /dev/vcs9
> # deallocvt 9
> # ls -l /dev/vcs[6789]
> crw-rw---- 1 root tty 7, 6 Apr  1 22:21 /dev/vcs6

Aha.  It seems that I have something holding tty1-tty4 open.  I'll fix
that on my end.  Will that make vconsole-setup stop calling setfont?
If so, that will indirectly solve my problem.  (Although... I don't
see why the presence or absence of in-use vts should affect font
loading.  Also, it seems like vcs1 shows up no matter what I do.)

>
>>>> The offending qemu command line args appear to be -vga none -display
>>>> none.  I assume I have "CGA" because it's the fallback case in
>>>> vgacon.c if nothing matches.
>>>
>>> Hehe, blast from the past. :) If you give kvm a VGA device, it all works fine?
>>
>> I just tried it.  setfont succeeds, and the VGA device matches
>> /dev/vcs's contents.
>
> Ah, nice.
>
> If we figure out some dummy font-related call to check if the kernel
> supports font handling at all, we could just add that to
> vconsole-setup, I guess.
>
> Kay



-- 
Andy Lutomirski
AMA Capital Management, LLC


  reply	other threads:[~2015-04-01 22:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23  2:29   ` Andy Lutomirski
2015-01-26 10:39     ` Alexey Gladkov
2015-04-01 18:56     ` Andy Lutomirski
2015-04-01 19:32       ` Kay Sievers
2015-04-01 19:36         ` Andy Lutomirski
2015-04-01 19:55           ` Kay Sievers
2015-04-01 20:45             ` Andy Lutomirski
2015-04-01 20:53               ` Kay Sievers
2015-04-01 21:19                 ` Andy Lutomirski
2015-04-01 21:36                   ` Kay Sievers
2015-04-01 21:38                     ` Andy Lutomirski
2015-04-01 21:47                       ` Kay Sievers
2015-04-01 22:00                         ` Andy Lutomirski [this message]
2015-04-01 22:28                           ` Kay Sievers
2015-04-01 21:20       ` Alexey Gladkov
2015-04-06 21:48     ` Alexey Gladkov
2015-04-06 22:55       ` Andy Lutomirski

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=CALCETrU8ng_uFk7gQOxXnxys4kvnwEV1Mu4xq9usTpqtBbFvtA@mail.gmail.com \
    --to=luto@amacapital.net \
    --cc=kay@vrfy.org \
    --cc=kbd@lists.altlinux.org \
    --cc=lennart@poettering.net \
    --cc=systemd-devel@lists.freedesktop.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

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git