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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DNS_FROM_AHBL_RHSBL,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrfy.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=W3tFZTXXevBdUoOORaNSU0PIjXVT9Pabw+T4znxgNc0=; b=e9COtD+/3GiArCUNd8z2gny8ZkVDhoBKBNN785bWYI4bDKFV6LWhUMhzrPJ4ZrBKzl fHj/b+/n/hlZsGJTH0Gm4jXnlbFT8ARXt/KrmEyYgdcjbpkWg3NfQ0wCkzBGpaiARXpo UXH0OjZgvrs0H/QJDgTfR3MxYtHzkMMjWHnbE= 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=W3tFZTXXevBdUoOORaNSU0PIjXVT9Pabw+T4znxgNc0=; b=UrRtbdDaos/b6YFvI5VJxu/en+SoIocGMwl+AN8+WUoEeHkiirAvyrnRGf7F9lCstU /KsQSzr2tDTI6BaRJOkOVtYEH/A9SUFqByKpjffuD+CbrRyaPsTtoj2bOVVPfAgN5XLY hkIkFSbaBzw9+y4lmEsvZg6q2o5uMLCDeuOcFJP8GEIV2re9E3zHYWXrZ8IufCn7B6vy 7wCd2FlpVpgz1vnYsZ6HV6Ec7wvJs+aVOXlge1OqVpT9H//9sUoCyzMMPAU8sWelq/42 mAyzixwRdlmgho6jrwBYQc1Zk87Kg0s6qwSJdM5FlIkXM2dTh11h2z7kgfa3w4wwLREE x33A== X-Gm-Message-State: ALoCoQkfbBaXR/Kb2gEwTZOcV4WVFLL9UuuPalk2t8kyUQQTE0V6gUPYUJHPfAronPoeMHYnQgxq X-Received: by 10.50.43.130 with SMTP id w2mr15339154igl.30.1427924897320; Wed, 01 Apr 2015 14:48:17 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20150123021329.GF2702@gardel-login> From: Kay Sievers Date: Wed, 1 Apr 2015 23:47:56 +0200 Message-ID: To: Andy Lutomirski Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Thu, 02 Apr 2015 00:48:59 +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 21:48:20 -0000 Archived-At: List-Archive: 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 >>> 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