X-Loop: help-debbugs@HIDDEN Subject: bug#24930: Parted fails after reordering of partitions with fdisk Resent-From: "Hans Peter =?UTF-8?Q?W=C3=BCrmli?=" <h.p.wuermli@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Sat, 12 Nov 2016 18:03:01 +0000 Resent-Message-ID: <handler.24930.B.14789737264889 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 24930 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 24930 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14789737264889 (code B ref -1); Sat, 12 Nov 2016 18:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2016 18:02:06 +0000 Received: from localhost ([127.0.0.1]:55113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c5ccw-0001Gl-6J for submit <at> debbugs.gnu.org; Sat, 12 Nov 2016 13:02:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <h.p.wuermli@HIDDEN>) id 1c5V1w-0003nf-9g for submit <at> debbugs.gnu.org; Sat, 12 Nov 2016 04:55:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <h.p.wuermli@HIDDEN>) id 1c5V1q-0004Qi-4b for submit <at> debbugs.gnu.org; Sat, 12 Nov 2016 04:55:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <h.p.wuermli@HIDDEN>) id 1c5V1q-0004Qe-0k for submit <at> debbugs.gnu.org; Sat, 12 Nov 2016 04:55:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <h.p.wuermli@HIDDEN>) id 1c5V1o-0002LT-Q9 for bug-parted@HIDDEN; Sat, 12 Nov 2016 04:55:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <h.p.wuermli@HIDDEN>) id 1c5V1k-0004Q6-Uj for bug-parted@HIDDEN; Sat, 12 Nov 2016 04:55:16 -0500 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:37080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <h.p.wuermli@HIDDEN>) id 1c5V1k-0004Q2-N9 for bug-parted@HIDDEN; Sat, 12 Nov 2016 04:55:12 -0500 Received: by mail-wm0-x234.google.com with SMTP id t79so18623004wmt.0 for <bug-parted@HIDDEN>; Sat, 12 Nov 2016 01:55:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:subject:to:date:mime-version; bh=VEf7rY7AT1dDgJ2Pl0C2RlBl0QmsEYyGOT1c6DyY694=; b=fM19OtqGF7FZZtVV6RrKYkt1Nz3qG4ety455jp/9+Eu+bKpBnfxkz3A418YvLiVvQf TnZ3SGrd7t5e3AHFTsqufM5ojxgYXL3xBCcwkq7mrxp7SpiYzC8a087iIg/QeCnjMGAT ZfM5Jl/MJiXY3fKcg6gk1vd9cR2dQGMkWgAUzsuOE8lDczikBtiWIKzz4hsrSrHBM2vH JBAnl4KRKFF3F6F/sFlQ8wBycsLZetLH7gVpxscbr4TlhVA9WZISRJidyI7PbGZ/uWMe LAK6nmpd06KuUWwmdMi5ZdzI8vRNwZ+fO1u21mxallEo714DJMYcY+azOt+y/X8VtLkm tesg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:subject:to:date:mime-version; bh=VEf7rY7AT1dDgJ2Pl0C2RlBl0QmsEYyGOT1c6DyY694=; b=WhClW10C7KKR8Tc6s8qO390XUQEwFuLUX6PIcloxbl20UHs3OwwcXf65c9JMD7PpoY SpMhxFEutPO2z1FhOm6keEITs1N/pP4iQTuuFvBeP444xionc6BRopL6pSq1Zc4VKeug k7mC1SnB7MpQp89/ZO2YyzAFfFy80u1SDqriNy0CAK/+MLUaTZ31j2nDmATc5Idx2W/a NbZVoLtEZ2sKE8zSx4ZSgl+JScxKdiY23mxQcLv19vHiEScreJl/J8lC8sOFYSU3r1g4 0+vaYFaAYi4EIVPibS7lhvu0LfOxJYfldDJeHJ3r7dvjHdS4ROPrF7gMaKRjQyS95zxT 7S7A== X-Gm-Message-State: ABUngvfGzx4//bdpSRr1nYAYxv3O/d+w0ooEnPeQztj0AGZJgH6GZj/YOJ3LxNx4ogTalw== X-Received: by 10.28.131.1 with SMTP id f1mr2165855wmd.43.1478944511021; Sat, 12 Nov 2016 01:55:11 -0800 (PST) Received: from noah-nofen2.fritz.box (178-83-153-40.dynamic.hispeed.ch. [178.83.153.40]) by smtp.gmail.com with ESMTPSA id s133sm23636594wmd.19.2016.11.12.01.55.10 for <bug-parted@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 Nov 2016 01:55:10 -0800 (PST) From: "Hans Peter =?UTF-8?Q?W=C3=BCrmli?=" <h.p.wuermli@HIDDEN> X-Google-Original-From: Hans Peter =?UTF-8?Q?W=C3=BCrmli?= <H.P.Wuermli@HIDDEN> Message-ID: <1478944509.3692.1.camel@HIDDEN> Date: Sat, 12 Nov 2016 10:55:09 +0100 Content-Type: multipart/alternative; boundary="=-Cul3YjPFVO65j6LPqlDv" X-Mailer: Evolution 3.22.1-2 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Sat, 12 Nov 2016 13:02:05 -0500 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: -4.0 (----) --=-Cul3YjPFVO65j6LPqlDv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit My system is Debian testing and kernel version "Linux version 4.7.0-1- amd64 (debian-kernel@HIDDEN) (gcc version 5.4.1 20160904 (Debian 5.4.1-2) ) #1 SMP Debian 4.7.8-1 (2016-10-19)". GNU Parted has version 3.2. I reordered partitions to their natural order using fdisk. After rebooting and using gparted (or parted) I get an error with message "Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed". "partprobe /dev/sda" tells me that "A bug has been detected in GNU Parted...Please email a bug report to bug-parted@HIDDEN", which I am dutifully doing. Kind regards Hans Peter --=-Cul3YjPFVO65j6LPqlDv Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit <html><head></head><body><div><br></div><div>My system is Debian testing and kernel version "Linux version 4.7.0-1-amd64 (<a href="mailto:debian-kernel@HIDDEN">debian-kernel@HIDDEN</a>) (gcc version 5.4.1 20160904 (Debian 5.4.1-2) ) #1 SMP Debian 4.7.8-1 (2016-10-19)". </div><div><br></div><div>GNU Parted has version 3.2.</div><div><br></div><div>I reordered partitions to their natural order using fdisk. After rebooting and using gparted (or parted) I get an error with message "Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed".</div><div><br></div><div>"partprobe /dev/sda" tells me that "A bug has been detected in GNU Parted...Please email a bug report to <a href="mailto:bug-parted@HIDDEN">bug-parted@HIDDEN</a>", which I am dutifully doing.</div><div><br></div><div>Kind regards</div><div><br></div><div>Hans Peter</div></body></html> --=-Cul3YjPFVO65j6LPqlDv--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Hans Peter =?UTF-8?Q?W=C3=BCrmli?=" <h.p.wuermli@HIDDEN> Subject: bug#24930: Acknowledgement (Parted fails after reordering of partitions with fdisk) Message-ID: <handler.24930.B.14789737264889.ack <at> debbugs.gnu.org> References: <1478944509.3692.1.camel@HIDDEN> X-Gnu-PR-Message: ack 24930 X-Gnu-PR-Package: parted Reply-To: 24930 <at> debbugs.gnu.org Date: Sat, 12 Nov 2016 18:03:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 24930 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 24930: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24930 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#24930: Parted fails after reordering of partitions with fdisk Resent-From: Phil Susi <psusi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 19 Apr 2017 13:28:01 +0000 Resent-Message-ID: <handler.24930.B24930.149260845431349 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24930 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Hans Peter =?UTF-8?Q?W=C3=BCrmli?= <h.p.wuermli@HIDDEN>, 24930 <at> debbugs.gnu.org Received: via spool by 24930-submit <at> debbugs.gnu.org id=B24930.149260845431349 (code B ref 24930); Wed, 19 Apr 2017 13:28:01 +0000 Received: (at 24930) by debbugs.gnu.org; 19 Apr 2017 13:27:34 +0000 Received: from localhost ([127.0.0.1]:55718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1d0pdt-00089Y-Ni for submit <at> debbugs.gnu.org; Wed, 19 Apr 2017 09:27:33 -0400 Received: from mail-ua0-f177.google.com ([209.85.217.177]:34064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <phillsusi@HIDDEN>) id 1d0pdr-00089J-R9 for 24930 <at> debbugs.gnu.org; Wed, 19 Apr 2017 09:27:32 -0400 Received: by mail-ua0-f177.google.com with SMTP id h2so16229631uaa.1 for <24930 <at> debbugs.gnu.org>; Wed, 19 Apr 2017 06:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=wZmpfql3GZwM+GyE7U7D+hrsjkZ++uKcsyjxn95eip0=; b=G1xsIUUxINn8XOJVkigSkFdgbOpkMpObpZIRWVvP0irboAJDPPAJn7X15hhykk5Y6E Y1r2XcWtTlWK0wFzwksXvs8RsdF3dJOZHGfPHdmavw9v3seckmVN4r3i+IMEg2gBMpLw RgPy8VvnQcUtaO9B+tfPCUgh/RCjuRdWpudlwvs6RK7QhrvaxW19FhsmvjwQ9ck110OK bvnhAlvQK6wU+kEa6xXCBz1nSxSmMWdtq3A4F4pbfqeqbqZ/daA7IeYxELa8VOaYKS4S WP6XXhnQWLQa7eDs+Sz+XnKJa+5l8pNm61r/xe0ShDmmDINLDhW+b2hTEJ51Kit/urky I+DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=wZmpfql3GZwM+GyE7U7D+hrsjkZ++uKcsyjxn95eip0=; b=BZV9EuDwF1rrYklTA4fYNiQqcnMMA/0qSL3fPTqvVVTEFyOUZY9HvD54UHAEi7kzD5 Qmlyxlb06/kVmmYVZrdTGPUS7GzjfxutOOE5QWWzV/so8tWUDf8b7+5mQZF4PGeyANAH OLzp3OBm53Ig7Z6Awebio6vIPUsdat/FlONFhsbcBzj8h8jlVdO0JWV77k5X1UlhYfk/ JlL/c2Lf97TVNbdAxSthc4WzC7M3ljkSRoR78l3n6e0NhJXQ5pEHEWgZdjvKAO+hTngq HTdCSFIQqafHr9lhjrEFPm8bcBpEejH9bjpeDWBV9PZRKxD5wSnne7rIWahGpTYl5dVt QWgg== X-Gm-Message-State: AN3rC/5uyYqOLJq1j/Kvc5FDON83SmwPZQi8cUFJSGw30Qt60ke+7wNE zjxh8pBgb1nDEVGki2k= X-Received: by 10.159.52.198 with SMTP id b6mr1120059uac.155.1492608446278; Wed, 19 Apr 2017 06:27:26 -0700 (PDT) Received: from [10.1.1.184] (fl-67-77-88-12.sta.embarqhsd.net. [67.77.88.12]) by smtp.googlemail.com with ESMTPSA id 89sm99114vkq.31.2017.04.19.06.27.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 06:27:25 -0700 (PDT) References: <1478944509.3692.1.camel@HIDDEN> From: Phil Susi <psusi@HIDDEN> Message-ID: <2b6c336a-b43c-1078-1f78-3855b542490b@HIDDEN> Date: Wed, 19 Apr 2017 09:29:08 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1478944509.3692.1.camel@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) 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: 0.2 (/) On 11/12/2016 4:55 AM, Hans Peter Würmli wrote: > > My system is Debian testing and kernel version "Linux version 4.7.0-1- > amd64 (debian-kernel@HIDDEN) (gcc version 5.4.1 20160904 > (Debian 5.4.1-2) ) #1 SMP Debian 4.7.8-1 (2016-10-19)". > > GNU Parted has version 3.2. > > I reordered partitions to their natural order using fdisk. After > rebooting and using gparted (or parted) I get an error with > message "Assertion (metadata_length > 0) at > ../../../libparted/labels/dos.c:2313 in function > add_logical_part_metadata() failed". Finally, a clue as to how people are having this happen. I have no idea why fdisk has that option or why anyone would ever use it, but it seems like that is the culprit for ending up with these goofy partition tables. Please provide the output of fdisk -l, as well as dd if=/dev/sda count=1 | hd.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.