From: Keir Fraser Subject: Re: can't create any more pv-on-hvm domains after~38under 3.3-testing Date: Wed, 03 Dec 2008 17:08:52 +0000 Message-ID: References: <4936BBA5.80600@virtualiron.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4936BBA5.80600@virtualiron.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Steve Ofsthun Cc: James Harper , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 03/12/2008 17:02, "Steve Ofsthun" wrote: > We have been investigating a similar sounding bug (hung pages with elevated > reference counts) that occur when blkback requests are issued over an iSCSI > backend device. The block requests appear to be running afoul of the lazy > copy optimization added for netback. In this path, foreign pages (assumed to > be netback pages?) are manipulated specially by the dma layer of the dom0 > network stack. On return to netback, the page refs are cleaned up. > > In our case, the foreign pages actually originate from blkback, are passed to > iSCSI for processing, and are abused by the ref manipulation in the dom0 > network stack. On return to blkback, the page refs are off. What we haven't > been able to do yet, is identify the exact circumstances that trigger the > issue. We have a fairly elaborate reproducer involving running a pool of > domains and continuously rebooting them. Eventually, one domain will hang on > exit with a stuck page with elevated ref counts. It'll be nice if James has a sure fire repro scenario then. -- Keir