Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 2014 14:03:36 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Aurelien Martin <01aurelien@gmail.com>, freebsd-usb@freebsd.org
Subject:   Re: g_vfs_done() error=5 USB disk on raspberrypi. Decrease the speed of USB
Message-ID:  <545CC328.4070006@selasky.org>
In-Reply-To: <CAFGQ1grt0o=tADUf44Omyogn3agXeYkQjo_=T6zCcg3=k9SjCA@mail.gmail.com>
References:  <CAFGQ1grt0o=tADUf44Omyogn3agXeYkQjo_=T6zCcg3=k9SjCA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/07/14 13:25, Aurelien Martin wrote:
> Dear all,
>
> My raspberry-pi is crashing in g_vfs_done error 5 () when I'm trying to
> copy data from the rpi (with dd) to my USB drive on UFS2
> I can notice a high %system load ~100% on the rpi before the crash
>
> Apparently people succeed to "fix it" by decreasing the speed of the USB
> bus with sysctl hw.usb.ehci.no_hs = 1
>
> But in my case I cannot set this sysctl. And I didn't succeed to fix it
> with camcontrol
>
> Can you guide me on my investigation to decrease the speed of USB ?
>

Hi,

If you connect your USB device through an external full speed USB HUB, 
it will go full speed.

It is possible to make all RPI-B devices enumerate at full speed too, 
but then you will have decreased network performance.

Is you external USB device known to be buggy?

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?545CC328.4070006>