bug-parted
[Top][All Lists]
Advanced

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

[bug on /dev/sda] Assertion (geom != NULL) at geom.c:100 in function ped


From: Liviu Andronic
Subject: [bug on /dev/sda] Assertion (geom != NULL) at geom.c:100 in function ped_geometry_destroy() failed.
Date: Fri, 16 Jun 2006 16:00:25 +0200

Hello,

These last days I tried to increase the size of my reiserfs partition
and I for this I needed to icrease my extended volume size. If this is
not a bug, do you have any ideas how I could avoid this error? I
recently used Acronis Partition Expert to shrink my ntfs partition.
Cfdisk gives me a plain segfault. Google doesn't say much about this.

Here is the required information for the bug report:

(parted) resize 7 79497363kB 80000000kB
Error: Can't have a partition outside the disk!
You found a bug in GNU Parted.  Please email a bug report to
address@hidden containing the version (1.6.23), and the following
message:

Assertion (geom != NULL) at geom.c:100 in function
ped_geometry_destroy() failed.
Ignore/Cancel? cancel
Error: Unable to satisfy all constraints on the partition.
(parted)

===
(parted) unit kb print
Disk geometry for /dev/sda: 0kB - 80026361kB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       32kB    27110522kB 27110491kB primary   ntfs         boot
2       34628429kB 80023749kB 45395320kB extended
5       34628461kB 39999536kB 5371076kB logical   reiserfs
6       39999569kB 79497331kB 39497762kB logical   fat32
7       79497363kB 80023749kB 526386kB logical   linux-swap
(parted) resize 2 27115522kB 80023749kB
Error: Can't have a partition outside the disk!
Error: Unable to satisfy all constraints on the partition.
You found a bug in GNU Parted.  Please email a bug report to
address@hidden containing the version (1.6.23), and the following
message:

Assertion (geom != NULL) at geom.c:100 in function
ped_geometry_destroy() failed.
Ignore/Cancel? cancel
(parted) parted /dev/sda print unit s print unit chs print
 check NUMBER                  do a simple check on the file system
 cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
 help [COMMAND]                prints general help, or help on COMMAND
 mklabel LABEL-TYPE            create a new disklabel (partition table)
 mkfs NUMBER FS-TYPE           make a FS-TYPE file system on partititon NUMBER
 mkpart PART-TYPE [FS-TYPE] START END     make a partition
 mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
 move NUMBER START END         move partition NUMBER
 name NUMBER NAME              name partition NUMBER as NAME
 print [NUMBER]                display the partition table, or a partition
 quit                          exit program
 rescue START END              rescue a lost partition near START and END
 resize NUMBER START END       resize partition NUMBER and its file system
 rm NUMBER                     delete partition NUMBER
 select DEVICE                 choose the device to edit
 set NUMBER FLAG STATE         change a flag on partition NUMBER
 unit UNIT                     set the default unit to UNIT
 check NUMBER                  do a simple check on the file system
 cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
 help [COMMAND]                prints general help, or help on COMMAND
 mklabel LABEL-TYPE            create a new disklabel (partition table)
 mkfs NUMBER FS-TYPE           make a FS-TYPE file system on partititon NUMBER
 mkpart PART-TYPE [FS-TYPE] START END     make a partition
 mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
 move NUMBER START END         move partition NUMBER
 name NUMBER NAME              name partition NUMBER as NAME
 print [NUMBER]                display the partition table, or a partition
 quit                          exit program
 rescue START END              rescue a lost partition near START and END
 resize NUMBER START END       resize partition NUMBER and its file system
 rm NUMBER                     delete partition NUMBER
 select DEVICE                 choose the device to edit
 set NUMBER FLAG STATE         change a flag on partition NUMBER
 unit UNIT                     set the default unit to UNIT
Disk geometry for /dev/sda: 0kB - 80026361kB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       32kB    27110522kB 27110491kB primary   ntfs         boot
2       34628429kB 80023749kB 45395320kB extended
5       34628461kB 39999536kB 5371076kB logical   reiserfs
6       39999569kB 79497331kB 39497762kB logical   fat32
7       79497363kB 80023749kB 526386kB logical   linux-swap
Disk geometry for /dev/sda: 0s - 156301487s
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       63s     52950239s 52950177s primary   ntfs         boot
2       67633650s 156296384s 88662735s extended
5       67633713s 78124094s 10490382s logical   reiserfs
6       78124158s 155268224s 77144067s logical   fat32
7       155268288s 156296384s 1028097s logical   linux-swap
Disk geometry for /dev/sda: 0,0,0 - 9729,80,62
BIOS cylinder,head,sector geometry: 9729,255,63.  Each cylinder is 8225kB.
Disk label type: msdos
Number  Start       End         Type      File system  Flags
1       0,1,0       3295,254,62 primary   ntfs         boot
2       4210,0,0    9728,254,62 extended
5       4210,1,0    4862,254,62 logical   reiserfs
6       4863,1,0    9664,254,62 logical   fat32
7       9665,1,0    9728,254,62 logical   linux-swap
(parted)

