[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] How to present the vusb device entry in the xenstore
2013/6/18 George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Thank you for your reply. I just tried the Xen-4.1.2 (use the xm tools) + Dom0 2.6.18.8-xen, which has the USB frontend and backend drivers as modules in driver/xen/usbfront and /driver/xen/usbback. The DomU is PV 2.6.18.8-xen. The usb option in config file for DomU is as before: usb=1 and usbdevice='host:0ea0:2168'
I insmod the usbbk.ko and then use xm to create DomU. Some information is provide as the following. It seems the USB backend driver doesn't work. In Dom0: [root@localhost ~]# lsmod | grep usb usbbk 28308 0 usb_storage 75328 1 libusual 20240 1 usb_storage
usbhid 55520 0 scsi_mod 138888 6 usb_storage,sg,sr_mod,ahci,libata,sd_mod usbcore 132228 8 usbbk,usb_storage,libusual,usbhid,uhci_hcd,ohci_hcd,ehci_hcd
[root@localhost ~]# xenstore-ls /local/domain/5/device vkbd = "" 0 = "" protocol = "x86_32-abi" state = "4"
backend-id = "0" backend = "/local/domain/0/backend/vkbd/5/0" request-abs-pointer = "1" page-ref = "22125" event-channel = "9"
vfb = "" 0 = "" protocol = "x86_32-abi" state = "4" backend-id = "0" backend = "/local/domain/0/backend/vfb/5/0"
page-ref = "21941" event-channel = "8" feature-update = "1" vbd = "" 2049 = "" virtual-device = "2049"
device-type = "disk" protocol = "x86_32-abi" backend-id = "0" state = "4" backend = "/local/domain/0/backend/vbd/5/2049"
ring-ref = "8" event-channel = "7" vif = "" 0 = "" mac = "00:16:3e:0a:c7:22" handle = "0"
protocol = "x86_32-abi" backend-id = "0" state = "4" backend = "/local/domain/0/backend/vif/5/0" tx-ring-ref = "768"
rx-ring-ref = "769" event-channel = "10" request-rx-copy = "1" feature-rx-notify = "1" feature-no-csum-offload = "0"
feature-sg = "1" feature-gso-tcpv4 = "1" console = "" 0 = "" protocol = "x86_32-abi" state = "1"
backend-id = "0" backend = "/local/domain/0/backend/console/5/0" suspend = "" event-channel = "6"
In DomU: [root@gavin-pv ~]# dmesg | grep -i usb Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) usbcore: no version for "struct_module" found: kernel tainted.
usbcore: registered new driver usbfs usbcore: registered new driver hub ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) USB Universal Host Controller Interface driver v3.0
Best Regards, Bei Guan
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |