All of lore.kernel.org
 help / color / mirror / Atom feed
* qemu usb not working after restore
@ 2009-02-11 22:32 James Harper
  2009-02-11 22:44 ` James Harper
  2009-02-12 12:01 ` Ian Jackson
  0 siblings, 2 replies; 10+ messages in thread
From: James Harper @ 2009-02-11 22:32 UTC (permalink / raw)
  To: xen-devel

I have tracked my gplpv hanging-on-restore problem down to the qemu usb
interrupt getting 'stuck'.

Even when it doesn't get 'stuck', the tablet device (and therefore
presumably the USB) doesn't work anymore and the pointer reverts back to
the mouse that doesn't track the real pointer very well.

Is this a known bug anywhere? If not, any suggestions as to where to
start looking would be greatly appreciated!

Thanks

James

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: qemu usb not working after restore
  2009-02-11 22:32 qemu usb not working after restore James Harper
@ 2009-02-11 22:44 ` James Harper
  2009-02-12  8:46   ` Keir Fraser
  2009-02-12 12:01 ` Ian Jackson
  1 sibling, 1 reply; 10+ messages in thread
From: James Harper @ 2009-02-11 22:44 UTC (permalink / raw)
  To: James Harper, xen-devel

> 
> I have tracked my gplpv hanging-on-restore problem down to the qemu
usb
> interrupt getting 'stuck'.
> 
> Even when it doesn't get 'stuck', the tablet device (and therefore
> presumably the USB) doesn't work anymore and the pointer reverts back
to
> the mouse that doesn't track the real pointer very well.
> 
> Is this a known bug anywhere? If not, any suggestions as to where to
> start looking would be greatly appreciated!
> 

After a quick look, I can see that the _save and _load code in
usb_uhci.c is "#if 0"'d out. Stefano Stabellini posted a patch on Oct 15
to enable it again, but I can't see it anywhere... maybe I'm just using
a bad tree?

James

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: qemu usb not working after restore
  2009-02-11 22:44 ` James Harper
@ 2009-02-12  8:46   ` Keir Fraser
  2009-02-12 10:17     ` Stefano Stabellini
  0 siblings, 1 reply; 10+ messages in thread
From: Keir Fraser @ 2009-02-12  8:46 UTC (permalink / raw)
  To: James Harper, xen-devel; +Cc: Ian Jackson, Stefano Stabellini

On 11/02/2009 22:44, "James Harper" <james.harper@bendigoit.com.au> wrote:

>> Is this a known bug anywhere? If not, any suggestions as to where to
>> start looking would be greatly appreciated!
>> 
> 
> After a quick look, I can see that the _save and _load code in
> usb_uhci.c is "#if 0"'d out. Stefano Stabellini posted a patch on Oct 15
> to enable it again, but I can't see it anywhere... maybe I'm just using
> a bad tree?

That's a question for Stefano and Ian Jackson. If we're not backporting
sufficient stabiliation patches from the unstable git repo, that's quite a
problem.

 -- Keir

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: qemu usb not working after restore
  2009-02-12  8:46   ` Keir Fraser
@ 2009-02-12 10:17     ` Stefano Stabellini
  2009-02-12 10:36       ` venkatesh k
  2009-02-12 10:51       ` Ian Jackson
  0 siblings, 2 replies; 10+ messages in thread
From: Stefano Stabellini @ 2009-02-12 10:17 UTC (permalink / raw)
  To: Keir Fraser; +Cc: James Harper, Ian Jackson, xen-devel

Keir Fraser wrote:

> On 11/02/2009 22:44, "James Harper" <james.harper@bendigoit.com.au> wrote:
> 
>>> Is this a known bug anywhere? If not, any suggestions as to where to
>>> start looking would be greatly appreciated!
>>>
>> After a quick look, I can see that the _save and _load code in
>> usb_uhci.c is "#if 0"'d out. Stefano Stabellini posted a patch on Oct 15
>> to enable it again, but I can't see it anywhere... maybe I'm just using
>> a bad tree?
> 
> That's a question for Stefano and Ian Jackson. If we're not backporting
> sufficient stabiliation patches from the unstable git repo, that's quite a
> problem.
> 