===
(parted) unit mb print
Disk geometry for /dev/sda: 0MB - 80026MB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       0MB     27111MB 27110MB primary   ntfs         boot
2       34628MB 80024MB 45395MB extended
5       34628MB 40000MB 5371MB  logical   reiserfs
6       40000MB 79497MB 39498MB logical   fat32
7       79497MB 80024MB 526MB   logical   linux-swap
(parted) resize 2 27115MB 80024MB
Error: Can't have a partition outside the disk!
Error: Unable to satisfy all constraints on the partition.
You found a bug in GNU Parted.  Please email a bug report to
address@hidden containing the version (1.6.23), and the following
message:

Assertion (geom != NULL) at geom.c:100 in function
ped_geometry_destroy() failed.
Ignore/Cancel? cancel
(parted) parted /dev/hda print unit s print unit chs print
 check NUMBER                  do a simple check on the file system
 cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
 help [COMMAND]                prints general help, or help on COMMAND
 mklabel LABEL-TYPE            create a new disklabel (partition table)
 mkfs NUMBER FS-TYPE           make a FS-TYPE file system on partititon NUMBER
 mkpart PART-TYPE [FS-TYPE] START END     make a partition
 mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
 move NUMBER START END         move partition NUMBER
 name NUMBER NAME              name partition NUMBER as NAME
 print [NUMBER]                display the partition table, or a partition
 quit                          exit program
 rescue START END              rescue a lost partition near START and END
 resize NUMBER START END       resize partition NUMBER and its file system
 rm NUMBER                     delete partition NUMBER
 select DEVICE                 choose the device to edit
 set NUMBER FLAG STATE         change a flag on partition NUMBER
 unit UNIT                     set the default unit to UNIT
 check NUMBER                  do a simple check on the file system
 cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
 help [COMMAND]                prints general help, or help on COMMAND
 mklabel LABEL-TYPE            create a new disklabel (partition table)
 mkfs NUMBER FS-TYPE           make a FS-TYPE file system on partititon NUMBER
 mkpart PART-TYPE [FS-TYPE] START END     make a partition
 mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
 move NUMBER START END         move partition NUMBER
 name NUMBER NAME              name partition NUMBER as NAME
 print [NUMBER]                display the partition table, or a partition
 quit                          exit program
 rescue START END              rescue a lost partition near START and END
 resize NUMBER START END       resize partition NUMBER and its file system
 rm NUMBER                     delete partition NUMBER
 select DEVICE                 choose the device to edit
 set NUMBER FLAG STATE         change a flag on partition NUMBER
 unit UNIT                     set the default unit to UNIT
Disk geometry for /dev/sda: 0,0,0 - 9729,80,62
BIOS cylinder,head,sector geometry: 9729,255,63.  Each cylinder is 8225kB.
Disk label type: msdos
Number  Start       End         Type      File system  Flags
1       0,1,0       3295,254,62 primary   ntfs         boot
2       4210,0,0    9728,254,62 extended
5       4210,1,0    4862,254,62 logical   reiserfs
6       4863,1,0    9664,254,62 logical   fat32
7       9665,1,0    9728,254,62 logical   linux-swap
Disk geometry for /dev/sda: 0s - 156301487s
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       63s     52950239s 52950177s primary   ntfs         boot
2       67633650s 156296384s 88662735s extended
5       67633713s 78124094s 10490382s logical   reiserfs
6       78124158s 155268224s 77144067s logical   fat32
7       155268288s 156296384s 1028097s logical   linux-swap
Disk geometry for /dev/sda: 0,0,0 - 9729,80,62
BIOS cylinder,head,sector geometry: 9729,255,63.  Each cylinder is 8225kB.
Disk label type: msdos
Number  Start       End         Type      File system  Flags
1       0,1,0       3295,254,62 primary   ntfs         boot
2       4210,0,0    9728,254,62 extended
5       4210,1,0    4862,254,62 logical   reiserfs
6       4863,1,0    9664,254,62 logical   fat32
7       9665,1,0    9728,254,62 logical   linux-swap
(parted)

address@hidden shell]# cfdisk /dev/sda
Segmentation fault





--
Liviu




reply via email to

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