[kbd] [systemd-devel] systemd-vconsole-setup fails very slowly

Andy Lutomirski luto at amacapital.net
Tue Apr 7 01:55:34 MSK 2015


On Mon, Apr 6, 2015 at 2:48 PM, Alexey Gladkov <gladkov.alexey at gmail.com> wrote:
> 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

Seems to work for me (i.e. it fails immediately in my setup).  Thanks!

--Andy

>
> --
> Rgrds, legion
>



-- 
Andy Lutomirski
AMA Capital Management, LLC


More information about the kbd mailing list