From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpGVd-00007C-MC for qemu-devel@nongnu.org; Wed, 10 Mar 2010 02:39:13 -0500 Received: from [199.232.76.173] (port=36351 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpGVd-00005z-24 for qemu-devel@nongnu.org; Wed, 10 Mar 2010 02:39:13 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NpGVa-0006m8-JZ for qemu-devel@nongnu.org; Wed, 10 Mar 2010 02:39:12 -0500 Received: from mx20.gnu.org ([199.232.41.8]:16755) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NpGVa-0006m4-4m for qemu-devel@nongnu.org; Wed, 10 Mar 2010 02:39:10 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NpGVV-00053N-4I for qemu-devel@nongnu.org; Wed, 10 Mar 2010 02:39:05 -0500 Message-ID: <4B974C90.9020902@web.de> Date: Wed, 10 Mar 2010 08:38:56 +0100 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] EHCI support - device recognized, but no data References: <4B9077C9.4040309@cisco.com> <201003061925.01577@kevin-wolf.de> <4B938ECB.2060906@web.de> <4B968911.2050104@cisco.com> In-Reply-To: <4B968911.2050104@cisco.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig13DAE8A3BDED53613A3BED29" Sender: jan.kiszka@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "David S. Ahern" Cc: Kevin Wolf , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13DAE8A3BDED53613A3BED29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable David S. Ahern wrote: > On 03/07/2010 04:32 AM, Jan Kiszka wrote: >> Kevin Wolf wrote: >>> Am Freitag, 5. M=C3=A4rz 2010 04:17 schrieb David S. Ahern: >>>> Jan: >>>> >>>> I spent some more time on the EHCI support today. With the attached >>>> patch (delta to the patch from yesterday) a USB key is recognized wi= thin >>>> the guest (FC-12): >>> Looks very nice. Actually I could access the file system on my USB st= ick. I=20 >>> have pushed your patch along with some additional minor changes to=20 >>> git://repo.or.cz/qemu/kevin.git ehci. Jan, you might want to pull fro= m there. >>> >> Merged, thanks. >> >> Meanwhile I played with some more devices, and I think I found one >> scenario that should be handy to debug: -usbdevice net. Apparently, it= >> does not work yet, my console is just flooded with >> >>>>>>> ASYNC STATE MACHINE execute >> 000.005 exec: ctr is 1 >> 000.004 exec: frindex is 488,3 >> 000.004 setting qh.current from 0E0B21E0 to 0x0E0B21E0 >> 000.005 Active non-interrupt QH, executing >> 000.003 pid is 1 >> 000.00000.222 periodic state adv fr=3D490. [0E0B37A8] -> 00000001 >> 000.009 periodic state adv fr=3D490. [0E0B37A8] -> 00000001 >> 000.009 >> >>>>>>> ASYNC STATE MACHINE execute >> 000.006 exec: ctr is 1 >> 000.003 exec: frindex is 490,2 >> 000.005 setting qh.current from 0E0B21E0 to 0x0E0B21E0 >> 000.004 Active non-interrupt QH, executing >> 000.004 pid is 1 >> 000.004 calling dev->info->handle_packet >> 000.004 exit loop dev->info->handle_packet >> 000.003 Enter EXECUTING >> 000.004 USBTRAN RSP NAK, returning without clear active >> 000.004 finishing exec >> 000.004 Nak occured and RL !=3D 0, dec NakCnt to -1 >> 000.004 write QH to VM memory >> 000.203 periodic state adv fr=3D490. [0E0B37A8] -> 00000001 >> 000.008 periodic state adv fr=3D490. [0E0B37A8] -> 00000001 >> 000.009 >> >> Messages. The guest reports that it received one Ethernet packet, but >> that's all, dhcpcd fails with a timeout. Already "ifconfig ethX up" >> starts this flooding. >> >> Jan >> >=20 > What guest OS were you successful with for storage devices - windows or= > linux, 32-bit or 64? I've been mainly using FC-12, x86_64 as the guest > OS, and an external (ie., physical) key of recent vintage. Qemu's msd > device does not work with FC-12 (and UHCI). I was using an OpenSuse 11.1 guest image with 2.6.27 kernel. Host and guest were 64 bit. >=20 > I played around with Qemu's usb-net device a bit, but not sure I am > configuring it correctly (using monitor commands to attach). "-usbdevice net -net user" should switch completely to USB based networking and make the guest issue dchp request over that NIC. Works like that for me with UHCI, fails with EHCI. Jan --------------enig13DAE8A3BDED53613A3BED29 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkuXTJUACgkQitSsb3rl5xTyOgCgk7lCgjMmPNvyRt9jaRZmtrrk JlUAmgNXJvhgZJ1jH214wv1J14l6wIOd =N/Vq -----END PGP SIGNATURE----- --------------enig13DAE8A3BDED53613A3BED29--