[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29641: libparted-3.2: bug: The information sector has the wrong sign

From: Andreas Abel
Subject: bug#29641: libparted-3.2: bug: The information sector has the wrong signature (0).
Date: Mon, 11 Dec 2017 22:45:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

Hi Phil,

thanks for looking into this.

I am on ubuntu 16.04 LTS. I was not using the LiveCD, just the gparted as available via apt.

I attach the .htm report of GParted when it crashed (it says "Libparted 3.2").
NB: I got the same errors when running fatresize.

How do I find out the exact version of libparted?

According to the changelog files installed in my system (see below), I have two versions

- parted (2.3-19ubuntu1.14.04.1)            (Patch 23 Jul 2015)
- parted (3.2-15) unstable; urgency=medium  (Patch 10 Feb 2016)

Can you find the information you need below?  If not let me know.


On 11.12.2017 20:53, Phil Susi wrote:
On 12/10/2017 4:50 AM, Andreas Abel wrote:
Hello parted team,

gparted has asked me to send a bug report.  I attach a screen shot and
also here is the console output.

Exactly what version of libparted were you using, and where was it
obtained from?  I believe there were some fatfs bugs that have been
fixed since 3.2 was released, and backported into debian/ubuntu/the
gparted livecd, but if you got it from another source that may be missing.

$ uname -a
Linux agda2 4.4.0-103-generic #126-Ubuntu SMP Mon Dec 4 16:23:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


$ apt list gparted
Listing... Done
gparted/xenial,now 0.25.0-1 amd64 [installed]

$ apt list parted
Listing... Done
parted/xenial,now 3.2-15 amd64 [installed,automatic]

$ apt list fatresize
Listing... Done
fatresize/xenial,now 1.0.2-9 amd64 [installed]


$ fatresize -v
fatresize 1.0.2 (01/27/16)


$ locate libparted




parted (3.2-15) unstable; urgency=medium

  * Cherry-pick upstream patch to check DASD geometry more carefully to
    avoid problems with LVM (closes: #814076, LP: #1541510).

 -- Colin Watson <address@hidden>  Wed, 10 Feb 2016 14:26:23 +0000

parted (3.2-14) unstable; urgency=medium

  * Use HTTPS for Vcs-* URLs, and link to cgit rather than gitweb.
  * Build with all hardening options.

 -- Colin Watson <address@hidden>  Wed, 27 Jan 2016 13:24:01 +0000



parted (2.3-19ubuntu1.14.04.1) trusty; urgency=medium

  * debian/patches/dm-512b-sectors.patch: properly support 4k disks.
    (LP: #1441930)

-- Mathieu Trudel-Lapierre <address@hidden> Thu, 23 Jul 2015 12:12:21 -0400

parted (2.3-19ubuntu1) trusty; urgency=medium

  * Upload from Debian git repository to fix a release-critical bug.
  * Fix crash when opening FAT file systems (LP: #1306704).

 -- Colin Watson <address@hidden>  Mon, 14 Apr 2014 11:56:10 +0100

parted (2.3-19) unstable; urgency=medium

  [ Phillip Susi ]
* fat-ntfs-large-sectors.patch: Fix fat and ntfs detection on non 512 byte
    sectors (closes: #743816, LP: #1302762).

 -- Colin Watson <address@hidden>  Tue, 08 Apr 2014 12:55:59 +0100

parted (2.3-18) unstable; urgency=medium

  * Fix LVM handling regressions caused by fix-loop-labels.patch
    (LP: #1300072):
    - Initialise dev->loop in ped_disk_new_fresh rather than ped_disk_new.
    - Temporarily set disk->dev->loop to 0 while removing partitions, so
      that we can remove previously-existing non-loop partitions (thanks,
      Phillip Susi).

 -- Colin Watson <address@hidden>  Wed, 02 Apr 2014 00:01:13 +0100

parted (2.3-17) unstable; urgency=low

  [ Phillip Susi ]
  * avoid-disturbing-partitions.patch: remove all old partitions (that are
not unchanged) first, then add new ones. This avoids an EBUSY trying to
    add new partitions that overlap with old ones that have a higher number
    (closes: #742847, LP: #1220165).
  * fix-loop-labels.patch: Fix loop labels (filesystem on whole disk


Andreas Abel  <><      Du bist der geliebte Mensch.

Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden


GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize

Libparted 3.2

Shrink /dev/sdb1 from 1.36 TiB to 684.36 GiB  00:00:31    ( ERROR )
calibrate /dev/sdb1  00:00:01    ( SUCCESS )
path: /dev/sdb1 (partition)
start: 64
end: 366281983
size: 366281920 (1.36 TiB)
check file system on /dev/sdb1 for errors and (if possible) fix them  00:00:06    ( SUCCESS )
fsck.fat -a -w -v /dev/sdb1  00:00:06    ( SUCCESS )
fsck.fat 3.0.28 (2015-05-16)
Checking we can access the last sector of the filesystem
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
Boot sector contents:
System ID "MSWIN4.1"
Media byte 0xf8 (hard disk)
4096 bytes per logical sector
262144 bytes per cluster
32 reserved sectors
First FAT starts at byte 131072 (sector 32)
2 FATs, 32 bit entries
22892544 bytes per FAT (= 5589 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 45916160 (sector 11210)
5722979 data clusters (1500244606976 bytes)
63 sectors/track, 255 heads
64 hidden sectors
366281920 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
Performing changes.
/dev/sdb1: 24962 files, 813200/5722979 clusters
shrink file system  00:00:24    ( ERROR )
using libparted
libparted messages    ( INFO )
The file system is bigger than its volume!
The information sector has the wrong signature (0). Select cancel for now, and send in a bug report. If you're desperate, it's probably safe to ignore.


Create Primary Partition #1 (ext4, 712.90 GiB) on /dev/sdb


Attachment: changelog.Debian.gz
Description: application/gzip

Attachment: changelog.Debian.gz
Description: application/gzip

Attachment: changelog.Debian.gz
Description: application/gzip

reply via email to

[Prev in Thread] Current Thread [Next in Thread]