From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3yU0-00079K-9w for qemu-devel@nongnu.org; Mon, 19 Apr 2010 17:26:20 -0400 Received: from [140.186.70.92] (port=35589 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3yTx-00076h-Rh for qemu-devel@nongnu.org; Mon, 19 Apr 2010 17:26:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3yTw-0000bq-CS for qemu-devel@nongnu.org; Mon, 19 Apr 2010 17:26:17 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:56407) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3yTv-0000bR-Tw for qemu-devel@nongnu.org; Mon, 19 Apr 2010 17:26:16 -0400 Message-ID: <4BCCCA6C.6020808@web.de> Date: Mon, 19 Apr 2010 23:26:04 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4BC7D75D.9020302@cisco.com> In-Reply-To: <4BC7D75D.9020302@cisco.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDD249FB55FCDA4D6FE67B466" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH] ehci: fix infinite loop with usb netdevice List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "David S. Ahern" Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDD249FB55FCDA4D6FE67B466 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable David S. Ahern wrote: > Hi Jan: >=20 > The attached addresses the spinning with the usb net device. Now I can > enable the device and ethtool shows a link: >=20 > # ifconfig usb0 up > # ethtool usb0 > Settings for usb0: > Current message level: 0x00000007 (7) > Link detected: yes >=20 > Though dhclient still can't get an address. After a bit of > instrumentation it appears that packets are lost in the receive the pat= h > somewhere: >=20 > usb0 Link encap:Ethernet HWaddr 42:5F:CA:51:54:77 > BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:25 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:5513 (5.3 KiB) >=20 > I looked at an x3650M2 with an IMM. It has a usb-based ethernet device.= > I compared the output of lsusb -v from the IMM with the qemu usb net > device and nothing jumps out -- other than the fact that the IMM's > network device shows up on a uhci bus. >=20 Thanks merged (a git-formatted patch would have been even better :) ). Yeah, the behavior is as before here as well. So there was or was not USB traffic between device and controller that points to incoming frames? Guess we need to debug through the device if there was. Jan --------------enigDD249FB55FCDA4D6FE67B466 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 iEYEARECAAYFAkvMynQACgkQitSsb3rl5xRLxwCgmq8sud0qBqp2njxYF6XDTIc4 N3EAoOj73C5eUE5cgou+XyHBDjRJfTSH =POoS -----END PGP SIGNATURE----- --------------enigDD249FB55FCDA4D6FE67B466--