I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing.

Hans Petter Selasky hps at selasky.org
Fri Feb 10 08:43:57 UTC 2017


On 02/09/17 21:05, Jakub Lach wrote:
> For some reason, samsung/jmicron one is prone to disconnecting
> itself, which could explain some errors, as in usbdump.
>
> However, under GENERIC, I was able to use dump twice time
> on touro s without problems (4h+ of disk writes).
>
> _BUT_ as soon as I've returned to my usual kernel config, the
> problem reappeared.
>
> http://pastebin.ca/3765981
>
> So I blame kernel config now. Is it possible that usb related modules
> behave differently than in kernel default ones?
>

Hi,

What options are different between these two kernel configurations?

There is also:
hw.usb.umass.throttle

to throttle USB UMASS traffic.

--HPS


More information about the freebsd-usb mailing list