From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HHJQb-00030B-8O for qemu-devel@nongnu.org; Wed, 14 Feb 2007 07:40:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HHJQa-0002zW-5f for qemu-devel@nongnu.org; Wed, 14 Feb 2007 07:40:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHJQa-0002zQ-2S for qemu-devel@nongnu.org; Wed, 14 Feb 2007 07:40:04 -0500 Received: from mga02.intel.com ([134.134.136.20]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HHJQZ-0002Rr-1N for qemu-devel@nongnu.org; Wed, 14 Feb 2007 07:40:03 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C75035.29BD080D" Subject: RE: [Qemu-devel] USB storage cannot be recognized on guestLinuxdomain? Date: Wed, 14 Feb 2007 20:39:24 +0800 Message-ID: In-Reply-To: From: "Yu, Xiaoyang" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, nenad@cimerman.de This is a multi-part message in MIME format. ------_=_NextPart_001_01C75035.29BD080D Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Also I have tested QEMU 0.9.0 using image =A1=B0linux-0.2.img=A1=B1. = After invoked =A1=B0usb_add=A1=B1 in QEMU monitor, nothing was shown in = guest domain. Then I type =A1=B0exit=A1=B1 to reboot the system, then = the following message shown in guest domain: =20 scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI:2 = =20 It seems like that the USB disk can be recognized only after a system = reboot of =A1=B0linux-0.2.img=A1=B1. =20 ________________________________ From: qemu-devel-bounces+xiaoyang.yu=3Dintel.com@nongnu.org = [mailto:qemu-devel-bounces+xiaoyang.yu=3Dintel.com@nongnu.org] On Behalf = Of Yu, Xiaoyang Sent: 2007=C4=EA2=D4=C214=C8=D5 20:24 To: nenad@cimerman.de; qemu-devel@nongnu.org Subject: RE: [Qemu-devel] USB storage cannot be recognized on = guestLinuxdomain? =20 Hi Nenad, =20 Both kernels are configured to support USB devices. The config files are = put in the attachment. =20 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.=20 =20 Thanks Xiaoyang =20 ________________________________ From: qemu-devel-bounces+xiaoyang.yu=3Dintel.com@nongnu.org = [mailto:qemu-devel-bounces+xiaoyang.yu=3Dintel.com@nongnu.org] On Behalf = Of Nenad Cimerman Sent: 2007=C4=EA2=D4=C214=C8=D5 19:28 To: qemu-devel@nongnu.org Subject: AW: [Qemu-devel] USB storage cannot be recognized on = guestLinuxdomain? =20 Hi Xiaoyang, =20 did you check whether both kernels are configured to support USB? # cat /proc/config=20 or # zcat /proc/config.gz =20 Cheers, Nenad. =20 ________________________________ Von: qemu-devel-bounces+nenad=3Dcimerman.de@nongnu.org = [mailto:qemu-devel-bounces+nenad=3Dcimerman.de@nongnu.org] Im Auftrag = von Yu, Xiaoyang Gesendet: Mittwoch, 14. Februar 2007 11:26 An: qemu-devel@nongnu.org Betreff: RE: [Qemu-devel] USB storage cannot be recognized on guest = Linuxdomain? =20 I just found that using an older kernel in Fedora Core 4 may = =A1=B0solve=A1=B1 the problem.=20 =20 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.=20 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. =20 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 = =A1=B0special feature=A1=B1 to work with the QEMU USB emulation = successfully. Isn=A1=AFt it strange? =20 =20 Sent: 2007=C4=EA2=D4=C214=C8=D5 15:06 To: qemu-devel@nongnu.org Subject: [Qemu-devel] USB storage cannot be recognized on guest Linux = domain? =20 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 =A1=B0usb_add=A1=B1 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.=20 =20 But when I test the =A1=B0usb_add=A1=B1 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 =A1=B00.0=A1=B1. = 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. =20 Thanks Xiaoyang ------_=_NextPart_001_01C75035.29BD080D Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Also I have tested QEMU 0.9.0 using = image =A1=B0linux-0.2.img=A1=B1. After invoked =A1=B0usb_add=A1=B1 in QEMU monitor, nothing was shown in = guest domain. Then I type =A1=B0exit=A1=B1 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 = =A1=B0linux-0.2.img=A1=B1.

 


From: qemu-devel-bounces+xiaoyang.yu=3Dintel.com@nongnu.org [mailto:qemu-devel-bounces+xiaoyang.yu=3Dintel.com@nongnu.org] On Behalf Of Yu, Xiaoyang
Sent: = 2007
=C4=EA<= font size=3D2 face=3DTahoma>2=D4=C2<= font size=3D2 face=3DTahoma>14=C8=D5<= font size=3D2 face=3DTahoma> 20:24
To: nenad@cimerman.de; = qemu-devel@nongnu.org
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: qemu-devel-bounces+xiaoyang.yu=3Dintel.com@nongnu.org = [mailto:qemu-devel-bounces+xiaoyang.yu=3Dintel.com@nongnu.org] On Behalf Of Nenad = Cimerman
Sent: = 2007
=C4=EA2=D4=C214=C8=D5 19:28
To: qemu-devel@nongnu.org
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: qemu-devel-bounces+nenad=3Dcimerman.de@nongnu.org [mailto:qemu-devel-bounces+nenad=3Dcimerman.de@nongnu.org] Im Auftrag von Yu, Xiaoyang
Gesendet: Mittwoch, 14. = Februar 2007 11:26
An: qemu-devel@nongnu.org
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 =A1=B0solve=A1=B1 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 =A1=B0special feature=A1=B1 to work with the QEMU USB emulation = successfully. Isn=A1=AFt it strange?

 

 <= /p>

Sent: = 2007=C4=EA<= font size=3D2 face=3DTahoma>2=D4=C2<= font size=3D2 face=3DTahoma>14=C8=D5<= font size=3D2 face=3DTahoma> 15:06
To: qemu-devel@nongnu.org
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 =A1=B0usb_add=A1=B1 = 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 =A1=B0usb_add=A1=B1 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 =A1=B00.0=A1=B1. 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

------_=_NextPart_001_01C75035.29BD080D--