GNU bug report logs - #17762
PARTED Bug related to fat32

Previous Next

Package: parted;

Reported by: "dimonik, dimonik" <dimonik <at> letiko.com>

Date: Thu, 12 Jun 2014 15:38:02 UTC

Severity: normal

Done: Phillip Susi <psusi <at> ubuntu.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17762 in the body.
You can then email your comments to 17762 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#17762; Package parted. (Thu, 12 Jun 2014 15:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "dimonik, dimonik" <dimonik <at> letiko.com>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Thu, 12 Jun 2014 15:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "dimonik, dimonik" <dimonik <at> letiko.com>
To: bug-parted <at> gnu.org, submit <at> bugs.debian.org
Subject: PARTED Bug related to fat32
Date: Thu, 12 Jun 2014 14:13:19 +0000
[Message part 1 (text/plain, inline)]
Hello, it seems i found a bug :)

Package: parted

Version 2.3-20

OS:
Linux 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux

VERSION
$ apt-cache policy parted
parted:
  Installed: 2.3-20
  Candidate: 2.3-20
  Version table:
 *** 2.3-20 0
        500 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status



PROBLEM OUTPUT:

(parted) print
Model: pqi IntelligentStick (scsi)
Disk /dev/sdc: 4041MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  4041MB  4041MB  primary  fat32        boot

(parted)
(parted)
(parted)
(parted) mkfs 1 fat32
WARNING: you are attempting to use parted to operate on (mkfs) a file
system.
parted's file system manipulation code is not as robust as what you'll find
in
dedicated, file-system-specific packages like e2fsprogs.  We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Warning: The existing file system will be destroyed and all data on the
partition will be lost. Do you
want to continue?
parted: invalid token: 1
Yes/No? Y
Partition number? 1
File system type?  [ext2]? fat32
Backtrace has 9 calls on stack:
  9: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7f77bbac81a1]
  8: /lib/x86_64-linux-gnu/libparted.so.0(+0x299b3) [0x7f77bbade9b3]
  7: /lib/x86_64-linux-gnu/libparted.so.0(fat_create+0x189) [0x7f77bbae1c39]
  6: /lib/x86_64-linux-gnu/libparted.so.0(ped_file_system_create+0x51)
[0x7f77bbac9be1]
  5: parted() [0x4083b1]
  4: parted(interactive_mode+0x101) [0x40db71]
  3: parted(main+0x153d) [0x4065bd]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7f77bb2b9b45]
  1: parted() [0x406617]


You found a bug in GNU Parted! Here's what you have to do:

...

Assertion (bs != NULL) at ../../../../libparted/fs/fat/bootsector.c:282 in
function
fat_boot_sector_set_boot_code() failed.



ADDITIONAL INFO

----------------
(parted) unit co
(parted) print
Model: pqi IntelligentStick (scsi)
Disk /dev/sdc: 4041MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  4041MB  4041MB  primary               boot
----------------
(parted) unit s
(parted) print
Model: pqi IntelligentStick (scsi)
Disk /dev/sdc: 7892992s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End       Size      Type     File system  Flags
 1      63s    7892991s  7892929s  primary               boot

----------------
[Message part 2 (text/html, inline)]

Information forwarded to bug-parted <at> gnu.org:
bug#17762; Package parted. (Fri, 13 Jun 2014 15:25:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: bug-parted <at> gnu.org
Subject: Re: bug#17762: PARTED Bug related to fat32
Date: Fri, 13 Jun 2014 08:23:24 -0700
On Thu, Jun 12, 2014 at 02:13:19PM +0000, dimonik, dimonik wrote:
> Hello, it seems i found a bug :)
> 
> Package: parted
> 
> Version 2.3-20

> (parted) mkfs 1 fat32
> WARNING: you are attempting to use parted to operate on (mkfs) a file
> system.
> parted's file system manipulation code is not as robust as what you'll find
> in
> dedicated, file-system-specific packages like e2fsprogs.  We recommend
> you use parted only to manipulate partition tables, whenever possible.
> Support for performing most operations on most types of file systems
> will be removed in an upcoming release.

This version is no longer supported, and as it says, filesystem support
has been dropped.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)




Reply sent to Phillip Susi <psusi <at> ubuntu.com>:
You have taken responsibility. (Sun, 15 Jun 2014 14:16:02 GMT) Full text and rfc822 format available.

Notification sent to "dimonik, dimonik" <dimonik <at> letiko.com>:
bug acknowledged by developer. (Sun, 15 Jun 2014 14:16:03 GMT) Full text and rfc822 format available.

Message #13 received at 17762-done <at> debbugs.gnu.org (full text, mbox):

From: Phillip Susi <psusi <at> ubuntu.com>
To: "dimonik, dimonik" <dimonik <at> letiko.com>, 17762-done <at> debbugs.gnu.org
Subject: Re: bug#17762: PARTED Bug related to fat32
Date: Sun, 15 Jun 2014 10:15:14 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 06/12/2014 10:13 AM, dimonik, dimonik wrote:
> Hello, it seems i found a bug :)
> 
> Package: parted
> 
> Version 2.3-20
> 
> OS: Linux 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64
> GNU/Linux
> 
> VERSION $ apt-cache policy parted parted: Installed: 2.3-20 
> Candidate: 2.3-20 Version table: *** 2.3-20 0 500
> http://ftp.de.debian.org/debian/ jessie/main amd64 Packages 100
> /var/lib/dpkg/status

Version 2.3 is ancient and no longer supported upstream.  Also all
filesystem manipulation code was removed in parted 3.0.  You should do
as the warning message suggested and use mkdosfs instead of parted to
format the filesystem, or report this to debian.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTnapyAAoJEI5FoCIzSKrwuNEH/3i/qQfj3DHpd5hUG4tUXzGs
zfXbObHS+bVENrkrciXFKP8Vyh2tmPv+ZM3rdVB+vETkHnIxFyn8nvQ9Lodcmfyz
3MUfdlqsYhoaDK99rWDVS0+KsRhOwzbpl0zGSSfe9BeQHmCEPWV5jrikimX+vVka
Zc3eROt6Pux49LuVDKziagbzckCj8N9ERGr9MqdAh2yI2wCSyoSvset2dLtZeeON
8zuYERqYjLzdXOxZtgyWFWOmBuDfhDuXPVkeVieFUMj/hl/0QbC2Rt+p+kObWd6V
6eIh2LkaZrR20ldpehjt3fbxbY/tBnvB1r0/4zxIVSCTk73XHrMfk3cFWuUPmEM=
=mY1L
-----END PGP SIGNATURE-----




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 14 Jul 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 344 days ago.

Previous Next


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