qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Qemu-devel] USB storage cannot be recognized on guestLinuxdomain?


From: Yu, Xiaoyang
Subject: RE: [Qemu-devel] USB storage cannot be recognized on guestLinuxdomain?
Date: Wed, 14 Feb 2007 20:39:24 +0800

Also I have tested QEMU 0.9.0 using image “linux-0.2.img”. After invoked “usb_add” in QEMU monitor, nothing was shown in guest domain. Then I type “exit” to reboot the system, then the following message shown in guest domain:

 

scsi 0:0:0:0: Direct-Access  Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI:2

 

It seems like that the USB disk can be recognized only after a system reboot of “linux-0.2.img”.

 


From: address@hidden [mailto:address@hidden On Behalf Of Yu, Xiaoyang
Sent: 2007
214 20:24
To: address@hidden; address@hidden
Subject: RE: [Qemu-devel] USB storage cannot be recognized on guestLinuxdomain?

 

Hi Nenad,

 

Both kernels are configured to support USB devices. The config files are put in the attachment.

 

USB storages can be recognized by both kernels successfully if I install the systems directly on hardware, instead of install the systems as guest domains in Xen/VT environment.

 

Thanks
Xiaoyang

 


From: address@hidden [mailto:address@hidden On Behalf Of Nenad Cimerman
Sent: 2007
214 19:28
To: address@hidden
Subject: AW: [Qemu-devel] USB storage cannot be recognized on guestLinuxdomain?

 

Hi Xiaoyang,

 

did you check whether both kernels are configured to support USB?

# cat /proc/config

or

# zcat /proc/config.gz

 

Cheers,

Nenad.

 


Von: address@hidden [mailto:address@hidden Im Auftrag von Yu, Xiaoyang
Gesendet: Mittwoch, 14. Februar 2007 11:26
An: address@hidden
Betreff: RE: [Qemu-devel] USB storage cannot be recognized on guest Linuxdomain?

 

I just found that using an older kernel in Fedora Core 4 may “solve” the problem.

 

When I tested Fedora Core 4 guest domain, the kernel version I used was 2.6.17-1.2142_FC4, and it cannot recognized the USB disk.

I just changed the kernel in guest domain to version 2.6.11-1.1369_FC4. Then the guest domain can recognized the USB disk. I am wondering why the USB support in QEMU depend on the guest domain kernel. And I would like to know which kernel version can support QEMU USB emulation.

 

BTW, I also found that Windows XP guest domain can not recognize the USB disk, while Windows XP SP2 guest domain can recognize the USB disk. So it seems like that the guest Linux/Windows domain should have some “special feature” to work with the QEMU USB emulation successfully. Isn’t it strange?

 

 

Sent: 2007214 15:06
To: address@hidden
Subject: [Qemu-devel] USB storage cannot be recognized on guest Linux domain?

 

I am using Xen 3.0.3 with QEMU-DM 0.8.2 on a Intel VT platform. After insert a USB storage, and use “usb_add” command in QEMU monitor, the storage should be recognized on guest OS. I tested this with a Windows XP SP2 guest OS, it doing well.

 

But when I test the “usb_add” command with some Linux guest OS, it seems that the guest OS cannot recognize the USB storage. And the device number and address in guest domain are always “0.0”. The Linux guest OS I tested including Fedora Core 4 and Fedora Core 5. Does any one also meet this problem or have some idea on this? Feedbacks will be highly appreciated.

 

Thanks
Xiaoyang


reply via email to

[Prev in Thread] Current Thread [Next in Thread]