bug-parted
[Top][All Lists]
Advanced

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

Parted crash on GPT filesystem access


From: 5pin drift
Subject: Parted crash on GPT filesystem access
Date: Mon, 27 Dec 2010 04:30:07 +0300


hello I would like to report a bug:

let me know if any further info is required 

cheers 
5pindrift

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Title
==============
Parted crash on GPT filesystem access

Description 
==============
Attempting to list elements of Fake Raid causes a crash in parted


Environment:
Hardware:
Asus P6T WS / i7 950 / 12GB ddr3
1 WD 160 HDD SATA
    dual boot winsux7 / kubuntu 10.01
5 WD 1TB HDD SATA  Fake RAID5
fake raid enable in bios 
dm-0 = NTFS

    
OS:
kubuntu 10.10 alternate disk install 
data disk array dm-0 (4TB) is NTFS GPT and was formated in winsux7
otherwise completely clean install 

Repro:
==============
attempt to list the partions 
  print list

Backtrace:
------------
(parted) print list
Model: ATA WDC WD1600AAJS-0 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size    Type     File system     Flags
 1      1049kB  105GB  105GB   primary  ntfs
 2      105GB   136GB  31.5GB  primary  ntfs            boot
 3      136GB   151GB  15.0GB  primary  ext3
 4      151GB   160GB  8727MB  primary  linux-swap(v1)
                                                                                           
                                                                                           
Error: Invalid argument during seek for read on /dev/sdb                                   
Retry/Ignore/Cancel? i                                                                     
Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used.  
OK/Cancel? ok                                                                              
Backtrace has 10 calls on stack:                                                           
  10: /lib/libparted.so.0(ped_assert+0x31) [0x7f8248d5c5c1]                                
  9: /lib/libparted.so.0(+0x4016f) [0x7f8248d8e16f]                                        
  8: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f8248d63815]                               
  7: parted() [0x40698e]                                                                   
  6: parted() [0x40778d]                                                                   
  5: parted() [0x406b9e]                                                                   
  4: parted(interactive_mode+0xf3) [0x40db53]                                              
  3: parted(main+0x8f) [0x40ab3f]                                                          
  2: /lib/libc.so.6(__libc_start_main+0xfe) [0x7f8248564d8e]                               
  1: parted() [0x404fa9]
                           

Observed 
=================
parted crashes 


Expected  
=================
parted should list sda[1-4] and raid5 array dm-0

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--
Тесты новейших гаджетов на Hi-tech.Mail.Ru
http://r.mail.ru/cln5823/hi-tech.mail.ru/

reply via email to

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