From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CPH6BrsIiWDUGgAAgWs5BA (envelope-from ) for ; Wed, 28 Apr 2021 09:03:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mKOeArsIiWA8SAAA1q6Kng (envelope-from ) for ; Wed, 28 Apr 2021 07:03:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5A87A1D0DC for ; Wed, 28 Apr 2021 09:03:22 +0200 (CEST) Received: from localhost ([::1]:50712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbeED-0001hG-J4 for larch@yhetil.org; Wed, 28 Apr 2021 03:03:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbeDv-0001Z9-7p for bug-guix@gnu.org; Wed, 28 Apr 2021 03:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbeDv-0005Sg-0N for bug-guix@gnu.org; Wed, 28 Apr 2021 03:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbeDu-0006G9-U2 for bug-guix@gnu.org; Wed, 28 Apr 2021 03:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#39341: Installer using 100% of a CPU core Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 28 Apr 2021 07:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39341 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 39341-done@debbugs.gnu.org id=D39341.161959334323998 (code D ref 39341); Wed, 28 Apr 2021 07:03:02 +0000 Received: (at 39341-done) by debbugs.gnu.org; 28 Apr 2021 07:02:23 +0000 Received: from localhost ([127.0.0.1]:51588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbeDG-0006F0-Qf for submit@debbugs.gnu.org; Wed, 28 Apr 2021 03:02:23 -0400 Received: from pelzflorian.de ([5.45.111.108]:32870 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbeDE-0006Er-Cg for 39341-done@debbugs.gnu.org; Wed, 28 Apr 2021 03:02:21 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id D826636063C; Wed, 28 Apr 2021 09:02:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1619593339; bh=t/54SDMZblH2Vjw99TB07kPCphgnXv566vATtmLZWeg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=t63QpiVNg6sx4q7Uy2AqcOR7lUVb6q/I9JW1VAnpLCP6V7k6vRKukarHzIAMqRh46 3C6fLOup0Ep7IYolZ3EVf06k2y/uCM1p9jsCY4ZYRg3FLngG6eWGKzFX3u+tqjedCH fqVqvnuSA7wGWuCOv5KNqtQ5AiWLARoPc8Sgzj50= Date: Wed, 28 Apr 2021 09:02:10 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20210428070210.g3lntjoek5y6hyi7@pelzflorian.localdomain> References: <87a766u9et.fsf@gmail.com> <87h7juf3dk.fsf@gnu.org> <20210426143225.fljn47jmgj5hhmra@pelzflorian.localdomain> <87fszdav22.fsf@gnu.org> <20210426161459.rfgxir2n5ya73vmv@pelzflorian.localdomain> <878s546mhs.fsf@gnu.org> <20210427123209.jyqw77edsbt5qhdj@pelzflorian.localdomain> <8735vbwh9q.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8735vbwh9q.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe , 39341-done@debbugs.gnu.org, Maxim Cournoyer Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619593402; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=K3DVb9CGs2lw6JK4cIw9RkI14Un+A9ZFirxQQH18Brg=; b=f6aVD29TUZKE/o7nFk1/Fawj6J1cp3p2g+ccvjyFzA6ripoMyJOwy5iMIJI/ONAus4ezNe xDf5xkew61GQslVBeLIQEG6Ur6UHiY6A68PzPs/e2Fu3xHXk6/1v+Ec122MbUFGJuFHKDF 85CtD8ui6TEEVPq5hwHw8G0hmRdxLUjHmuuNBHYbCBff4o+qEP76vTlBIxuS4d8qwiWZwg x3sWgoLFqcKqcHI+X26HCo6obpJUMXZwBPmHv0ap1qWjwc5VcolWuEwEWNSl/BPkGMMCyO mexzzhXNmYcVTY+6C24tedC1bhSevbtMrpxkc52h6ymcMu3DAonHxLli4j103g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619593402; a=rsa-sha256; cv=none; b=T+zB1osNGmPchVAdcOJzXcqqHcIpLkNXK/2FIjK8AN5hLzudF16N2RuRo5DHSw7pZQ6IL1 543sOBJ79S4dI1HpE+9N6/y1D8nARHpTC81LuBQYZb+3qPKrq0ALM/5YWXX2FRDqlivcD+ KAo/4q4GsJAE5Ia0nCRaozz8Zb4E/D2iPXjpOj753HAKwTU2zjWwcxnew7zdWQJvBnT8f2 UvqfVB3JuPjPFR0O/ZNsPEuOL+UXCJ31ZRVdDVXzjwEkFucKO7vlGI5IqFOeswHQcy32uJ +9jKJJNpf4ySX+UiSvuTMd+mEr9TCz2gsi+lWG2fKjZWdICOdiCRvyMznvKpEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=t63QpiVN; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=t63QpiVN; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5A87A1D0DC X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: WsTaQxp8fURW Hi Ludo, On Tue, Apr 27, 2021 at 11:26:41PM +0200, Ludovic Courtès wrote: > I tried this in ‘guix system vm gnu/system/install.scm’. I proceed like > so: > > 1. after the installer’s welcome screen I choose French layout; > 2. the next dialog is the host name, which is where I confirm I really > got French layout; At the host name dialog, I still have QWERTY layout, on both my Beebox and my Macbook. I can however switch in QEMU on the same Macbook. Oh and I just noticed now; the same USB drive does switch layouts on my fastest machine. All are UEFI. > 3. from there I press F1, choose German layout, confirm by typing into > the host name dialog that I got German layout; No effect, I still got QWERTY layout. > 4. I repeat step #3 with a variety of layouts. Same. > Changing layouts there just works and is instantaneous. (Note that this > only changes the layout of kmscon, so tty3 & co. are unaffected.) > > The strace log shows this when changing layouts (FD 17 corresponds to > /tmp/kmscon-165-keymap-update, the FIFO node): > > --8<---------------cut here---------------start------------->8--- > 165 epoll_wait(3, [{EPOLLIN, {u32=17731792, u64=17731792}}, {EPOLLIN|EPOLLHUP, {u32=18285248, u64=18285248}}, {EPOLLIN, {u32=17639536, u64=17639536}}], 32, -1) = 3 > 165 epoll_wait(12, [{EPOLLIN, {u32=17678528, u64=17678528}}], 32, 0) = 1 > 165 read(20, "\33[5;22H\33[44m\33[K\33[6;22H\33[K\33[7;22H"..., 16384) = 1657 > 165 read(20, 0x10f6c28, 16384) = -1 EAGAIN (Resource temporarily unavailable) > 165 read(17, "p", 1) = 1 > 165 read(17, "c", 1) = 1 > 165 read(17, "1", 1) = 1 > 165 read(17, "0", 1) = 1 > 165 read(17, "5", 1) = 1 > 165 read(17, "\0", 1) = 1 > 165 read(17, "f", 1) = 1 > 165 read(17, "r", 1) = 1 > 165 read(17, "\0", 1) = 1 > 165 read(17, "\0", 1) = 1 > 165 read(17, "\0", 1) = 1 > 165 read(17, "", 1) = 0 > 165 stat("/gnu/store/m734r6j7g74x9k74sgjb8835pg7dnqbk-libxkbcommon-1.0.3/etc/xkb", 0x7fff179314b0) = -1 ENOENT (No such file or directory) > 165 stat("/gnu/store/qz3zdrz12rxawlkvah9qjhjyf6fh1v98-xkeyboard-config-2.31/share/X11/xkb", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 Yes i do have this output too: 231 epoll_wait(3, [{EPOLLIN, {u32=8232720, u64=8232720}}, {EPOLLIN|EPOLLHUP, {u32=8124896, u64=8124896}}], 32, -1) = 2 231 epoll_wait(12, [{EPOLLIN, {u32=8182976, u64=8182976}}], 32, 0) = 1 231 read(29, "\33[5;67H\33[44m\33[K\33[6;67H\33[K\33[7;67H"..., 16384) = 1833 231 read(29, 0x7fc4f8, 16384) = -1 EAGAIN (Resource temporarily unavailable) 231 read(26, "p", 1) = 1 231 read(26, "c", 1) = 1 231 read(26, "1", 1) = 1 231 read(26, "0", 1) = 1 231 read(26, "5", 1) = 1 231 read(26, "\0", 1) = 1 231 read(26, "f", 1) = 1 231 read(26, "r", 1) = 1 231 read(26, "\0", 1) = 1 231 read(26, "\0", 1) = 1 231 read(26, "\0", 1) = 1 231 read(26, "", 1) = 0 231 stat("/gnu/store/m734r6j7g74x9k74sgjb8835pg7dnqbk-libxkbcommon-1.0.3/etc/xkb", 0x7fff282d66b0) = -1 ENOENT (No such file or directory) 231 stat("/gnu/store/qz3zdrz12rxawlkvah9qjhjyf6fh1v98-xkeyboard-config-2.31/share/X11/xkb", {st_mode=S_IFDIR|0555, st_size=2048, ...}) = 0 231 stat("/gnu/store/qz3zdrz12rxawlkvah9qjhjyf6fh1v98-xkeyboard-config-2.31/share/X11/xkb", {st_mode=S_IFDIR|0555, st_size=2048, ...}) = 0 > > [...] > > 165 openat(AT_FDCWD, "/gnu/store/qz3zdrz12rxawlkvah9qjhjyf6fh1v98-xkeyboard-config-2.31/share/X11/xkb/symbols/inet", O_RDONLY) = 22 > 165 fstat(22, {st_mode=S_IFREG|0444, st_size=64040, ...}) = 0 > 165 mmap(NULL, 64040, PROT_READ, MAP_SHARED, 22, 0) = 0x7f50d23b5000 > 165 brk(0x12bb000) = 0x12bb000 > 165 munmap(0x7f50d23b5000, 64040) = 0 > 165 close(22) = 0 > 165 epoll_ctl(3, EPOLL_CTL_DEL, 17, NULL) = 0 > 165 close(17) = 0 > 165 getpid() = 165 > 165 unlink("/tmp/kmscon-165-keymap-update") = 0 > 165 mknod("/tmp/kmscon-165-keymap-update", S_IFIFO|0700) = 0 > 165 openat(AT_FDCWD, "/tmp/kmscon-165-keymap-update", O_RDONLY|O_NONBLOCK) = 17 > 165 epoll_ctl(3, EPOLL_CTL_ADD, 17, {EPOLLIN, {u32=19410896, u64=19410896}}) = 0 > --8<---------------cut here---------------end--------------->8--- > > The last lines show that we delete the FIFO from the poll set, close the > FIFO, recreate it, and re-add it to the poll set. I got: 231 openat(AT_FDCWD, "/gnu/store/qz3zdrz12rxawlkvah9qjhjyf6fh1v98-xkeyboard-config-2.31/share/X11/xkb/symbols/inet", O_RDONLY) = 31 231 fstat(31, {st_mode=S_IFREG|0444, st_size=64040, ...}) = 0 231 mmap(NULL, 64040, PROT_READ, MAP_SHARED, 31, 0) = 0x7f1b1f5c7000 231 munmap(0x7f1b1f5c7000, 64040) = 0 231 close(31) = 0 231 epoll_ctl(3, EPOLL_CTL_DEL, 26, NULL) = 0 231 close(26) = 0 231 getpid() = 231 231 unlink("/tmp/kmscon-231-keymap-update") = 0 231 mknod("/tmp/kmscon-231-keymap-update", S_IFIFO|0700) = 0 231 openat(AT_FDCWD, "/tmp/kmscon-231-keymap-update", O_RDONLY|O_NONBLOCK) = 26 231 epoll_ctl(3, EPOLL_CTL_ADD, 26, {EPOLLIN, {u32=9609568, u64=9609568}}) = 0 231 epoll_wait(3, [{EPOLLIN, {u32=8123856, u64=8123856}}], 32, -1) = 1 231 read(14, "\2\0\0\0 \0\0\0000\373{\0\0\0\0\0\326\0\0\0^\335\t\0\347,\0\0]\0\0\0", 1024) = 32 231 ioctl(14, DRM_IOCTL_MODE_PAGE_FLIP, 0x7fff282d6b50) = 0 Slightly different. This is the next occurrence after the pci05\0fr. My layout is still QWERTY after waiting for some time; I do not know how the layout switch was eventually triggered after a while last time. > > So for me it works exactly as intended. > > Do you have a scenario I could follow to try to reproduce the problem? > > Thanks, > Ludo’.