GNU bug report logs - #36783
Guix graphical installation failure on all drives with size > 1 TiB

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Danny Milosavljevic <dannym@HIDDEN>; dated Wed, 24 Jul 2019 12:58:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jul 2019 16:12:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 12:12:53 2019
Received: from localhost ([127.0.0.1]:37905 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hqJsq-0001cT-SI
	for submit <at> debbugs.gnu.org; Wed, 24 Jul 2019 12:12:53 -0400
Received: from lists.gnu.org ([209.51.188.17]:55342)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <m.othacehe@HIDDEN>) id 1hqJsp-0001cL-8B
 for submit <at> debbugs.gnu.org; Wed, 24 Jul 2019 12:12:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58702)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <m.othacehe@HIDDEN>) id 1hqJso-0003rI-Ah
 for bug-guix@HIDDEN; Wed, 24 Jul 2019 12:12:51 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <m.othacehe@HIDDEN>) id 1hqJsn-0008VW-4Q
 for bug-guix@HIDDEN; Wed, 24 Jul 2019 12:12:50 -0400
Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:35640)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <m.othacehe@HIDDEN>)
 id 1hqJsm-0008Tw-Tx
 for bug-guix@HIDDEN; Wed, 24 Jul 2019 12:12:49 -0400
Received: by mail-wm1-x32a.google.com with SMTP id l2so42133118wmg.0
 for <bug-guix@HIDDEN>; Wed, 24 Jul 2019 09:12:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:date
 :message-id:mime-version;
 bh=V2SBNsRcjSajfTX1+hYjTwAqp10dWViBATfHmcWv9lI=;
 b=bqeQ3lrwy+bENm3g1pbNnaazJd0sHRtpDrkzk92OoCyZ9kgXbxW9rDyiunmYjqLIkn
 Xmq6glt/ynds1sheWTpRS0baoj3S1jMevHJN6/GCs40QHriw2dC3d5NQ1fwMyNU24c2h
 2MnA3zaJ45dgpSBn4ThLRejQbBlLsPNkZ/o06wiD4DW1rVqOCF9Bu2Ee7Dvh4++nOSt9
 VqteBD/4EMsKLWk/EFyiZ5L7GCa6WIaEgHA8DBwrDnhkdDPkL9LLYQht+87/TErh0NGQ
 A9ipylk6wmdBO/b510Yyu19vwgOg3LFhLwqnRCUkDX7LCNMwEK9jBOhf6iNLmb20kcVy
 46kQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:date:message-id:mime-version;
 bh=V2SBNsRcjSajfTX1+hYjTwAqp10dWViBATfHmcWv9lI=;
 b=UQisbP/DPyBI6Gt6sTUoAToJKtD260gYM/f+c3cN/WLZF3lbcFr188LJn9jcrLNQMa
 MeyMNxOWYkJTnQQrddxRCMESZoNN05rykQsBBMb3J6+iLD60hywFfnnJ1V9mbtZszwtS
 +VRYQ6jAZwKxpk81mgeS/Mun8WFvJ3SNrBW6Hi7Ie13gT4ngOC97UFpveKjdTgDtYfX1
 vN6mxakcHojU96EZltMlUlZiSYjvv2Aukpo5KUZmcTjnKFqhDRWy3HruLv2krp8v4990
 3bUxBF9taGIC8Qs7jxsk0Tn0dqLRVAFJx0ImTDBQYGZJF2+bDaHQgg4/iS1ZiVRENvDt
 AlKw==
X-Gm-Message-State: APjAAAXud+b03qLaf9tgFaARp5muYaKELAn/QG81/VWfIWEMsJND/gKn
 XL0vXmQQV/QFYVDHVzB2IE8rHPxi
X-Google-Smtp-Source: APXvYqxA4OPy5snaJQJQE+mTeTu5sW9dXE4EtqfDNB9lzSBRUYWhhkS9KKXUAWJe/agPfzkomJAAXg==
X-Received: by 2002:a7b:c5c2:: with SMTP id n2mr73213995wmk.92.1563984766046; 
 Wed, 24 Jul 2019 09:12:46 -0700 (PDT)
