Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uplsusb doesn't work in AppVMs #521
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 14 Apr 2012 13:04 UTC
Ok, this seems to be caused by the lack of ehci_hcd kernel module. When this module is unloaded in the usbvm, it displays the same error.
Now, the interesting part is, that in a normal AppVM (to which I assigned to USB controllers, exactly the same ones as I also assigned to my UsbVM) I get the following (always!):
[ 30.560041] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 30.560409] ehci_hcd 0000:00:00.0: device not available (can't reserve [0xf162a000-0xf162a3ff](mem))
[ 30.560565] ehci_hcd 0000:00:01.0: device not available (can't reserve [0xf1629000-0xf16293ff](mem))
However, the very same USB controllers, always work fine when I assign them to the UsbVM! (Of course, I made sure to wait for one VM to shutdown correctly, and only then started another one).
What is the difference?
|
Comment by joanna on 14 Apr 2012 13:04 UTC Now, the interesting part is, that in a normal AppVM (to which I assigned to USB controllers, exactly the same ones as I also assigned to my UsbVM) I get the following (always!):
However, the very same USB controllers, always work fine when I assign them to the UsbVM! (Of course, I made sure to wait for one VM to shutdown correctly, and only then started another one). What is the difference? |
marmarek
assigned
rootkovska
Mar 8, 2015
marmarek
added this to the Release 1 milestone
Mar 8, 2015
marmarek
added
bug
C: core
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 14 Apr 2012 13:05 UTC
Yes, I disabled memory balancing for the AppVM (it gets 800MB).
|
Comment by joanna on 14 Apr 2012 13:05 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 14 Apr 2012 13:12 UTC
Ok, solved it! The problem was that the AppVM had maxmem > mem -- and for PV domains with devices assined we need to ensure that maxmem = mem!
|
Comment by joanna on 14 Apr 2012 13:12 UTC |
marmarek
closed this
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 17 Apr 2012 01:06 UTC
Hmm... USB devices (especially lsusb) works for me in AppVM with:
- memory: 400 MB
- maxmem: 2GB
- as in default: enabled dynamic memory management (aka 'meminfo-writer')
- 2 usb controllers assigned (1.1 and 2.0)
- current memory: 530 MB
|
Comment by marmarek on 17 Apr 2012 01:06 UTC
|
marmarek commentedMar 8, 2015
Reported by joanna on 14 Apr 2012 12:34 UTC
On both 3.0.4. and 3.2.7 I get the following:
No matter whether there is, or there is no, USB controller assigned to the AppVM...
Interestingly a net or proxy VMs do not exhibit such behaviour...?!
Migrated-From: https://wiki.qubes-os.org/ticket/521