bug-parted
[Top][All Lists]
Advanced

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

Unusual head_size in 1.6.23?


From: Michael Flaster
Subject: Unusual head_size in 1.6.23?
Date: Fri, 07 Oct 2005 23:17:23 -0400
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Assertion (head_size <= 63) at disk_dos.c:584 in function
probe_partition_for_geom() failed.

I added some print statements before the assertion failure:
printf("head_size is %lld, from h %lld, H %lld, a_ %lld, c %lld, cyl_size %lld\n",
          head_size, h, H, a_, c, cyl_size);

and it printed:
head_size is 63, from h 1, H 254, a_ 63, c 0, cyl_size 16065
head_size is 573, from h 1, H 254, a_ 8193213, c 510, cyl_size 16064
(assertion failure)

I checked the computer's math, 573 is the right number from those other values... :-)

This is with parted GNU Parted 1.6.23.

You probably want some other info about my disk, not exactly sure what to give you.

I can tell you that parted 1.6.21 seemed to work:
address@hidden parted-1.6.23]# /usr/sbin/parted.old
GNU Parted 1.6.21
Copyright (C) 1998 - 2004 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
Disk geometry for /dev/hda: 0.000-43979.414 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   4000.561  primary   fat32       boot
2 4000.562 43974.799 extended 5 4000.592 7499.091 logical ext2 6 12197.821 16582.719 logical ext3 7 19845.954 22003.088 logical fat32 10 22003.119 22254.104 logical linux-swap 8 23893.581 23987.680 logical ext2 9 23987.711 43974.799 logical ext3 (parted) quit

address@hidden parted-1.6.23]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5              3526172   2305476   1041576  69% /
/dev/hda9              5763616   4323236   1147600  80% /backup
/dev/hda6              4419512    853248   3566264  20% /home
/dev/hda1              4088532    883588   3204944  22% /mnt/win_c
/dev/hda7              2204572     13292   2191280   1% /mnt/win_d

Mike





reply via email to

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