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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Phillip Susi <psusi <at> ubuntu.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#17762: closed (PARTED Bug related to fat32)
Date: Sun, 15 Jun 2014 14:16:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 15 Jun 2014 10:15:14 -0400
with message-id <539DAA72.4010501 <at> ubuntu.com>
and subject line Re: bug#17762: PARTED Bug related to fat32
has caused the debbugs.gnu.org bug report #17762,
regarding PARTED Bug related to fat32
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
17762: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17762
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
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-----


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

Previous Next


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