bug-parted
[Top][All Lists]
Advanced

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

[parted-Bugs][304654] Assertion ((C * heads + H) * sectors + S == A) at


From: parted-bugs
Subject: [parted-Bugs][304654] Assertion ((C * heads + H) * sectors + S == A) at disk_dos.c:617...
Date: Sun, 29 Jul 2007 17:02:12 +0000

Bugs item #304654, was opened at 2007-07-29 17:02
Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Assertion ((C * heads + H) * sectors + S == A) at disk_dos.c:617... 
Category: parted
Group: Version < 1.6.25
Resolution: None


Initial Comment:
I've got a preformatted 1GB USB-Stick. While trying to repartition it I get an 
error message.

"
Using /dev/sda
(parted) print
You found a bug in GNU Parted.
[...]
Your report should contain the version of this release (1.6.24)
[...]
Assertion ((C * heads + H) * sectors + S == A) at disk_dos.c:617 in function
probe_partition_for_geom() failed.
Ignore/Cancel?
"

Here is what other tools say:

"sfdisk /dev/sda
[...]
Disk /dev/sda: 1023 cylinders, 31 heads, 62 sectors/track
Old situation:
Warning: The partition table looks like it was made
  for C/H/S=*/64/32 (instead of 1023/31/62).
For this listing I'll assume that geometry.
Units = cylinders of 1048576 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0+    960-    961-    983280    6  FAT16
                end: (c,h,s) expected (960,15,32) found (768,63,32)
/dev/sda2          0       -       0          0    0  Empty
/dev/sda3          0       -       0          0    0  Empty
/dev/sda4          0       -       0          0    0  Empty
"

"fdisk /dev/sda
Command (m for help): p

Disk /dev/sda: 1007 MB, 1007157248 bytes
64 heads, 32 sectors/track, 960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         961      983280    6  FAT16
Partition 1 has different physical/logical endings:
     phys=(768, 63, 32) logical=(960, 15, 32)

Command (m for help): v
Partition 1 has different physical/logical endings:
     phys=(768, 63, 32) logical=(960, 15, 32)
Partition 1: previous sectors 1966591 disagrees with total 1574911
543 unallocated sectors
"

Greetings!


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

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




reply via email to

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