bug-parted
[Top][All Lists]
Advanced

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

invalid assertion for number of heads in partprobe


From: Phil Howard
Subject: invalid assertion for number of heads in partprobe
Date: Tue, 30 Aug 2011 14:38:57 -0400

The partprobe command failed on Ubuntu 10.10 and also on Slackware
13.37 with a similar device.  The gist of the message suggests it is
applying an assertion of the device geometry number of heads against
the valid 63.  The actual value is 128.  Any value from 1 to 256 is
valid for heads (MS-DOS cannot handle more than 255 heads due to a bug
there, while sectors are the thing that is limited 63). Here is the
situation on Ubuntu which has parted version 2.3:

lorentz/root /root 227# partprobe /dev/sdh
Backtrace has 12 calls on stack:
  12: /lib/libparted.so.0(ped_assert+0x31) [0x7fda3c3125c1]
  11: /lib/libparted.so.0(+0x393b6) [0x7fda3c33d3b6]
  10: /lib/libparted.so.0(+0x39b33) [0x7fda3c33db33]
  9: /lib/libparted.so.0(+0x3a7ed) [0x7fda3c33e7ed]
  8: /lib/libparted.so.0(ped_disk_add_partition+0x1cb) [0x7fda3c318d3b]
  7: /lib/libparted.so.0(+0x3bd34) [0x7fda3c33fd34]
  6: /lib/libparted.so.0(+0x3bf25) [0x7fda3c33ff25]
  5: /lib/libparted.so.0(ped_disk_new+0x75) [0x7fda3c319815]
  4: partprobe() [0x401020]
  3: partprobe(main+0x136) [0x4012c6]
  2: /lib/libc.so.6(__libc_start_main+0xfe) [0x7fda3b2d4d8e]
  1: partprobe() [0x400e19]
A bug has been detected in GNU Parted.  Refer to the web site of
parted http://www.gnu.org/software/parted/parted.html for more
information of what could be useful for bug submitting!  Please email
a bug report to address@hidden containing at least the version
(2.3) and the following message:  Assertion (head_size <= 63) at
../../../libparted/labels/dos.c:662 in function
probe_partition_for_geom() failed.
Aborted
lorentz/root /root 228#

-- 
Phil Howard KA9WGN - address@hidden



reply via email to

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