From owner-freebsd-xen@freebsd.org Thu May 26 15:10:34 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A48F3B4BD2B for ; Thu, 26 May 2016 15:10:34 +0000 (UTC) (envelope-from prvs=947007f5f=roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66B5D1307 for ; Thu, 26 May 2016 15:10:34 +0000 (UTC) (envelope-from prvs=947007f5f=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.26,367,1459814400"; d="scan'208";a="356832431" Date: Thu, 26 May 2016 17:10:25 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Marcin Cieslak CC: Subject: Re: Leftover (null) domUs Message-ID: <20160526151025.we5erunbf5dsmejh@mac> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0-neo (2016-04-07) X-DLP: MIA1 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 15:10:34 -0000 On Mon, May 23, 2016 at 07:38:42PM +0000, Marcin Cieslak wrote: > Hello, > > sometimes (rarely) zombie domains are left over after "xl destroy": > > # xl list > Name ID Mem VCPUs State Time(s) > Domain-0 0 3270 1 r----- 28887.1 > (null) 7 0 1 --ps-d 769.7 > (null) 34 0 2 --p--d 5.3 > > both are HVMs runing on r299012, (#7 was HVM FreeBSD guest, #34 Windows 2016 Server). > > Recent "xl dmesg entries": > > (XEN) mm.c:2010:d0v0 Error pfn 12b0a5: rd=ffff8304122e4000, od=0000000000000000, caf=180000000000000, taf=0000000000000001 > (XEN) mm.c:2010:d0v0 Error pfn 12b0a4: rd=ffff8304122e4000, od=0000000000000000, caf=180000000000000, taf=0000000000000001 > (XEN) mm.c:2010:d0v0 Error pfn 12b0a3: rd=ffff8304122e4000, od=0000000000000000, caf=180000000000000, taf=0000000000000001 > (XEN) mm.c:2010:d0v0 Error pfn 12b0a2: rd=ffff8304122e4000, od=0000000000000000, caf=180000000000000, taf=0000000000000001 Right, can you paste the output of the 'g' debug key when you have only domains in such state? You can easily do it from xl, using the following rune: # xl debug-keys g Then if you have the serial console setup you will see some output on it, if not you can fetch the output using `xl dmesg`. Thanks, Roger.