From: Ian Campbell Subject: Re: Backtrace in xen/next-2.6.38 when running guest Date: Wed, 2 Feb 2011 19:31:23 +0000 Message-ID: <1296675083.20804.243.camel@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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: M A Young Cc: Fitzhardinge , "xen-devel@lists.xensource.com" , Jeremy, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Wed, 2011-02-02 at 19:20 +0000, M A Young wrote: > I get backtraces from the dom0 kernel when running a guest with networking > (via netback) enabled such as the one below (there are some slight > variations but the first two lines and most of the rest of the contents > are the same). > BUG: sleeping function called from invalid context at mm/page_alloc.c:2190 Thanks. Netback for upstream is still a WIP (I wasn't expecting it to be merged anywhere yet and have already and will continue to rebase my branch). In particular one of the things which needs to go away for upstreaming is the tasklet vs. kthread mode option in favour of always using a kthread. Doing this will hopefully resolve this issue since the allocation will no longer be in a context where sleeping is disallowed. I you can't wait for my next post of the driver for upstream then setting MODPARM_netback_kthread = 1 in drivers/net/xen-netback/netback.c will have roughly the same effect. Ian.