Raspberry pi 3 crashing

Hi all,

I have a raspberry running the latest version of raspbian and all updates installed.
Created a crontab to run the optimized version of virtualhere for pi3 and a smart meter console cable connected via USB.
On the client side, a Intel NUC is running the latest version of ubuntu server and the virtualhere client.

When first contact is made, the data from my smart meter is available in the NUC, but after a few hours the raspberry crashes.
If I examine the server logs, there are a lot of messages:

Dec 28 00:30:35 pi-dsmr vhusbdarmpi3[392]: Error 22 discarding urb 0x19d2a70 for device /sys/bus/usb/devices/1-1.3, Invalid argument (abort endpoint)
Dec 28 00:30:44 pi-dsmr vhusbdarmpi3[392]: Error 22 discarding urb 0x19d24a0 for device /sys/bus/usb/devices/1-1.3, Invalid argument (abort endpoint)
Dec 28 00:30:45 pi-dsmr vhusbdarmpi3[392]: Error 22 discarding urb 0x19d2b60 for device /sys/bus/usb/devices/1-1.3, Invalid argument (abort endpoint)
Dec 28 00:30:55 pi-dsmr vhusbdarmpi3[392]: Error 22 discarding urb 0x19d2560 for device /sys/bus/usb/devices/1-1.3, Invalid argument (abort endpoint)
Dec 28 00:30:59 pi-dsmr vhusbdarmpi3[392]: Error 22 discarding urb 0x19d24a0 for device /sys/bus/usb/devices/1-1.3, Invalid argument (abort endpoint)
Dec 28 00:31:01 pi-dsmr vhusbdarmpi3[392]: Error 22 discarding urb 0x19d24a0 for device /sys/bus/usb/devices/1-1.3, Invalid argument (abort endpoint)
Dec 28 00:31:02 pi-dsmr vhusbdarmpi3[392]: Error 22 discarding urb 0x19d24e0 for device /sys/bus/usb/devices/1-1.3, Invalid argument (abort endpoint)
Dec 28 00:31:02 pi-dsmr vhusbdarmpi3[392]: Error 22 discarding urb 0x19d2a70 for device /sys/bus/usb/devices/1-1.3, Invalid argument (abort endpoint)

on the client side:

dmesg:
[79425.009831] vhci_hcd: unlink->seqnum 592
[79425.009838] vhci_hcd: urb->status -104
[79425.009969] vhci_hcd: unlink->seqnum 593
[79425.009974] vhci_hcd: urb->status -104
[79431.011075] vhci_hcd: unlink->seqnum 964
[79431.011083] vhci_hcd: urb->status -104
[79431.011295] vhci_hcd: unlink->seqnum 965
[79431.011301] vhci_hcd: urb->status -104

Just to complicate things, the NUC is running docker so the smart meter info is pulled by the docker container.
Any thoughts on keeping it running?

Thanks!!!

#3

Its a pi3, but i think the issue is on the docker end.
If I connect the USB without booting the docker the connection remains stable.
Any advice? :)

#4

No it must be in docker its probably not passing through correctly. Is there a reason why you are using docker?

#5

If the raspberry pi crashes, I will loose all data, my docker container is more reliable.
What could be the passing through issue?

#6

Im not sure how docker handles usb passthrough internally