[parted-devel] Error initialising SCSI device /dev/sda - Invalid argument and parted: double free or corruption (out)

Rudy Gevaert rudy.gevaert at ugent.be
Wed Dec 16 08:57:31 UTC 2009



(I tried report a bugthrough the website but this message gets  
rejected as 'potential' spam :().  Mail to bug-parted at gnu.org doesn't  
seem to show up in archives)

Hello,

I'm using FAI to automatically install machines.  I'm getting the  
above parted error in the following situation.

FAI is run in a Xen domU calling parted on a LVM volume.  I also get  
this error when parted is called on a iscsi lun.  In both cases the  
lun is given to the virtual machine as a the device '/dev/sda'.

I have this problem with versions 1.8.8.git.2008.03.24-11.1 and 1.9.0.

(Please, notice the -s option)

root at shibidp1:/# parted -s /dev/sda unit TiB print
Error: Error initialising SCSI device /dev/sda - Invalid argument

(Please, notice that the -s option is not given)

root at shibidp1:/# parted /dev/sda unit TiB print
Error: Error initialising SCSI device /dev/sda - Invalid argument
Ignore/Cancel? I
Model: (null) (scsi)
Disk /dev/sda: 0.01TiB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start    End      Size     Type     File system  Flags
  1      0.00TiB  0.01TiB  0.01TiB  primary               boot
  2      0.01TiB  0.01TiB  0.00TiB  primary


If I then quiet parted I get
*** glibc detected *** parted: double free or corruption (out):  
0x00007efff7afcab0 ***

That is then only with parted 1.8.8.git.2008.03.24-11.1.


So to conclude:
1) In my case, doing things with -s enabled doesn't work (either versions)
2) I get ' double free or corruption ' in the Debian Stable version.

All help would be appreciated as this is blocking the installation of  
virtual machines.

Rudy



-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert at UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



----- Einde doorgestuurd bericht -----


-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert at UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --





More information about the parted-devel mailing list