bug-parted
[Top][All Lists]
Advanced

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

[ parted-Bugs-302665 ] Assertimn (metadata_length > 0) at disk_dos.c:198


From: noreply
Subject: [ parted-Bugs-302665 ] Assertimn (metadata_length > 0) at disk_dos.c:1983 in function Assertimn (metadata_length > 0) at disk_dos.c:1983 in function add]logical]part_metadata() failed.
Date: Tue, 13 Dec 2005 11:04:14 +0000

Bugs item #302665, was opened at 2005-12-07 11:55
You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=410685&aid=302665&group_id=30287

Category: parted
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Assertimn (metadata_length > 0) at disk_dos.c:1983 in function
Assertimn (metadata_length > 0) at disk_dos.c:1983 in function 
add]logical]part_metadata() failed.

Initial Comment:
I had:
   Disk geometry for /dev/hda: 0kB - 20GB
   Disk label type: msdos
   Number  Start   End     Size    Type      File system  Flags
   1       32kB    1579MB  1579MB  primary   fat32        boot, type=0b
   2       1579MB  4195MB  2616MB  primary   ext3         type=83
   3       4195MB  4335MB  140MB   primary   linux-swap   type=82
   4       4335MB  20GB    16GB    extended               lba, type=0f
   5       4335MB  20GB    16GB    logical   fat32        type=0b

I wanted a bigger swap file and tried to create this at the end of my
extended partition of 16GB. 

Firts remove the swap partition (3).
Resize the extended partition (4) so it starts at 4195MB
Resize the logical partition (5) so it starts at 4195MB and ends at 20000MB
Create a swap partition from 20000MB to 20480MB 

In the last step the error came.
Now the swap partition is OK, but the 16GB logical partiton
is not correct.

I have no output of parted the first time the error occured.
Below is a output with the same error when checking 
the disk.

=========================================================================
The output from parted:


GNU Parted 1.6.24
Copyright (C) 1998 - 2005 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/hda
(parted) print                                                            
You found a bug in GNU Parted.  Please email                              
        address@hidden
or (preferably) file a bug report at
        http://parted.alioth.debian.org/bugs/
Your report should contain the version of this release (1.6.24)
along with the following message and preferably
additional information about your setup:

Assertimn (metadata_length > 0) at disk_dos.c:1983 in function
add]logical]part_metadata() failed.
Ignmre/Aancel? a                                                          
Disk geometry for /dev/hda: 0kB - 20GB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       32k@    1579MB  1579MB  primary   fat32        boot, type=0b
2       1579MB  4195MB  2616MB  primary   ext3         type=83
4       4195MB  20GB    16GB    extended               lba, type=0f
5       4195MB  20GB    16GB    logical                type=0b
6       20G@    20GB    480MB   logical   linux-swap   type=82
(parted) check 5
You found a bug in GNU Parted.  Please email                              
        address@hidden
or (preferably) file a bug report at
        http://parted.alioth.debian.org/bugs/
Your report should contain the version of this release (1.6.24)
along with the following message and preferably
additiolal information about your setup:

Assertimn (metadata_length > 0) at disk_dos.c:1983 in function
add]logical]part_metadata() failed.
Ignore/Cancel? c                                                          
Partition number? 5
Error: Could not detect file system.                                      
(parted)                                  


----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2005-12-13 11:04

Message:
Logged In: NO 

Got the a similar error, both with 1.6.24-3, 1.6.24-4, and 1.6.25.1-1 parted 
debian packages.

Message (now with 1.6.25.1-1):
####################
zulu:~# parted /dev/hdb print


You found a bug in GNU Parted.
This may have been fixed in the last version of GNU Parted that you can find at:
        http://ftp.gnu.org/gnu/parted/
If this has not been fixed or if you don't know how to check, please email:
        address@hidden
or (preferably) file a bug report at:
        http://parted.alioth.debian.org/bugs/
Your report should contain the version of this release (1.6.25.1) along with the
following message and preferably additional information about your setup.
Refer to the web site of parted
        http://www.gnu.org/software/parted/parted.html
for more informations of what could be useful for bug submitting!

Assertion (metadata_length > 0) at ../../libparted/disk_dos.c:1965 in function 
add_logical_part_metadata() failed.

Ignore/Cancel? c
####################

Worse than the original report, "Ignore" or "Cancel" will bring back the same 
message, and the only way to exit parted is killing the process from another 
session.

I've searched the web and this seems like a known bug, but it was supposed to 
have been fixed on 1.6.25.

How it happened:
1 - I used 1.6.24 to resize a partition on hdb (hdb6), interactive mode
2 - "print" would work fine so far
3 - after I informed the end position of the partition (48G), I got the error 
message
4 - DANGEROUS: I chose "Cancel", but it went on anyway
5 - When it finished, I did get a working partition, but it looks like the last 
cylinder is overlapping with the first from hdb7:

zulu:~# fdisk -l /dev/hdb

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1      158816    80043232+   5  Extended
/dev/hdb5               1       16254     8191953   83  Linux
/dev/hdb6           16255       92447    38400768   83  Linux
/dev/hdb7           92447       96510     2048224+  83  Linux
/dev/hdb8           96511      102606     3072352+  83  Linux
/dev/hdb9          102607      112702     5088352+  83  Linux
/dev/hdb10         112703      113210      255969   83  Linux
/dev/hdb11         113211      119024     2930256   83  Linux
/dev/hdb12         119025      132782     6934000+  83  Linux
/dev/hdb13         132783      158816    13121104+  83  Linux

It looks like whatever 1.6.24 did, 1.6.25 can't understand either, because 
upgrading didn't help. 

"parted /dev/hda print" works fine; only hdb after being touched by 1.6.24 
can't be used with parted anymore.

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=410685&aid=302665&group_id=30287




reply via email to

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