bug-parted
[Top][All Lists]
Advanced

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

Failures trying to resize an SD card partition


From: Ben Webster
Subject: Failures trying to resize an SD card partition
Date: Wed, 11 Oct 2006 14:07:17 +0100
User-agent: KMail/1.9.4

I was trying to resize the last partition on an SD card. I've copied and 
pasted the output of the recommended line, and also the input/output from the 
failed session itself:


parted /dev/sdb print unit s print unit chs print

Disk /dev/sdb: 512MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Disk /dev/sdb: 1000447s
Sector size (logical/physical): 512B/512B
Partition Table: msdos


From the actual failed session:


Disk /dev/sdb: 1953,15,31
Sector size (logical/physical): 512B/512B
BIOS cylinder,head,sector geometry: 1954,16,32.  Each cylinder is 262kB.
Partition Table: msdos

Number  Start   End        Type     File system  Flags
 1      0,1,0   5,15,31    primary
 2      6,0,0   9,15,31    primary  ext2
 3      19,0,0  952,15,31  primary  ext2

Information: Don't forget to update /etc/fstab, if necessary.




(parted) print

Disk /dev/sdb: 512MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      16.4kB  1573kB  1556kB  primary
 2      1573kB  2621kB  1049kB  primary  ext2
 3      4981kB  250MB   245MB   primary  ext2

(parted) resize
Partition number? 3
Start?  [4981kB]?
End?  [250MB]? 500MB
Warning: A resize operation on this file system will use EXPERIMENTAL code
that MAY CORRUPT it (although it hasn't doneso yet
in the past).
You should at least backup your data and run 'e2fsck -f' afterwards.
OK/Cancel? OK


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

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (1.7.1)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and additional information about your setup you consider important.

Assertion (block < EXT2_SUPER_BLOCKS_COUNT(fs->sb)) at
../../../../libparted/fs/ext2/ext2.h:226 in function ext2_is_data_block()
failed.

Ignore/Cancel? Cancel
Warning: Block 246014 shouldn't have been marked (0, 0)!


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

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (1.7.1)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and additional information about your setup you consider important.

Assertion (block < EXT2_SUPER_BLOCKS_COUNT(fs->sb)) at
../../../../libparted/fs/ext2/ext2.h:226 in function ext2_is_data_block()
failed.

Ignore/Cancel?
Ignore/Cancel? cancel
Warning: Block 246015 shouldn't have been marked (0, 0)!


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

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (1.7.1)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and additional information about your setup you consider important.

Assertion (block < EXT2_SUPER_BLOCKS_COUNT(fs->sb)) at
../../../../libparted/fs/ext2/ext2.h:226 in function ext2_is_data_block()
failed.

Ignore/Cancel? c
Warning: Block 246016 shouldn't have been marked (0, 0)!
Error: Attempt to read sectors -2--1 outside of partition on /dev/sdb.
Ignore/Cancel? c


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

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (1.7.1)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and additional information about your setup you consider important.

Error: SEGV_MAPERR (Address not mapped to object)Aborted




reply via email to

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