qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Gabriel L. Somlo" <gsomlo@gmail.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: rene@exactcode.com, jbaron@redhat.com, qemu-devel@nongnu.org,
	agraf@suse.de
Subject: Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems
Date: Tue, 13 Nov 2012 10:48:25 -0500	[thread overview]
Message-ID: <20121113154824.GA11399@hedwig.ini.cmu.edu> (raw)
In-Reply-To: <50A2094A.3060500@redhat.com>

Gerd,

On Tue, Nov 13, 2012 at 09:48:10AM +0100, Gerd Hoffmann wrote:
> > below is what I got running the "-usb -device usb-kbd -device usb-mouse"
> > command line with EHCI_DEBUG set to 1.
> 
> This isn't what I ment.  See docs/tracing.txt for how tracepoint work.
> Wildcards (i.e. 'ehci_*') work on tracepoints.

Below are the first 100 (of 6516784) ascii lines from the ehci_* trace
file I collected in the cca. 30 seconds it took to get to the point
where it's clear OS X boot is stuck and won't be making any further
progress.

In case you need it, the full (11M xz-compressed) trace file is at
http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ehci_trace.xz

Thanks,
--Gabriel

usb_ehci_port_attach 0.000 port=0x0 owner=comp device=QEMU USB Keyboard
usb_ehci_port_attach 31.297 port=0x1 owner=comp device=QEMU USB Mouse
usb_ehci_reset 153537.179
usb_ehci_port_detach 1.689 port=0x0 owner=comp
usb_ehci_port_detach 1.527 port=0x1 owner=comp
usb_ehci_port_attach 1.311 port=0x0 owner=comp device=QEMU USB Keyboard
usb_ehci_port_attach 2.506 port=0x1 owner=comp device=QEMU USB Mouse
usb_ehci_opreg_read 338333.341 addr=0x20 str=USBCMD val=0x80000
usb_ehci_opreg_write 13.640 addr=0x20 str=USBCMD val=0x80002
usb_ehci_reset 1.018
usb_ehci_port_detach 1.546 port=0x0 owner=comp
usb_ehci_port_detach 1.203 port=0x1 owner=comp
usb_ehci_port_attach 1.669 port=0x0 owner=comp device=QEMU USB Keyboard
usb_ehci_port_attach 3.504 port=0x1 owner=comp device=QEMU USB Mouse
usb_ehci_opreg_change 2.038 addr=0x20 str=USBCMD new=0x80000 old=0x80000
usb_ehci_opreg_read 7.118 addr=0x20 str=USBCMD val=0x80000
usb_ehci_opreg_write 7.322 addr=0x28 str=USBINTR val=0x0
usb_ehci_opreg_change 0.699 addr=0x28 str=USBINTR new=0x0 old=0x0
usb_ehci_opreg_write 8.577 addr=0x34 str=P-LIST BASE val=0x7fffb000
usb_ehci_opreg_change 0.636 addr=0x34 str=P-LIST BASE new=0x7fffb000 old=0x0
usb_ehci_opreg_write 6.342 addr=0x38 str=A-LIST ADDR val=0x7fffc880
usb_ehci_opreg_change 0.498 addr=0x38 str=A-LIST ADDR new=0x7fffc880 old=0x0
usb_ehci_opreg_write 6.068 addr=0x20 str=USBCMD val=0x80031
usb_ehci_usbsts 4.793 sts=HALT state=0x0
usb_ehci_opreg_change 4.707 addr=0x20 str=USBCMD new=0x80031 old=0x80000
usb_ehci_opreg_write 53.414 addr=0x60 str=CONFIGFLAG val=0x1
usb_ehci_port_detach 1.060 port=0x0 owner=comp
usb_ehci_port_attach 0.654 port=0x0 owner=ehci device=QEMU USB Keyboard
usb_ehci_irq 0.654 level=0x0 frindex=0x0 sts=0x4 mask=0x0
usb_ehci_port_detach 0.965 port=0x1 owner=comp
usb_ehci_port_attach 0.411 port=0x1 owner=ehci device=QEMU USB Mouse
usb_ehci_irq 0.424 level=0x0 frindex=0x0 sts=0x4 mask=0x0
usb_ehci_opreg_change 0.664 addr=0x60 str=CONFIGFLAG new=0x1 old=0x0
usb_ehci_state 16.577 schedule=async state=ACTIVE
usb_ehci_usbsts 1.527 sts=ASS state=0x1
usb_ehci_state 0.982 schedule=async state=WAITLISTHEAD
usb_ehci_usbsts 1.143 sts=REC state=0x1
usb_ehci_qh_ptrs 5.108 q=0x0 addr=0x7fffc880 nxt=0x7fffc882 c_qtd=0x0 n_qtd=0x1 a_qtd=0x1
usb_ehci_qh_fields 0.599 addr=0x7fffc880 rl=0x0 mplen=0x0 eps=0x0 ep=0x0 devaddr=0x0
usb_ehci_qh_bits 0.607 addr=0x7fffc880 c=0x0 h=0x1 dtc=0x0 i=0x0
usb_ehci_state 0.792 schedule=async state=FETCH ENTRY
usb_ehci_state 0.732 schedule=async state=FETCH QH
usb_ehci_queue_action 4.098 q=0x7f358b3b0bd0 action=alloc
usb_ehci_qh_ptrs 1.469 q=0x7f358b3b0bd0 addr=0x7fffc880 nxt=0x7fffc882 c_qtd=0x0 n_qtd=0x1 a_qtd=0x1
usb_ehci_qh_fields 0.531 addr=0x7fffc880 rl=0x0 mplen=0x0 eps=0x0 ep=0x0 devaddr=0x0
usb_ehci_qh_bits 0.494 addr=0x7fffc880 c=0x0 h=0x1 dtc=0x0 i=0x0
usb_ehci_queue_action 1.165 q=0x7f358b3b0bd0 action=reset
usb_ehci_usbsts 0.933 sts=REC state=0x0
usb_ehci_state 0.579 schedule=async state=HORIZONTALQH
usb_ehci_state 0.516 schedule=async state=ACTIVE
usb_ehci_portsc_read 77.999 addr=0x44 port=0x0 val=0x1003
usb_ehci_portsc_read 24.851 addr=0x48 port=0x1 val=0x1003
usb_ehci_portsc_read 13.452 addr=0x4c port=0x2 val=0x1000
usb_ehci_portsc_read 9.878 addr=0x50 port=0x3 val=0x1000
usb_ehci_portsc_read 8.800 addr=0x54 port=0x4 val=0x1000
usb_ehci_portsc_read 8.715 addr=0x58 port=0x5 val=0x1000
usb_ehci_state 1799.380 schedule=periodic state=ACTIVE
usb_ehci_usbsts 1.002 sts=PSS state=0x1
usb_ehci_state 2.575 schedule=periodic state=FETCH ENTRY
usb_ehci_state 0.914 schedule=periodic state=FETCH QH
usb_ehci_queue_action 2.116 q=0x7f358b3b0ed0 action=alloc
usb_ehci_qh_ptrs 1.651 q=0x7f358b3b0ed0 addr=0x7fffc900 nxt=0x1 c_qtd=0x0 n_qtd=0x1 a_qtd=0x1
usb_ehci_qh_fields 0.612 addr=0x7fffc900 rl=0x0 mplen=0x0 eps=0x0 ep=0x0 devaddr=0x0
usb_ehci_qh_bits 0.584 addr=0x7fffc900 c=0x0 h=0x0 dtc=0x0 i=0x0
usb_ehci_queue_action 0.882 q=0x7f358b3b0ed0 action=reset
usb_ehci_state 0.710 schedule=periodic state=HORIZONTALQH
usb_ehci_state 0.526 schedule=periodic state=FETCH ENTRY
usb_ehci_state 0.519 schedule=periodic state=ACTIVE
usb_ehci_state 0.694 schedule=periodic state=FETCH ENTRY
usb_ehci_state 0.441 schedule=periodic state=FETCH QH
usb_ehci_qh_ptrs 1.454 q=0x7f358b3b0ed0 addr=0x7fffc900 nxt=0x1 c_qtd=0x0 n_qtd=0x1 a_qtd=0x1
usb_ehci_qh_fields 0.544 addr=0x7fffc900 rl=0x0 mplen=0x0 eps=0x0 ep=0x0 devaddr=0x0
usb_ehci_qh_bits 0.504 addr=0x7fffc900 c=0x0 h=0x0 dtc=0x0 i=0x0
usb_ehci_state 0.579 schedule=periodic state=HORIZONTALQH
usb_ehci_state 0.408 schedule=periodic state=FETCH ENTRY
usb_ehci_state 0.424 schedule=periodic state=ACTIVE
usb_ehci_state 0.604 schedule=async state=WAITLISTHEAD
usb_ehci_usbsts 0.604 sts=REC state=0x1
usb_ehci_qh_ptrs 1.581 q=0x0 addr=0x7fffc880 nxt=0x7fffc882 c_qtd=0x0 n_qtd=0x1 a_qtd=0x1
usb_ehci_qh_fields 0.539 addr=0x7fffc880 rl=0x0 mplen=0x0 eps=0x0 ep=0x0 devaddr=0x0
usb_ehci_qh_bits 0.529 addr=0x7fffc880 c=0x0 h=0x1 dtc=0x0 i=0x0
usb_ehci_state 0.539 schedule=async state=FETCH ENTRY
usb_ehci_state 0.504 schedule=async state=FETCH QH
usb_ehci_qh_ptrs 1.591 q=0x7f358b3b0bd0 addr=0x7fffc880 nxt=0x7fffc882 c_qtd=0x0 n_qtd=0x1 a_qtd=0x1
usb_ehci_qh_fields 0.537 addr=0x7fffc880 rl=0x0 mplen=0x0 eps=0x0 ep=0x0 devaddr=0x0
usb_ehci_qh_bits 7.033 addr=0x7fffc880 c=0x0 h=0x1 dtc=0x0 i=0x0
usb_ehci_usbsts 0.714 sts=REC state=0x0
usb_ehci_state 0.358 schedule=async state=HORIZONTALQH
usb_ehci_state 0.509 schedule=async state=ACTIVE
usb_ehci_state 3983.812 schedule=periodic state=FETCH ENTRY
usb_ehci_state 1.120 schedule=periodic state=FETCH QH
usb_ehci_qh_ptrs 1.860 q=0x7f358b3b0ed0 addr=0x7fffc900 nxt=0x1 c_qtd=0x0 n_qtd=0x1 a_qtd=0x1
usb_ehci_qh_fields 0.752 addr=0x7fffc900 rl=0x0 mplen=0x0 eps=0x0 ep=0x0 devaddr=0x0
usb_ehci_qh_bits 0.614 addr=0x7fffc900 c=0x0 h=0x0 dtc=0x0 i=0x0
usb_ehci_state 0.985 schedule=periodic state=HORIZONTALQH
usb_ehci_state 0.514 schedule=periodic state=FETCH ENTRY
usb_ehci_state 0.569 schedule=periodic state=ACTIVE
usb_ehci_state 0.629 schedule=periodic state=FETCH ENTRY
usb_ehci_state 0.408 schedule=periodic state=FETCH QH
usb_ehci_qh_ptrs 1.424 q=0x7f358b3b0ed0 addr=0x7fffc900 nxt=0x1 c_qtd=0x0 n_qtd=0x1 a_qtd=0x1

  reply	other threads:[~2012-11-13 15:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-11 22:16 [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems Gabriel L. Somlo
2012-11-12 10:26 ` Gerd Hoffmann
2012-11-12 14:49   ` [Qemu-devel] [PATCH] ehci: fix compile error with EHCI_DEBUG enabled Gabriel L. Somlo
2012-11-16 13:50     ` Stefan Hajnoczi
2012-11-16 13:54       ` Gerd Hoffmann
2012-11-12 15:17   ` [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems Gabriel L. Somlo
2012-11-13  8:48     ` Gerd Hoffmann
2012-11-13 15:48       ` Gabriel L. Somlo [this message]
2012-11-13 16:31         ` Gerd Hoffmann
2012-11-13 17:28           ` Gabriel L. Somlo

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=20121113154824.GA11399@hedwig.ini.cmu.edu \
    --to=gsomlo@gmail.com \
    --cc=agraf@suse.de \
    --cc=jbaron@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rene@exactcode.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).