USB 2.0 speed very slow on DEBIAN VM

Discussions about using Linux guests in VirtualBox.
Post Reply
Dave O'Hara
Posts: 6
Joined: 16. May 2016, 10:19

USB 2.0 speed very slow on DEBIAN VM

Post by Dave O'Hara »

Hi everyone !

I'm experiencing a Debian VM that I use to copy DCP (video format for cinema projectors) from a ntfs formatted External HDD to a ext3 one (DCP servers runs on ext3 formats).
I'm having a troubling slow transfer speed. I'm using a 2.0 USB port (3.0 doesn't work weardly) andwhen copying from the ntfs HDD to the ext3 one, the speed is about 150kB/s, which isn't good (I have almost 80GB to write).
Then I tried copying it on the VM's virtual Disk first, it is better but it is still only almost 5MB/s speed.
I configured my ports on "3.0" in the configuration panel, but no HDD plugged in a 3.0 port can be read.

Do you have any idea on how to speed it up ?/ use the 3.0 ports ?

Thanks a lot !

David
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: USB 2.0 speed very slow on DEBIAN VM

Post by mpack »

Please post a VM log file. With the VM fully shut down, right click it in GUI. Select "Show Log" and save "VBox.log" (ONLY) to a zip file. Attach the zip here.
Dave O'Hara
Posts: 6
Joined: 16. May 2016, 10:19

Re: USB 2.0 speed very slow on DEBIAN VM

Post by Dave O'Hara »

Here it is.
Thanks

EDIT : I see the additions didn't install properly... But I can't install it, it doesn't run
Attachments
DEBIAN-2016-05-16-10-36-47.zip
(21.46 KiB) Downloaded 92 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: USB 2.0 speed very slow on DEBIAN VM

Post by mpack »

VBox.log wrote: 00:00:01.422803 Installed Extension Packs:
00:00:01.422841 None installed!
So in fact you do not have the extension pack installed hence are using USB1.

In answer to your Q, yes USB3 may help, assuming both guest and host support it.

EDIT: the Guest Additions are an entirely separate feature, and not relevant to USB. Install the extension pack (on the host). If this isn't working then give a proper description of the problem.
Dave O'Hara
Posts: 6
Joined: 16. May 2016, 10:19

Re: USB 2.0 speed very slow on DEBIAN VM

Post by Dave O'Hara »

Ok I'm trying again to install it, but for now I'm not able to do it !
Dave O'Hara
Posts: 6
Joined: 16. May 2016, 10:19

Re: USB 2.0 speed very slow on DEBIAN VM

Post by Dave O'Hara »

I really can't install it !
Here is what I tried :

Login as root;
Update your APT database with apt-get update;
Install the latest security updates with apt-get upgrade;
Install required packages with apt-get install build-essential module-assistant; //DOESN'T WORK FOR ME
Configure your system for building kernel modules by running m-a prepare;
Click on Install Guest Additions… from the Devices menu, then run mount /media/cdrom.
Run sh /media/cdrom/VBoxLinuxAdditions.run, and follow the instructions on screen.
and :
apt-get install build-essential dkms gcc linux-headers-`uname -r` //DOESN'T WORK

mkdir /tmp/vboxadd

cp -r /media/cdrom0/* /tmp/vboxadd/

cd /tmp/vboxadd/

./VBoxLinuxAdditions.run

Any other solutions?
Dave O'Hara
Posts: 6
Joined: 16. May 2016, 10:19

Re: USB 2.0 speed very slow on DEBIAN VM

Post by Dave O'Hara »

I installed the extension, it doen't help supporting the 3.0.
And I'm still trying to install the Guest additions, still impossible to install it
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB 2.0 speed very slow on DEBIAN VM

Post by Perryg »

Dave,
The Extension Pack is supposed to be installed on the host and you should post a new guests log file ( as attachment ) so prove it was installed properly.

Next the guest ( Debian ) that you are trying to install the guest additions in has nothing to do with USB working or not. It will make the guest work better and have an improved DT though so follow the suggestion below: These are run from the guests terminal window.

Code: Select all

sudo apt-get install dkms build-essential lunix-headers-$(uname -r)
sudo apt-get update && apt-get upgrade
Then run the guest additions install again.
Watch for error messages in the terminal window and report any that you see.
Dave O'Hara
Posts: 6
Joined: 16. May 2016, 10:19

Re: USB 2.0 speed very slow on DEBIAN VM

Post by Dave O'Hara »

I understand what you wrote, but I can't install it, the installation is aborted (see "error.png" attached)
concerning the terminal commands, when I put the first one it asks me to change disk.... which I don't have (see "disk.png")

Thanks for helping me !
Attachments
Pictures.zip
(152.43 KiB) Downloaded 102 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: USB 2.0 speed very slow on DEBIAN VM

Post by Perryg »

Your pictures are not in English so I can only guess at what they mean because I can not translate screen shots.
I guess you have not configured the guest to use the Internet to update or install missing packages. You will need to fix that before you can install the guest additions.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: USB 2.0 speed very slow on DEBIAN VM

Post by mpack »

Uh... I thought this was a Debian VM, so why am I seeing an error from an attempt to install the Windows Guest Additions?

@Dave O'Hara - Guest Additions are installed in the Guest, i.e. the Debian VM. It is the extension pack which you need to install on the host.

I don't understand how you came to have the VirtualBox Guest Additions available to install on your host. Did you burn the ISO image to a CD or something? Naturally the GAs will not install on the host, because the GAs don't see the required virtual environment.
Post Reply