Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems

2012-11-13 Thread Gabriel L. Somlo
On Tue, Nov 13, 2012 at 05:31:42PM +0100, Gerd Hoffmann wrote: > The last lines of the log are more useful, which is more than 650 > lines like this: > > usb_ehci_opreg_read 4.767 addr=0x2c str=FRINDEX val=0x0 > > So macos seems to expect the frame index updating, and probably frame > list ro

Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems

2012-11-13 Thread Gerd Hoffmann
On 11/13/12 16:48, Gabriel L. Somlo wrote: > 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

Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems

2012-11-13 Thread Gabriel L. Somlo
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

Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems

2012-11-13 Thread Gerd Hoffmann
On 11/12/12 16:17, Gabriel L. Somlo wrote: > Gerd, > > On Mon, Nov 12, 2012 at 11:26:18AM +0100, Gerd Hoffmann wrote: >> Seems macos doesn't like something in our ehci emulation ... >> Can you send a trace with all ehci tracepoints enabled? > > For brevity, I replaced each cluster of six "Port X

Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems

2012-11-12 Thread Gabriel L. Somlo
Gerd, On Mon, Nov 12, 2012 at 11:26:18AM +0100, Gerd Hoffmann wrote: > Seems macos doesn't like something in our ehci emulation ... > Can you send a trace with all ehci tracepoints enabled? For brevity, I replaced each cluster of six "Port X not enabled" lines with one "Port 0..5 not enabled", bu

Re: [Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems

2012-11-12 Thread Gerd Hoffmann
Hi, > First, what works: > > With the following command line (usb items on the last line): > > bin/qemu-system-x86_64 -enable-kvm -m 2048 -cpu core2duo \ > -device ich9-usb-uhci1 -device usb-kbd -device usb-mouse Just uhci. Ok. > If I replace: > > -device ich9-usb-uhci1 -device usb-kb

[Qemu-devel] q35, usb-ehci1, and Mac OS X boot problems

2012-11-11 Thread Gabriel L. Somlo
Hi, I'm testing OS X on the q35 tree, and it seems to work quite nicely so far. However, with the addition of "usb-ehci1" in the latest round of updates, I've started experiencing hangs during OS X boot. First, what works: With the following command line (usb items on the last line): bin/qemu-