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=2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DNS_FROM_AHBL_RHSBL,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.0 Message-ID: <5522FF32.5010209@gmail.com> Date: Tue, 07 Apr 2015 00:48:34 +0300 From: Alexey Gladkov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: luto@amacapital.net, kay@vrfy.org References: <20150123021329.GF2702@gardel-login> In-Reply-To: OpenPGP: id=4CFFD434; url=http://pgp.mit.edu:11371/pks/lookup?op=vindex&fingerprint=on&search=0xA45ABA544CFFD434 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Linux console tools development discussion 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: Mon, 06 Apr 2015 21:48:37 -0000 Archived-At: List-Archive: 23.01.2015 05:29, Andy Lutomirski пишет: > setfont does this: > > /* we allow ourselves to hang here for ca 5 seconds, xdm may > be playing tricks on us. */ > while ((loop++ < 20) && (i = ioctl(fd, PIO_FONT, buf))) > { > if (loop <= 1) > fprintf(stderr, "putfont: PIO_FONT trying ...\n"); > else > fprintf(stderr, "."); > usleep(250000); > } > fprintf(stderr, "\n"); > > Alexey, would it make sense to remove this loop or to add a way to turn it off? Andy, can you check master branch ? http://git.altlinux.org/people/legion/packages/kbd.git -- Rgrds, legion