Ubuntu problem with USB device (RFXTRX433E)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Ehallq
Posts: 4
Joined: 19. Nov 2015, 00:35

Ubuntu problem with USB device (RFXTRX433E)

Post by Ehallq »

Hi

I recently upgraded my setup from running Domoticz on RPi2 to a vm on my new server. To use Domoticz to control my lights I have a USB device named rfxtrx433e. This works well, and I didnt have any problems..that was until I watched my cpu load. The vm ran at 100% on 1 core (watching from hostside). I ssh into my vm and "top" reveiled that nothing had a load over 1-5%, so the problem shouldnt be anything on the actual vm. When I deactivated the rfxtrx433e from domoticz i.e. turning off the communication with the usb device, then the load dropped instantly. When I activated the rfx again, it maintain around 12% load for a while, but after getting this message below in the VBox.log once or twice, the cpu load jumped up to 100% again. Any idea to solve this?

00:02:56.660142 OHCI#0: Lagging too far behind, not trying to catch up anymore. Expect glitches with USB devices

I use the latest virtualbox with ubuntu server 14.04 LTS. The cpu is a pentium G3258. The device is hooked up using USB 2.0

Hope you can help me :)
Last edited by Ehallq on 19. Nov 2015, 15:43, edited 4 times in total.
webevsm
Posts: 3
Joined: 19. Nov 2015, 01:20

Re: Ubuntu RFXTRX433E

Post by webevsm »

I'm not sure what domoticz and rfxtrx433e are, but you didn't specify the minimum information required for assistance.
Ehallq
Posts: 4
Joined: 19. Nov 2015, 00:35

Re: Ubuntu RFXTRX433E

Post by Ehallq »

webevsm wrote:I'm not sure what domoticz and rfxtrx433e are, but you didn't specify the minimum information required for assistance.
Hi
I wrote "To use Domoticz to control my lights I have a USB device named rfxtrx433e". I think it explains enough. What do you want to know more about it? :-)
The VM is also running ubuntu server 14.04.

What more information so you need to help me, I have the error message from vbox.log and I describe my setup. I do not think it is really necessary to explain in detail about the rfxtrx433e or domoticz since this is a general error with USB devices. I have seen it elsewhere on Google, however no one really solves the problem.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu RFXTRX433E

Post by Perryg »

Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.

Also confirm that your user name is in the vboxusers group on the host.
Ehallq
Posts: 4
Joined: 19. Nov 2015, 00:35

Re: Ubuntu RFXTRX433E

Post by Ehallq »

Perryg wrote:Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.

Also confirm that your user name is in the vboxusers group on the host.
I am a member of the vboxusers group. The usb device works without any problem all the time, however the cpu load is 100% on the core the vm runs on.

Result of top command on my server:

Code: Select all

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
13355 erik      20   0 1626640 406784 381624 S  96.1  2.5   0:17.82 VBoxHeadle+ (DOMOTICZ VM)
12339 erik      20   0 2326268 413164 370116 S   1.0  2.5  12:44.97 VBoxHeadle+
12280 erik      20   0 1403096 151996 127748 S   0.3  0.9   7:54.48 VBoxHeadle+
/.....
Result of top command on vm:

Code: Select all

 
PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
 1212 erik      20   0  105780   4688   3612 R  0.4  0.2   0:00.02 sshd: erik@+
    1 root      20   0   33484   3964   2672 S  0.0  0.2   0:00.75 /sbin/init
    2 root      20   0       0      0      0 S  0.0  0.0   0:00.00 [kthreadd]
As you can see, there is no problem in the actual vm.
Attachments
Vbox.txt
(66.48 KiB) Downloaded 6 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: Ubuntu problem with USB device (RFXTRX433E)

Post by Perryg »

Code: Select all

00:00:11.850330 VMMDev: Guest Log: 00:00:00.017680 main     5.0.10 r104061 started. Verbose level = 0
00:00:59.790285 OHCI#0: Lagging too far behind, not trying to catch up anymore. Expect glitches with USB devices
I have seen this reported before. Unfortunately I don't have nor able to reproduce this issue. I would post a ticket at bugtracker and see what the DEVs have to say. Be sure to include the log file and post details like you have here. It would be great if you also posted the link to the ticket here so others can see any progress.
Ehallq
Posts: 4
Joined: 19. Nov 2015, 00:35

Re: Ubuntu problem with USB device (RFXTRX433E)

Post by Ehallq »

Perryg wrote:

Code: Select all

00:00:11.850330 VMMDev: Guest Log: 00:00:00.017680 main     5.0.10 r104061 started. Verbose level = 0
00:00:59.790285 OHCI#0: Lagging too far behind, not trying to catch up anymore. Expect glitches with USB devices
I have seen this reported before. Unfortunately I don't have nor able to reproduce this issue. I would post a ticket atand see what the DEVs have to say. Be sure to include the log file and post details like you have here. It would be great if you also posted the link to the ticket here so others can see any progress.
Here is the ticket, thank you for the tip (cant post urls since I am a new member)
Ticket number: 14845
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu problem with USB device (RFXTRX433E)

Post by Perryg »

Post Reply