From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, DNS_FROM_AHBL_RHSBL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=IpBCVapk9wA2ezlpE22VlPUe0vka8yBAwWNBi9Rvtx0=; b=OL7bATIynGToWyrLEWO6Pyw3LAk55yoRbPtBs0ILuTYV7AjQwiyEDTEzB9yCG5/ZPd x/+7DQnAgEja4wTK4XAEzY8QRVop17ykdQZTPKPh5Xg/h1MOd5Flwborrq4kK2yIHHVn CRvsgqKGkTlUAZt1jkxZivTnIUrdNY/U7wF60JdlB2EBJDbGY8/8eNIkrgrqlFkfTimX Lw+baZBqw3kaTXE5HMR+SFWuHOsqiB9xtIrMkcoeuhAhJbZ8L20IaIUOeHVC+Lr3J0qg /RPar0A11TBmm/8CU8Ttoe1PzKOJy5BlVNGtlut6iArqrH4FzCYb2xPZbAIcQuV+MwzJ iYZQ== X-Gm-Message-State: ALoCoQnAhc//Lir84y3VnCHR5npyv5ZxBow5AdgU8mI7w5Z35XFArVhl61Wkq+OCubXZOa5EylXs X-Received: by 10.112.14.208 with SMTP id r16mr8721371lbc.6.1427925644916; Wed, 01 Apr 2015 15:00:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20150123021329.GF2702@gardel-login> From: Andy Lutomirski Date: Wed, 1 Apr 2015 15:00:24 -0700 Message-ID: To: Kay Sievers Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Thu, 02 Apr 2015 01:07:39 +0300 Cc: systemd Mailing List , Lennart Poettering , kbd@lists.altlinux.org Subject: Re: [kbd] [systemd-devel] systemd-vconsole-setup fails very slowly X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 22:00:46 -0000 Archived-At: List-Archive: On Wed, Apr 1, 2015 at 2:47 PM, Kay Sievers wrote: > On Wed, Apr 1, 2015 at 11:38 PM, Andy Lutomirski wrote: >> On Wed, Apr 1, 2015 at 2:36 PM, Kay Sievers 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