bug-parted
[Top][All Lists]
Advanced

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

Re: Assertion ((PedSector) PED_LE64_TO_CPU


From: Nick Sinclair
Subject: Re: Assertion ((PedSector) PED_LE64_TO_CPU
Date: Wed, 28 Sep 2011 14:38:28 +1000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20110922 Thunderbird/7.0

thanks,
I am not a C programmer, so all I can give you is the setup.
It might just be that the 3TB drive was not seen correctly as connected to the USB/SATA controller on the following below:
HTH
regards


Linux mercedes 2.6.9-67.0.7.ELsmp #1 SMP Sat Mar 15 06:54:55 EDT 2008 i686 i686 i386 GNU/Linux


usb 1-1: new high speed USB device using address 3
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: ST330006  Model: 51AS              Rev:    
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdc: 1565565872 512-byte hdwr sectors (801570 MB)
sdc: assuming drive cache: write through
SCSI device sdc: 1565565872 512-byte hdwr sectors (801570 MB)
sdc: assuming drive cache: write through
 sdc: unknown partition table
Attached scsi disk sdc at scsi2, channel 0, id 0, lun 0
USB Mass Storage device found at 3
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
VFS: Can't find ext3 filesystem on dev sdc.


On 28/09/2011 2:34 PM, rahul dev wrote:
Hi,
 
   I also saw this failure. This may happen if a disk size has been reduced. In the current code, parted doesn't take care of "disk shrunk" case.
 
If the disk size has been reduced the backup table will be lost. But, if there is sufficient space at the end of disk beyond the last partition, libpared should try to write a backup table at the end.
 
Not, sure how common is the disk shrunk case, but if a disk is a raid disk, I think it is certainly possible to reduce its size.
 
thanks,
rahul
 
From: Nick Sinclair <address@hidden>
To: address@hidden
Sent: Tuesday, 27 September 2011 12:37 PM
Subject: Assertion ((PedSector) PED_LE64_TO_CPU

                                                             
You found a bug in GNU Parted.  Please email a bug report to address@hidden containing the version (1.6.19), and the following message:

Assertion ((PedSector) PED_LE64_TO_CPU (gpt.AlternateLBA) <= disk->dev->length - 1) at disk_gpt.c:621 in function gpt_read() failed.

                              
--


"C9H13N"

_______________________________________________
bug-parted mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-parted




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.449 / Virus Database: 271.1.1/3921 - Release Date: 09/26/11 18:35:00


--


"C9H13N"

Attachment: nick.vcf
Description: Vcard


reply via email to

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