I can see that my patch was not backported to the 3.3 testing tree.
Ian, can you please backport commit
5f8914edc785ddbd3cae769aa8309c80609c3601 on qemu-xen-unstable?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: qemu usb not working after restore
  2009-02-12 10:36       ` venkatesh k
@ 2009-02-12 10:33         ` Stefano Stabellini
  2009-02-12 10:40         ` Keir Fraser
  1 sibling, 0 replies; 10+ messages in thread
From: Stefano Stabellini @ 2009-02-12 10:33 UTC (permalink / raw)
  To: venkatesh k; +Cc: xen-devel, James Harper, Ian Jackson, Keir Fraser

venkatesh k wrote:

> make -f buildconfigs/mk.linux-2.6-xen build
> make[2]: Entering directory `/home/mamce/Desktop/xen-3.3.1'
> set -e ; \
> 	if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \
> 	    __repo=$(sh buildconfigs/select-repository linux-2.6.18-xen.hg .:..) ; \
> 	    if [ -d ${__repo} ] ; then \
> 	        echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \
> 	        ln -s ${__repo} linux-2.6.18-xen.hg ; \
> 	    else \
> 	        echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \
> 	        hg clone ${__repo#file://} linux-2.6.18-xen.hg ; \
> 	    fi ; \
> 	else \
> 	    __parent=$(hg -R linux-2.6.18-xen.hg path default) ; \
> 	    echo "Pulling changes from ${__parent} into linux-2.6.18-xen.hg." ; \
> 	    hg -R linux-2.6.18-xen.hg pull ${__parent} ; \
> 	fi
> select-repository: Searching `.:..' for linux-2.6.18-xen.hg
> select-repository: Ignoring `.'
> Unable to determine path to Linux source tree.
> Falling back to linux-2.6.18-xen Mercurial repository.
> Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to linux-2.6.18-xen.hg.
> /bin/sh: hg: not found

do you have mercurial installed on you machine?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: qemu usb not working after restore
  2009-02-12 10:17     ` Stefano Stabellini
@ 2009-02-12 10:36       ` venkatesh k
  2009-02-12 10:33         ` Stefano Stabellini
  2009-02-12 10:40         ` Keir Fraser
  2009-02-12 10:51       ` Ian Jackson
  1 sibling, 2 replies; 10+ messages in thread
From: venkatesh k @ 2009-02-12 10:36 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, James Harper, Ian Jackson, Keir Fraser

make -f buildconfigs/mk.linux-2.6-xen build
make[2]: Entering directory `/home/mamce/Desktop/xen-3.3.1'
set -e ; \
	if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \
	    __repo=$(sh buildconfigs/select-repository linux-2.6.18-xen.hg .:..) ; \
	    if [ -d ${__repo} ] ; then \
	        echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \
	        ln -s ${__repo} linux-2.6.18-xen.hg ; \
	    else \
	        echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \
	        hg clone ${__repo#file://} linux-2.6.18-xen.hg ; \
	    fi ; \
	else \
	    __parent=$(hg -R linux-2.6.18-xen.hg path default) ; \
	    echo "Pulling changes from ${__parent} into linux-2.6.18-xen.hg." ; \
	    hg -R linux-2.6.18-xen.hg pull ${__parent} ; \
	fi
select-repository: Searching `.:..' for linux-2.6.18-xen.hg
select-repository: Ignoring `.'
Unable to determine path to Linux source tree.
Falling back to linux-2.6.18-xen Mercurial repository.
Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to linux-2.6.18-xen.hg.
/bin/sh: hg: not found
make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 127
make[2]: Leaving directory `/home/mamce/Desktop/xen-3.3.1'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/home/mamce/Desktop/xen-3.3.1'
make: *** [install-kernels] Error 1


On 2/12/09, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote:
> Keir Fraser wrote:
>
>> On 11/02/2009 22:44, "James Harper" <james.harper@bendigoit.com.au> wrote:
>>
>>>> Is this a known bug anywhere? If not, any suggestions as to where to
>>>> start looking would be greatly appreciated!
>>>>
>>> After a quick look, I can see that the _save and _load code in
>>> usb_uhci.c is "#if 0"'d out. Stefano Stabellini posted a patch on Oct 15
>>> to enable it again, but I can't see it anywhere... maybe I'm just using
>>> a bad tree?
>>
>> That's a question for Stefano and Ian Jackson. If we're not backporting
>> sufficient stabiliation patches from the unstable git repo, that's quite a
>> problem.
>>
>
> I can see that my patch was not backported to the 3.3 testing tree.
> Ian, can you please backport commit
> 5f8914edc785ddbd3cae769aa8309c80609c3601 on qemu-xen-unstable?
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: qemu usb not working after restore
  2009-02-12 10:36       ` venkatesh k
  2009-02-12 10:33         ` Stefano Stabellini
@ 2009-02-12 10:40         ` Keir Fraser
  1 sibling, 0 replies; 10+ messages in thread
From: Keir Fraser @ 2009-02-12 10:40 UTC (permalink / raw)
  To: venkatesh k, Stefano Stabellini; +Cc: James Harper, Ian Jackson, xen-devel

Your backtrace doesn't seem very pertinent to this thread. Looks like you
don't have the mercurial package installed on your build system.

 -- Keir

On 12/02/2009 10:36, "venkatesh k" <venkatesh7venkatesh@gmail.com> wrote:

> make -f buildconfigs/mk.linux-2.6-xen build
> make[2]: Entering directory `/home/mamce/Desktop/xen-3.3.1'
> set -e ; \
> if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \
>    __repo=$(sh buildconfigs/select-repository linux-2.6.18-xen.hg .:..) ; \
>    if [ -d ${__repo} ] ; then \
>        echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \
>        ln -s ${__repo} linux-2.6.18-xen.hg ; \
>    else \
>        echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \
>        hg clone ${__repo#file://} linux-2.6.18-xen.hg ; \
>    fi ; \
> else \
>    __parent=$(hg -R linux-2.6.18-xen.hg path default) ; \
>    echo "Pulling changes from ${__parent} into linux-2.6.18-xen.hg." ; \
>    hg -R linux-2.6.18-xen.hg pull ${__parent} ; \
> fi
> select-repository: Searching `.:..' for linux-2.6.18-xen.hg
> select-repository: Ignoring `.'
> Unable to determine path to Linux source tree.
> Falling back to linux-2.6.18-xen Mercurial repository.
> Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to
> linux-2.6.18-xen.hg.
> /bin/sh: hg: not found
> make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 127
> make[2]: Leaving directory `/home/mamce/Desktop/xen-3.3.1'
> make[1]: *** [linux-2.6-xen-install] Error 2
> make[1]: Leaving directory `/home/mamce/Desktop/xen-3.3.1'
> make: *** [install-kernels] Error 1
> 
> 
> On 2/12/09, Stefano Stabellini <stefano.stabellini@eu.citrix.com> wrote:
>> Keir Fraser wrote:
>> 
>>> On 11/02/2009 22:44, "James Harper" <james.harper@bendigoit.com.au> wrote:
>>> 
>>>>> Is this a known bug anywhere? If not, any suggestions as to where to
>>>>> start looking would be greatly appreciated!
>>>>> 
>>>> After a quick look, I can see that the _save and _load code in
>>>> usb_uhci.c is "#if 0"'d out. Stefano Stabellini posted a patch on Oct 15
>>>> to enable it again, but I can't see it anywhere... maybe I'm just using
>>>> a bad tree?
>>> 
>>> That's a question for Stefano and Ian Jackson. If we're not backporting
>>> sufficient stabiliation patches from the unstable git repo, that's quite a
>>> problem.
>>> 
>> 
>> I can see that my patch was not backported to the 3.3 testing tree.
>> Ian, can you please backport commit
>> 5f8914edc785ddbd3cae769aa8309c80609c3601 on qemu-xen-unstable?
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: qemu usb not working after restore
  2009-02-12 10:17     ` Stefano Stabellini
  2009-02-12 10:36       ` venkatesh k
@ 2009-02-12 10:51       ` Ian Jackson
  1 sibling, 0 replies; 10+ messages in thread
From: Ian Jackson @ 2009-02-12 10:51 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, James Harper, Keir Fraser

Stefano Stabellini writes ("Re: [Xen-devel] qemu usb not working after restore"):
> I can see that my patch was not backported to the 3.3 testing tree.
> Ian, can you please backport commit
> 5f8914edc785ddbd3cae769aa8309c80609c3601 on qemu-xen-unstable?

Done.  James, thanks for pointing that out.

Ian.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: qemu usb not working after restore
  2009-02-11 22:32 qemu usb not working after restore James Harper
  2009-02-11 22:44 ` James Harper
@ 2009-02-12 12:01 ` Ian Jackson
  2009-02-12 12:06   ` James Harper
  1 sibling, 1 reply; 10+ messages in thread
From: Ian Jackson @ 2009-02-12 12:01 UTC (permalink / raw)
  To: James Harper; +Cc: xen-devel

James Harper writes ("[Xen-devel] qemu usb not working after restore"):
> I have tracked my gplpv hanging-on-restore problem down to the qemu usb
> interrupt getting 'stuck'.

So once again sorry for not backporting the usb save/restore fix to
3.3 earlier.  Do you have everything you need now, to apply that
change to your own trees ?  If you need any help feel free to ask here
or email me privately.

Ian.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: qemu usb not working after restore
  2009-02-12 12:01 ` Ian Jackson
@ 2009-02-12 12:06   ` James Harper
  0 siblings, 0 replies; 10+ messages in thread
From: James Harper @ 2009-02-12 12:06 UTC (permalink / raw)
  To: Ian Jackson; +Cc: xen-devel

> James Harper writes ("[Xen-devel] qemu usb not working after
restore"):
> > I have tracked my gplpv hanging-on-restore problem down to the qemu
usb
> > interrupt getting 'stuck'.
> 
> So once again sorry for not backporting the usb save/restore fix to
> 3.3 earlier.  Do you have everything you need now, to apply that
> change to your own trees ?  If you need any help feel free to ask here
> or email me privately.
> 

It's all good now. It was driving me quite crazy there for a while, as
the most obvious result was that the DomU would hang hard as soon as I
enabled interrupts after a restore, and I assumed my GPLPV drivers were
breaking something and causing an IRQ to be stuck, but it turned out to
be the USB drivers. It's one of those things that was obvious in
retrospect (the mouse pointer reverted to mouse instead of tablet on the
occasions when it didn't hang). The moment I applied the fix it all
worked again.

Thanks

James

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-02-12 12:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-11 22:32 qemu usb not working after restore James Harper
2009-02-11 22:44 ` James Harper
2009-02-12  8:46   ` Keir Fraser
2009-02-12 10:17     ` Stefano Stabellini
2009-02-12 10:36       ` venkatesh k
2009-02-12 10:33         ` Stefano Stabellini
2009-02-12 10:40         ` Keir Fraser
2009-02-12 10:51       ` Ian Jackson
2009-02-12 12:01 ` Ian Jackson
2009-02-12 12:06   ` James Harper

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.