From owner-freebsd-xen@freebsd.org Mon May 23 19:38:46 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 E5053B4619B for ; Mon, 23 May 2016 19:38:46 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "m.saper.info", Issuer "Marcin Cieslak 2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 858BC1B61 for ; Mon, 23 May 2016 19:38:46 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id u4NJcgi9054126 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 23 May 2016 19:38:43 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id u4NJcggY054123 for ; Mon, 23 May 2016 19:38:42 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Mon, 23 May 2016 19:38:42 +0000 From: Marcin Cieslak To: freebsd-xen@freebsd.org Subject: Leftover (null) domUs Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Mon, 23 May 2016 19:38:47 -0000 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 Trying to kill them again with xl destroy causes: # xl destroy 7 libxl: error: libxl_dm.c:1602:kill_device_model: unable to find device model pid in /local/domain/7/image/device-model-pid libxl: error: libxl.c:1615:libxl__destroy_domid: libxl__destroy_device_model failed for 7 libxl: info: libxl.c:1698:devices_destroy_cb: forked pid 18500 for destroy of domain 7 Marcin 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. From owner-freebsd-xen@freebsd.org Thu May 26 21:51:47 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 A6376B4C81C for ; Thu, 26 May 2016 21:51:47 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "m.saper.info", Issuer "Marcin Cieslak 2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 408F31031 for ; Thu, 26 May 2016 21:51:46 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id u4QLpfeV092002 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 May 2016 21:51:41 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id u4QLpekB091999; Thu, 26 May 2016 21:51:40 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Thu, 26 May 2016 21:51:40 +0000 From: Marcin Cieslak To: =?ISO-8859-15?Q?Roger_Pau_Monn=E9?= cc: freebsd-xen@freebsd.org Subject: Re: Leftover (null) domUs In-Reply-To: <20160526151025.we5erunbf5dsmejh@mac> Message-ID: References: <20160526151025.we5erunbf5dsmejh@mac> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT 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 21:51:47 -0000 On Thu, 26 May 2016, Roger Pau Monné wrote: > 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? Thanks, didn't know that one. Will try the next time it happens, fortunately not very often. Marcin From owner-freebsd-xen@freebsd.org Thu May 26 22:29:51 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 E61C8B4CF7C for ; Thu, 26 May 2016 22:29:51 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "m.saper.info", Issuer "Marcin Cieslak 2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 85AB719D2 for ; Thu, 26 May 2016 22:29:48 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id u4QMTkKx092267 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 26 May 2016 22:29:46 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id u4QMTj3W092264 for ; Thu, 26 May 2016 22:29:46 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Thu, 26 May 2016 22:29:45 +0000 From: Marcin Cieslak To: freebsd-xen@FreeBSD.org Subject: Getting more than 800x600 on the HVM console? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 22:29:52 -0000 Despite having memory = 4096 videoram=16 vga = "stdvga" in my Windows hvm domU configuration my Xen console is always stuck on 800x600. (FreeBSD's VGA console is 640x480 even). Windows detects it as Microsoft Basic Display Adapter with the usual Bochs PCI IDs 0x1234/0x1111. The resolution is 800x600, grayed out, with 32bpp. It also says it has "2039MB Total Available Video Memory" which is also "2039MB Shared System Memory". Not sure it's FreeBSD specific, but all advice online tells me to set "videoram". Any hints? Marcin