Received: from fuji (smtp.parrot.biz. [62.23.167.188])
 by smtp.gmail.com with ESMTPSA id z25sm51328393wmf.38.2019.07.24.09.12.45
 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
 Wed, 24 Jul 2019 09:12:45 -0700 (PDT)
References: <20190724145558.1d854ed9@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.2
From: Mathieu Othacehe <m.othacehe@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: Guix graphical installation failure on all drives with size > 1
 TiB
In-reply-to: <20190724145558.1d854ed9@HIDDEN>
Date: Wed, 24 Jul 2019 18:12:44 +0200
Message-ID: <87y30nif7n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::32a
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-guix@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


Hello Danny,

> However, even after that, disk-print, if used, prints nonsensical (negative)
> values for "free" (but installation succeeds).
>
> That bug prevents graphical installation on any drive bigger than 1 TiB.
> Let's make a bugfix Guix release shortly.

Your fix seems ok for me, thank you! I don't get why you negative values
though. I'll try to find a big hard drive to understand this before
pushing this patch.

Thanks,

Mathieu




Information forwarded to bug-guix@HIDDEN:
bug#36783; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jul 2019 12:57:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 08:57:07 2019
Received: from localhost ([127.0.0.1]:36096 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hqGpO-0004WR-Q5
	for submit <at> debbugs.gnu.org; Wed, 24 Jul 2019 08:57:07 -0400
Received: from lists.gnu.org ([209.51.188.17]:39341)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1hqGpM-0004WJ-Ul
 for submit <at> debbugs.gnu.org; Wed, 24 Jul 2019 08:57:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57923)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <dannym@HIDDEN>) id 1hqGpL-0004nD-FB
 for bug-guix@HIDDEN; Wed, 24 Jul 2019 08:57:04 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dannym@HIDDEN>) id 1hqGpJ-0007Bi-Fh
 for bug-guix@HIDDEN; Wed, 24 Jul 2019 08:57:03 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:40564)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dannym@HIDDEN>)
 id 1hqGpJ-0007Ar-96
 for bug-guix@HIDDEN; Wed, 24 Jul 2019 08:57:01 -0400
Received: from localhost (77.116.202.81.wireless.dyn.drei.com [77.116.202.81])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 80A913360451;
 Wed, 24 Jul 2019 14:56:57 +0200 (CEST)
Date: Wed, 24 Jul 2019 14:56:52 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: <bug-guix@HIDDEN>, Mathieu Othacehe <m.othacehe@HIDDEN>
Subject: Guix graphical installation failure on all drives with size > 1 TiB
Message-ID: <20190724145558.1d854ed9@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 85.13.145.193
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

using the Guix graphical installation method, one cannot install Guix on a drive
with more than 1 TiB.  (symptom: "null pointer dereference" in mkpart)

The reason is a bug in guile-parted.

An example is to use the "separate /home" option with a 2 TiB disk.

The fix that lets me install is:

(for https://gitlab.com/mothacehe/guile-parted.git master)

diff --git a/parted/unit.scm b/parted/unit.scm
index 6818b7e..68862a8 100644
--- a/parted/unit.scm
+++ b/parted/unit.scm
@@ -147,7 +147,7 @@
                          out-range)))
       (if (return-int->bool result)
           (values (car
-                   (parse-c-struct c-sector (list int)))
+                   (parse-c-struct c-sector (list sector-type)))
                   (pointer->geometry
                    (dereference-pointer out-range)))
           (values #f #f)))))

However, even after that, disk-print, if used, prints nonsensical (negative)
values for "free" (but installation succeeds).

That bug prevents graphical installation on any drive bigger than 1 TiB.
Let's make a bugfix Guix release shortly.




Acknowledgement sent to Danny Milosavljevic <dannym@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36783; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.