All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Kevin Wolf <mail@kevin-wolf.de>
Cc: qemu-devel@nongnu.org, "David S. Ahern" <daahern@cisco.com>
Subject: Re: [Qemu-devel] [PATCH] EHCI support - device recognized, but no data
Date: Sun, 07 Mar 2010 12:32:27 +0100	[thread overview]
Message-ID: <4B938ECB.2060906@web.de> (raw)
In-Reply-To: <201003061925.01577@kevin-wolf.de>

[-- Attachment #1: Type: text/plain, Size: 1852 bytes --]

Kevin Wolf wrote:
> Am Freitag, 5. März 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 within
>> the guest (FC-12):
> 
> Looks very nice. Actually I could access the file system on my USB stick. I 
> have pushed your patch along with some additional minor changes to 
> git://repo.or.cz/qemu/kevin.git ehci. Jan, you might want to pull from 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=490.  [0E0B37A8] -> 00000001
000.009 periodic state adv fr=490.  [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 != 0, dec NakCnt to -1
000.004 write QH to VM memory
000.203 periodic state adv fr=490.  [0E0B37A8] -> 00000001
000.008 periodic state adv fr=490.  [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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

  reply	other threads:[~2010-03-07 11:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05  3:17 [Qemu-devel] [PATCH] EHCI support - device recognized, but no data David S. Ahern
2010-03-06 16:42 ` [Qemu-devel] " Jan Kiszka
2010-03-06 18:25 ` [Qemu-devel] " Kevin Wolf
2010-03-07 11:32   ` Jan Kiszka [this message]
2010-03-09 17:44     ` David S. Ahern
2010-03-10  7:38       ` Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B938ECB.2060906@web.de \
    --to=jan.kiszka@web.de \
    --cc=daahern@cisco.com \
    --cc=mail@kevin-wolf.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.