Development virtual machine

396 views
Skip to first unread message

Remo Masina

unread,
Feb 4, 2014, 5:10:23 PM2/4/14
to phoeni...@googlegroups.com
Hi

Did somebody already used the virtual machine under Windows?

https://github.com/TauLabs/TauLabs/wiki/Development-virtual-machine

I downloaded the image form the link above and tried to run it with my virtual box (Oracle VM V4.3.6). The problem i can not start the Ubuntu form the VM. There is an issue with the header of the image (invalid pre-header in Taulabs-disk1.vdi). I have Windows 7 32 Bit.

Can someone help me out with this issue? Thought VM would be the best way to get up to speed fast. Maybe it wasn't...

Thank you for your help.  

Giovanni Trentini

unread,
Feb 6, 2014, 2:12:17 AM2/6/14
to phoeni...@googlegroups.com
Same issue to me too. The virtual disk seems to be broken. 

"Opening the HDD file D: \ temp \ TauLabs \ PaxHeader \ TauLabs-disk1.vdi failed. 

The medium 'D: \ temp \ TauLabs \ PaxHeader \ TauLabs-disk1.vdi' can not be used as the requested device type. 

Code 'output: E_FAIL (0x80004005) 
Component: Medium 
Interface: {iMedium 05f2bbb6-a3a6-9b49-4fb9-6d0dda7142ac} 
Caller: {IVirtualBox fafa4e17-1ee2-4905-A10E-fe7c18bf5554} 
RC Caller: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001) "

I use Windows7-64 and VirtualBox 4.3.6.

Guilhermo Santiago

unread,
Feb 6, 2014, 10:11:49 AM2/6/14
to phoeni...@googlegroups.com
I tried downloading the VM again and had no problems using it, make sure there is no file corruption of the download or try using a different file de-compressor.
Make sure your files have the following MD5 sum:

md5sum Copy\ of\ TauLabs.tar.gz 
8e4a1bf2ccf092d3320216b92954b105  Copy of TauLabs.tar.gz

md5sum TauLabs-disk1.vdi 
ca45c3e0ce6edd611f3b45bbf1d47b35  TauLabs-disk1.vdi

I can export to a different format if you still have problems with it.

Remo Masina

unread,
Feb 6, 2014, 9:01:55 PM2/6/14
to phoeni...@googlegroups.com

I get the right md5sum for the downloaded file Copy\ of\ TauLabs.tar.gz but if i unpack it with winrar i have a wrong checksum on the image. The weird thing is also i get two TauLabs-disk1.vdi files. one is in a folder called GNUSparseFile and the other is in a folder called TauLabs-disk1.vdi.
Which program you used for unpacking it?

Giovanni Trentini

unread,
Feb 7, 2014, 2:32:22 AM2/7/14
to phoeni...@googlegroups.com
I've used both 7-Zip and WinRAR, but the MD5SUM check on the virtual disk has failed, digest not match. 
The size of GNUSparseFile\TauLabs-disk1.vdi is 6,742,381,056 bytes. 
The file TauLabs \ PaxHeader\TauLabs-disk1.vd is 213 bytes and is a text file that contains information about the size of the virtual disk and other things.

Guilhermo Santiago

unread,
Feb 7, 2014, 12:28:01 PM2/7/14
to phoeni...@googlegroups.com
GNU Tar
tar --version
tar (GNU tar) 1.26

I'll try to upload the same package in zip format today.

Guilhermo Santiago

unread,
Feb 7, 2014, 6:06:43 PM2/7/14
to phoeni...@googlegroups.com

Remo Masina

unread,
Feb 9, 2014, 8:38:52 AM2/9/14
to phoeni...@googlegroups.com

Thanks a lot! Winrar said the .rar is corrupt but 7zip doesn't show this issue. I unpacked it with both and i looks like it's working. I can boot the system with VM.

Giovanni Trentini

unread,
Feb 10, 2014, 3:28:53 AM2/10/14
to phoeni...@googlegroups.com
Unpacked with 7-Zip, and now everything works fine. 
Many thanks.

thomas....@googlemail.com

unread,
Feb 12, 2014, 1:33:43 PM2/12/14
to phoeni...@googlegroups.com
Hallo Guilhermo,

I installed virtualbox on Linux and Windows but on both environments I had problems to get the usb port working. On windows it worked "sometimes" on linux I didn't get it working  which is not such a big problem because I started openocd on the host (hosting virtual box) and changed the settings for the debugger-openocd  connection.

May be you can offer an VMware image because with VMware I didn't saw such kind of USB problems in the past.

I volunteer to test the VMware image :-)

Some remarks regarding the setting for the quaton board. Within the configuration wrong settings for the debugger and openocd are used (see also  http://fpv-community.de/showthread.php?41863-Quanton-Debug-Problem)

Vinz recomment the follwing settings  for Openocd 

./tools/openocd/bin/openocd -f flight/Project/OpenOCD/stlink-v2-norst.cfg -f flight/Project/OpenOCD/stm32f4xx.stlink.cfg


and for the debugger:

monitor reset halt
file build/fw_quanton/fw_quanton.elf
load
monitor reset halt
and deselect all check boxes within the startup tab

I had a problem with the relative pfad and so I used a absolute one for the elf file . With that the eclipse/openocd/gdb combination worked fine:-)

Thank you and regards
Thomas



Am Samstag, 8. Februar 2014 00:06:43 UTC+1 schrieb Guilhermo Santiago:

Guilhermo Santiago

unread,
Feb 12, 2014, 4:49:21 PM2/12/14
to phoeni...@googlegroups.com
About creating a VMware appliance I can do it but it will take me a couple of days, you can easily do it yourself by exporting to ota from virtualbox and then importing it on VMWare. Check http://www.howtogeek.com/125640/how-to-convert-virtual-machines-between-virtualbox-and-vmware/.
About the usb issues I tested debugging FF3 and CC with an kubuntu 13.10 host and never faced any problems with those vm settings, I did notice timeouts after enabling the more than one processor core on the VM which requires IO APIC enabled.
Regarding the debugging settings for quanton I never tested them, I can have a look at the issue and update the VM, can you describe the differences between the VM and the working settings? (sorry don't have the vm on this machine to have a look)

thomas....@googlemail.com

unread,
Feb 13, 2014, 3:23:03 PM2/13/14
to phoeni...@googlegroups.com
I created and tested a VMware image using the information by http://www.howtogeek.com/125640/how-to-convert-virtual-machines-between-virtualbox-and-vmware/.
Everything is working now also the USB stuff is working even  with 2 our 4 cpu's :-).
 
I made two screenshots showing the config changes for getting openocd and the debugger running also for an quanton board.
 
openocd.jpg
debugging.jpg

thomas....@googlemail.com

unread,
Feb 13, 2014, 3:29:16 PM2/13/14
to phoeni...@googlegroups.com
I forgot to mention that you have to enable the "Accelerate 3D graphics" option in order to get the GCS completly running.  

Guilhermo Santiago

unread,
Feb 13, 2014, 4:53:59 PM2/13/14
to phoeni...@googlegroups.com
Is that a new VM or an export from the one already made?

thomas....@googlemail.com

unread,
Feb 14, 2014, 2:02:54 AM2/14/14
to phoeni...@googlegroups.com

I used the virtual box image posted by you ( http://tinyurl.com/nwfnywe ) and converted it to a VMware image
Reply all
Reply to author
Forward
0 new messages