From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 11:06:19 2021 Received: (at submit) by debbugs.gnu.org; 31 May 2021 15:06:19 +0000 Received: from localhost ([127.0.0.1]:34621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnjUf-00054I-LG for submit@debbugs.gnu.org; Mon, 31 May 2021 11:06:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:38082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnink-0003zA-Vh for submit@debbugs.gnu.org; Mon, 31 May 2021 10:21:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnink-0004sF-Oc for bug-guix@gnu.org; Mon, 31 May 2021 10:21:56 -0400 Received: from whiterose.net ([23.29.73.184]:35896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnini-0004dX-VI for bug-guix@gnu.org; Mon, 31 May 2021 10:21:56 -0400 Date: Mon, 31 May 2021 16:44:23 +0300 X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.2 at whiterose.net DKIM-Filter: OpenDKIM Filter v2.10.3 whiterose.net 4646F3B420F From: "Andrew \"Truck\" Holland" To: bug-guix@gnu.org Subject: Bug in guix installer (seems to be unable to create swap) - reproducable Message-ID: <20210531134423.GS16306@docka.amigadns.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Null-Tag: 21a90c64834f179cccfc775ee449e1ae Received-SPF: none client-ip=23.29.73.184; envelope-from=gutruck9@trebel.org; helo=whiterose.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 31 May 2021 11:06:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have attempted to install 1.3.0 from the iso, but the "guided" install encounters an error after partitioning; which if I read correctly, indicates swap cannot be created. This happens when I use _any_ partitioning scheme, manual or automatic. The command 'mkswap -f /dev/sda3' executes correctly from the shell session on tty3 from the installer. Sadly, this is also fatal and the installation cannot continue, so I'm a bit surprized no one has reported this - as I can recreate this situation reliably every time I attempt it. (Maybe I just am blind and cannot find the bug report at the guix bug tracker, if so, my apologies for the duplicate.) Error file attached. --- --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=guix_last-installer-error Content-Transfer-Encoding: 8bit In ice-9/ports.scm: 478:4 19 (with-error-to-port _ _) In guix/build/utils.scm: 654:6 18 (invoke _ . _) In ice-9/boot-9.scm: 1669:16 17 (raise-exception _ #:continuable? _) 1667:16 16 (raise-exception _ #:continuable? _) 1667:16 15 (raise-exception _ #:continuable? _) 1667:16 14 (raise-exception _ #:continuable? _) 1667:16 13 (raise-exception _ #:continuable? _) 1667:16 12 (raise-exception _ #:continuable? _) 1667:16 11 (raise-exception _ #:continuable? _) 1667:16 10 (raise-exception _ #:continuable? _) 1667:16 9 (raise-exception _ #:continuable? _) 1667:16 8 (raise-exception _ #:continuable? _) 1667:16 7 (raise-exception _ #:continuable? _) 1764:13 6 (_ #<&invoke-error program: "mkswap" arguments: ("-f" "/dev/sda3") exit-status: 1 term-signal: #f stop-signal: #f>) In ice-9/eval.scm: 619:8 5 (_ #(#(# #< name: newt init: # exit: # exit-error: # f…>) …)) 619:8 4 (_ #(#(#(# #< name: newt init: # exit: # exit-error: #) …) #)) In ice-9/ports.scm: 463:17 3 (call-with-output-file _ _ #:binary _ #:encoding _) In ice-9/eval.scm: 619:8 2 (_ #(#(# %exception (#<&invoke-error program: "mkswap" arguments: ("-f" "/dev/sda3") exit-status: 1 term-signal: #f stop-signal: #f>)) #)) 159:9 1 (_ #(#(# %exception (#<&invoke-error program: "mkswap" arguments: ("-f" "/dev/sda3") exit-status: 1 term-signal: #f stop-signal: #f>)) #)) In unknown file: 0 (make-stack #t) ice-9/eval.scm:159:9: ERROR: 1. &invoke-error: program: "mkswap" arguments: ("-f" "/dev/sda3") exit-status: 1 term-signal: #f stop-signal: #f --LpQ9ahxlCli8rRTG-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 08:46:22 2021 Received: (at 48762) by debbugs.gnu.org; 1 Jun 2021 12:46:22 +0000 Received: from localhost ([127.0.0.1]:35958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lo3mo-0006uB-Gd for submit@debbugs.gnu.org; Tue, 01 Jun 2021 08:46:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lo3mn-0006tw-08 for 48762@debbugs.gnu.org; Tue, 01 Jun 2021 08:46:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55066) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo3mh-0007ky-Dw; Tue, 01 Jun 2021 08:46:15 -0400 Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=48188 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3mh-0006Hx-5D; Tue, 01 Jun 2021 08:46:15 -0400 From: Mathieu Othacehe To: "Andrew \"Truck\" Holland" Subject: Re: bug#48762: Bug in guix installer (seems to be unable to create swap) - reproducable References: <20210531134423.GS16306@docka.amigadns.com> Date: Tue, 01 Jun 2021 14:46:13 +0200 In-Reply-To: <20210531134423.GS16306@docka.amigadns.com> (Andrew Holland's message of "Mon, 31 May 2021 16:44:23 +0300") Message-ID: <87mts969d6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48762 Cc: 48762@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Andrew, > This happens when I use _any_ partitioning scheme, manual or > automatic. Thanks for the complete bug report. I think that this bug falls into the same category as https://issues.guix.gnu.org/47996, https://issues.guix.gnu.org/47567, https://issues.guix.gnu.org/44872 and probably some others. The "free-parted" procedure that makes sure that all the partitions are created and not in use probably fails in some configurations. Otherwise, I cannot understand why the "mkswap" binary would fail. We may need to come up with a new procedure that provides stronger guarantees. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 13 09:12:46 2021 Received: (at 48762) by debbugs.gnu.org; 13 Jun 2021 13:12:46 +0000 Received: from localhost ([127.0.0.1]:42991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsPuw-0000wD-0k for submit@debbugs.gnu.org; Sun, 13 Jun 2021 09:12:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsPut-0000w0-MB for 48762@debbugs.gnu.org; Sun, 13 Jun 2021 09:12:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41306) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsPum-0004m8-UW; Sun, 13 Jun 2021 09:12:36 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57134 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsPul-0007wr-3S; Sun, 13 Jun 2021 09:12:36 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#48762: Bug in guix installer (seems to be unable to create swap) - reproducable References: <20210531134423.GS16306@docka.amigadns.com> <87mts969d6.fsf@gnu.org> Date: Sun, 13 Jun 2021 15:12:32 +0200 In-Reply-To: <87mts969d6.fsf@gnu.org> (Mathieu Othacehe's message of "Tue, 01 Jun 2021 14:46:13 +0200") Message-ID: <875yyh29j3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48762 Cc: 48762@debbugs.gnu.org, "Andrew \"Truck\" Holland" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Mathieu Othacehe skribis: > The "free-parted" procedure that makes sure that all the partitions are > created and not in use probably fails in some configurations. Otherwise, > I cannot understand why the "mkswap" binary would fail. Do we know why =E2=80=98mkswap=E2=80=99 exited with code 1, though? EBUSY = or could it be something else? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 13 11:19:16 2021 Received: (at 48762) by debbugs.gnu.org; 13 Jun 2021 15:19:17 +0000 Received: from localhost ([127.0.0.1]:44229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsRtL-0006ax-S8 for submit@debbugs.gnu.org; Sun, 13 Jun 2021 11:19:16 -0400 Received: from whiterose.net ([23.29.73.184]:55239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsQLo-0003mx-RC for 48762@debbugs.gnu.org; Sun, 13 Jun 2021 09:40:33 -0400 Date: Sun, 13 Jun 2021 16:01:52 +0300 X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.2 at whiterose.net DKIM-Filter: OpenDKIM Filter v2.10.3 whiterose.net 38C2F3B420F From: "Andrew \"Truck\" Holland" To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#48762: Bug in guix installer (seems to be unable to create swap) - reproducable Message-ID: <20210613130152.GO16306@docka.amigadns.com> References: <20210531134423.GS16306@docka.amigadns.com> <87mts969d6.fsf@gnu.org> <875yyh29j3.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <875yyh29j3.fsf@gnu.org> X-Null-Tag: bf4fb022858c16c2a5ba9c3c39560c43 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48762 X-Mailman-Approved-At: Sun, 13 Jun 2021 11:19:13 -0400 Cc: 48762@debbugs.gnu.org, Mathieu Othacehe , "Andrew \"Truck\" Holland" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I would _asume_ it could not be "EBUSY" as I see nothing in the script that would mount the drive... Again: this is the script, not custom. This is 100% reproducable in all my setups: just try using the defaults from the installer, and you should hit this. This occurs immediately after partitioning, which _does_ succeed. - you say "some configurations" - try the DEFAULT. Let it wipe the HD, partition, and: fail. A guess, but ... one that makes no sense: Surely it isn't one of those "old kernel" type problems where the new partition scheme isn't known, and therefore, kernel can't find the partition that the script expects? I haven't seen one of those issues for... over 15 years (: On Sun, Jun 13, 2021 at 03:12:32PM +0200, Ludovic Courtès wrote: > Hi, > > Mathieu Othacehe skribis: > > > The "free-parted" procedure that makes sure that all the partitions are > > created and not in use probably fails in some configurations. Otherwise, > > I cannot understand why the "mkswap" binary would fail. > > Do we know why ‘mkswap’ exited with code 1, though? EBUSY or could it > be something else? > > Thanks, > Ludo’. >