From: Boris Derzhavets Subject: Re: HVM pvops failures (one more qemu-dm.strace obtained) Date: Wed, 18 Mar 2009 07:42:51 -0700 (PDT) Message-ID: <143192.35326.qm@web56101.mail.re3.yahoo.com> References: Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0449162895==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge , Andrew Lyon Cc: Ian Campbell , "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org --===============0449162895== Content-Type: multipart/alternative; boundary="0-95655681-1237387371=:35326" --0-95655681-1237387371=:35326 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Ping is based on ICMP. =A0TCP (UDP) services might fail to reach the host. =A0Failure of cheksum offloading on the second host may be the first exampl= e. =A0But here it doesn't seem to be the case. "tcpdump" on Xen host may help after issue comes up. =A0See what happens to ssh packages when they arrive. Boris. =A0 --- On Wed, 3/18/09, Andrew Lyon wrote: From: Andrew Lyon Subject: Re: [Xen-devel] HVM pvops failures (one more qemu-dm.strace obtain= ed) To: "Jeremy Fitzhardinge" Cc: "Ian Campbell" , "Boris Derzhavets" , "xen-devel@lists.xensource.com" , "Ian Jackson" Date: Wednesday, March 18, 2009, 4:17 AM On Tue, Mar 3, 2009 at 5:41 PM, Jeremy Fitzhardinge wrote: > Andrew Lyon wrote: >> >> On Thu, Feb 26, 2009 at 11:35 AM, Ian Jackson >> wrote: >> >>> >>> Jeremy Fitzhardinge writes ("Re: [Xen-devel] HVM pvops failures (one more >>> qemu-dm.strace obtained)"): >>> >>>> >>>> I was hoping Ian J would pop up and say "Its broken like this! =A0Fix it >>>> like this!". >>>> >>> >>> Yes, when I have a moment I'll try it myself but I've been buried in >>> the bowels of a nightmare USB emulation. =A0Soon I'll know whether the >>> latter works and thus whether I have any time to dig into pvops. >>> >>> Ian. >>> >>> >> >> Has anybody made any progress on the qemu-dm / hvm issue with pv_ops? >> I spent most of yesterday going through the strace logs but I cannot >> see why it fails as it does. >> > > Thanks for looking into this. =A0The crash is a SIGBUS in qemu, shortly after > an mmap of /proc/xen/privcmd, which is a suspicious combination. =A0The SIGBUS > means we managed to create a mapping where the kernel thinks there are no > backing pages (at least in part). =A0It would be useful to know if any memory > accesses to the privcmd mapping succeed, and what the offset of the failing > one is. =A0(Assuming the SIGBUS is related to a privcmd mapping at all.) > > I don't think privcmd mappings can be completely broken, because the qemu > backend for pvfb works fine, and I assume that uses that path to map the > framebuffer... > > Also, have you tried using stub domains? =A0They should have no dependenc= e on > the dom0 kernel at all, so in theory they should work regardless. > > =A0 J > I tried Stub domains yesterday but as soon as I "xm create" the system locked up, I could still ping it but no response on the serial console and ssh was responsive, very strange.. I've never seen a system ping but have unresponsive console. Can we try to debug the problem with hvm on pv_ops? Andy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-95655681-1237387371=:35326 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Ping is based on ICMP.

 TCP (UDP)= services might fail to reach the host.
 Failure of cheksum offload= ing on the second host may be the first example.
 But here it doesn= 't seem to be the case.
"tcpdump" on Xen host may help after issue comes= up.
 See what happens to ssh packages when they arrive.

Bor= is.
 

--- On Wed, 3/18/09, Andrew Lyon <andrew.lyon= @gmail.com> wrote:
From: Andrew Lyon= <andrew.lyon@gmail.com>
Subject: Re: [Xen-devel] HVM pvops failur= es (one more qemu-dm.strace obtained)
To: "Jeremy Fitzhardinge" <jere= my@goop.org>
Cc: "Ian Campbell" <Ian.Campbell@eu.citrix.com>, "= Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-devel@lists.xensource= .com" <xen-devel@lists.xensource.com>, "Ian Jackson" <Ian.Jackson@eu.ci= trix.com>
Date: Wednesday, March 18, 2009, 4:17 AM

On Tue=
, Mar 3, 2009 at 5:41 PM, Jeremy Fitzhardinge <jeremy@goop.org>
wr= ote:
> Andrew Lyon wrote:
>>
>> On Thu, Feb 26, 200= 9 at 11:35 AM, Ian Jackson
<Ian.Jackson@eu.citrix.com>
>>= wrote:
>>
>>>
>>> Jeremy Fitzhardinge wri= tes ("Re: [Xen-devel] HVM pvops
failures (one more
>>> qemu-= dm.strace obtained)"):
>>>
>>>>
>>>&= gt; I was hoping Ian J would pop up and say "Its broken like
this!  = ;Fix it
>>>> like this!".
>>>>
>>>= ;
>>> Yes, when I have a moment I'll try it myself but I've bee= n
buried in
>>> the bowels of a nightmare USB emulation. &nb= sp;Soon I'll know
whether the
>>> latter works and thus whether I have any time to dig into pvops.
>>>
>>= ;> Ian.
>>>
>>>
>>
>> Has anyb= ody made any progress on the qemu-dm / hvm issue with pv_ops?
>> I= spent most of yesterday going through the strace logs but I cannot
>= > see why it fails as it does.
>>
>
> Thanks for lo= oking into this.  The crash is a SIGBUS in qemu, shortly
after
&= gt; an mmap of /proc/xen/privcmd, which is a suspicious combination.  = The
SIGBUS
> means we managed to create a mapping where the kernel= thinks there are no
> backing pages (at least in part).  It wou= ld be useful to know if any
memory
> accesses to the privcmd mappi= ng succeed, and what the offset of the
failing
> one is.  (As= suming the SIGBUS is related to a privcmd mapping at all.)
>
> = I don't think privcmd mappings can be completely broken, because the
qemu
> backend for pvfb works fine, and I assume that uses th= at path to map the
> framebuffer...
>
> Also, have you tr= ied using stub domains?  They should have no dependence
on
> = the dom0 kernel at all, so in theory they should work regardless.
>>   J
>

I tried Stub domains yesterday but as soon a= s I "xm create" the
system
locked up, I could still ping it but no re= sponse on the serial console
and ssh was responsive, very strange.. I've= never seen a system ping
but have unresponsive console.

Can we t= ry to debug the problem with hvm on pv_ops?

Andy

____________= ___________________________________
Xen-devel mailing list
Xen-devel@= lists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A --0-95655681-1237387371=:35326-- --===============0449162895== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0449162895==--