All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Anton Samsonov <avscomputing@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: General protection fault in netback
Date: Tue, 21 Feb 2012 11:58:30 -0500	[thread overview]
Message-ID: <20120221165830.GA32413@phenom.dumpdata.com> (raw)
In-Reply-To: <CALtE5p=vdM-3myFDpAFQb2Fq7RW_v0B8ipFp2ai1kL2OO1oLXg@mail.gmail.com>

On Tue, Feb 21, 2012 at 06:06:14PM +0300, Anton Samsonov wrote:
> 2012/2/15 Pasi Kärkkäinen <pasik@iki.fi>:
> 
> AS>> Unfortunately, I'm not skilled at compiling the kernel myself.
> AS>> I tried building the newest 3.2.6 with all Xen options enabled,
> AS>> but the resulting system didn't have netback.ko module at all,
> AS>> barely booted, and xm was not able to communicate with VMM.
> 
> PK> About compiling the dom0 kernel, see this wiki page:
> PK> http://wiki.xen.org/wiki/XenParavirtOps#Configure_kernel_for_dom0_support
> 
> Thanks, it looks like I just messed some "y" with "m" and vice versa
> ("m" is presented as a meaningless bullet in GUI). By the way, that how-to
> contains dubious lines for CONFIG_XEN_DEV_EVTCHN and CONFIG_XEN_GNTDEV.
> 
> Well, now the system boots more eagerly, although the kernel still
> seems to be slightly incompatible with distro's environment and my hardware.
> But at least xend is now responding and is able to run DomUs as usual.
> 
> 
> I started and stopped all the swarm of VMs several times (without letting them
> to run for some time), and observed no GPF. But instead of this I get
> screen garbling: while a DomU is starting or stopping, the whole graphical
> desktop is sometimes painted with either black or not-so-random garbage,
> and even mouse pointer can become garbled; I have to move / resize windows
> to get them repainted. Network connectivity between Dom0 and [subsequently
> started] DomUs does not break though.
> 
> On one hand, I am not sure whether the video driver is not to be
> blamed for glitches,
> because graphics already does not work as usual: it is not hardware-accelerated
> with my custom kernel (while it is with stock kernel), and the screen is garbled
> on Xorg startup, before login promt is displayed. On the other hand, this is not

So... I am curious, what graphic card do you have and do you get any of
these Red Hat BZs?  RH BZ# 742032, 787403, and 745574?

> in any way normal, as Xen operations must not interfere with Dom0's desktop
> (or was it direct VRAM corruption?).

It is complicated. There is a bug in 3.2 when using radeon or nouveau for a lengthy
time of period that ends up "corrupting" memory. The workaround is to provide 'nopat'
on the argument line.

> 
> This happens even when "suspicious" domains (NetBSD with CARP) are not
> started: on a freshly booted Dom0, just having 4 essential DomUs is enough
> to get that screen garbling when shutting down 1 or 2 of them for the
> first time.

Hmm, that is weird. Never seen that before. Can you include more details on your
machine?

> 
> 
> But when I return to stock kernel, I can run a dozen of such DomUs (including
> those NetBSD load-balancers), starting and stopping them many times
> without a problem. Recently, no GPF occurred when only 1 out of 2 balancers
> is started, or none of them started at all; or it just needs much more uptime
> to accumulate memory corruption for a GPF.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2012-02-21 16:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03 16:32 General protection fault in netback Anton Samsonov
2012-02-09 21:13 ` Konrad Rzeszutek Wilk
2012-02-15 16:29   ` Anton Samsonov
2012-02-15 18:31     ` Pasi Kärkkäinen
2012-02-21 15:06       ` Anton Samsonov
2012-02-21 16:58         ` Konrad Rzeszutek Wilk [this message]
2012-02-22 12:17           ` Anton Samsonov
2012-02-22 18:11             ` Konrad Rzeszutek Wilk
2012-02-23  9:08             ` Jan Beulich

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=20120221165830.GA32413@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=avscomputing@gmail.com \
    --cc=xen-devel@lists.xensource.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 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.