From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 9 18:28:50 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 420C5106564A; Sun, 9 Sep 2012 18:28:50 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 388EA8FC0A; Sun, 9 Sep 2012 18:28:48 +0000 (UTC) Received: by lbbgg13 with SMTP id gg13so1172821lbb.13 for ; Sun, 09 Sep 2012 11:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=aAJly1vWCL2Lf8+Rzup+82ke6l9bqKU5VKjZnGLRmks=; b=gaaFgN64FSVmF8GeJ6kiy95UH4xAdEfcBqoY0+UwWSZBWkqPf63XPuIEt0pBLXQCz/ fuKSlt1Qe0lMuvSB5PIUK50o85RAyY0QHDvCFDNktgSvCw0/xfLT8zTSh0/AJHUC/XsA w/WaqLNbXU2Gz3E/ame1Qcm5Umq17hxnzlpcB3sdTqgI53z3MX3lTFy4WpAZaDEARw5N HzkK6Gp6QrT/EUbmVr9Ev3Eur9kP0mWjqGPZcPfnbmXFw1pFra/R+hMG1md1Kvan+g0e 65+frNiaEyKpnor9XKU7zkiyqe2a9mdu12UvXQurQmpWuCGATTyTTmb9nRIHh9h4Lu6s CLpQ== Received: by 10.152.48.70 with SMTP id j6mr769820lan.57.1347215327756; Sun, 09 Sep 2012 11:28:47 -0700 (PDT) Received: from kloomba ([95.104.140.49]) by mx.google.com with ESMTPS id c6sm2149417lbk.10.2012.09.09.11.28.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Sep 2012 11:28:46 -0700 (PDT) Sender: Roman Bogorodskiy Date: Sun, 9 Sep 2012 22:28:12 +0400 From: Roman Bogorodskiy To: Andreas Nilsson Message-ID: <20120909182811.GB8000@kloomba> References: <20120815155222.GA46502@kloomba> <20120819191127.GA1733@kloomba> <5031C58C.40108@freebsd.org> <20120820133613.GA1701@kloomba> <50324270.9040504@freebsd.org> <20120902164750.GA3721@kloomba> <20120902165648.GB3721@kloomba> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-virtualization@freebsd.org Subject: Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2012 18:28:50 -0000 --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Andreas Nilsson wrote: > On Sun, Sep 2, 2012 at 6:56 PM, Roman Bogorodskiy wro= te: >=20 > > Roman Bogorodskiy wrote: > > > > > Peter Grehan wrote: > > > > > > > Hi Roman, > > > > > > > > > Yeah, but I'd like to leave more memory for the host system, so I > > > > > specified 6GB. I have 8GB at all, so 2GB left for VMs. > > > > > Should it cause any problems? > > > > > > > > No, that should be fine. > > > > > > > > > BTW, I encountered a problem with the tap0 device. I create a tap > > device > > > > > and assign an address to it, using 'ifconfig tap0 192.168.1.1 up'. > > > > > > > > > > I boot a VM and everything goes fine. When I do 'reboot' in the > > guest, > > > > > it reboots, but tap0 on the host goes down and its address is > > dropped. > > > > > Is that an expected behaviour? > > > > > > > > Yes - we probably need to fix the tap device to not do that :( > > > > > > Yeah, it would be great to get this fixed. > > > > > > And one question: is there a way to get a list of all running VMs on = the > > > host? Doesn't seem like vmmctl being able to do that. > > > > Oh, I've started reading the code and figured out that I can just do > > `ls /dev/vmm`! > > > > Roman Bogorodskiy > > >=20 > IMHO: Please don't introduce "reading stuff in /dev" as a standard way to > get info ( at least not for end user). sysctl is so much nicer to work wi= th. Yes, reading from /dev is not very convenient, but appears that sysctl is not supported. I didn't read the code though, but I don't see anything looking like that in sysctl -a. Probably the most handy way of doing that is via 'vmmctl' or a tool like that. Anyways, I started spotting one more problem: I start a VM like that: sudo /usr/sbin/bhyveload -m 256 -M 0 -h /var/run/bhyve/test1/vm1 test1 sudo /usr/bin/cpuset -l 0-3 /usr/sbin/bhyve -m 256 -M 0 -s 1,virtio-net,tap= 0 test1 The last commands give me: Failed to emulate instruction at 0xffffffff80594f3a What could be wrong with that? Roman Bogorodskiy --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iQEcBAEBAgAGBQJQTN+6AAoJEMltX/4IwiJqYtcH/0NwXEpwdlY7sDFXPBsflu0g QQVePx7nUpUtrHtF968jkgaiZIeRg15tHD60UaeFQkjmmcxu3Jz7W/hLC8jiQFH/ 112qoYLfzKRkEskGUb3ib/VAHrgVdHioV6Q4ml17ajxSKuJGhrCAc3n3jnITJ2gv T5hDiSI1nafjan8MNdHQsPcVl29fcUVJu692/n7Kn7FYzTy/o+29KOufpA+Z4Oak EV8FoSzdZOCbFEwqpvjv3V3TrUtkKfGFeHjIw1JVuBwRB+9cXZlZF8Cj9NSZfjcg DwMZu99etXrvtsCbwQf6EuGghV3MvW3UlK0kTJO5EnNGrDajocimir+DwBeau+I= =Wf6K -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH-- From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 10 11:10:21 2012 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B273510656D3 for ; Mon, 10 Sep 2012 11:10:21 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9C88FC16 for ; Mon, 10 Sep 2012 11:10:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8ABALB7074130 for ; Mon, 10 Sep 2012 11:10:21 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8ABAJtO073752 for freebsd-virtualization@FreeBSD.org; Mon, 10 Sep 2012 11:10:19 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Sep 2012 11:10:19 GMT Message-Id: <201209101110.q8ABAJtO073752@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-virtualization@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 11:10:21 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/170096 virtualization[vimage] Dynamically-attached network interface will c o kern/169991 virtualization[run] [vimage] panic after device plugged in o kern/165252 virtualization[vimage] [pf] [panic] kernel panics with VIMAGE and PF o kern/161094 virtualization[vimage] [pf] [panic] kernel panic with pf + VIMAGE wh o kern/160541 virtualization[vimage][pf][patch] panic: userret: Returning on td 0x o kern/160496 virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE o kern/148155 virtualization[vimage] [pf] Kernel panic with PF/IPFilter + VIMAGE k a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail a kern/141696 virtualization[rum] [vimage] [panic] rum(4)+ vimage = kernel panic 10 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 10 23:28:43 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9DE7106566C; Mon, 10 Sep 2012 23:28:43 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9208FC0C; Mon, 10 Sep 2012 23:28:43 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 5383212D32; Tue, 11 Sep 2012 09:28:36 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (c-75-70-8-22.hsd1.co.comcast.net [75.70.8.22]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BGI42338 (AUTH peterg@ptree32.com.au); Tue, 11 Sep 2012 09:28:33 +1000 Message-ID: <504E779A.4020006@freebsd.org> Date: Mon, 10 Sep 2012 17:28:26 -0600 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Roman Bogorodskiy References: <20120815155222.GA46502@kloomba> <20120819191127.GA1733@kloomba> <5031C58C.40108@freebsd.org> <20120820133613.GA1701@kloomba> <50324270.9040504@freebsd.org> <20120902164750.GA3721@kloomba> <20120902165648.GB3721@kloomba> <20120909182811.GB8000@kloomba> In-Reply-To: <20120909182811.GB8000@kloomba> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Info: RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL X-Junkmail-Status: score=24/51, host=dommail.onthenet.com.au Cc: freebsd-virtualization@freebsd.org Subject: Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 23:28:43 -0000 Hi Roman, > I start a VM like that: > > sudo /usr/sbin/bhyveload -m 256 -M 0 -h /var/run/bhyve/test1/vm1 test1 > sudo /usr/bin/cpuset -l 0-3 /usr/sbin/bhyve -m 256 -M 0 -s 1,virtio-net,tap0 test1 > > The last commands give me: > > Failed to emulate instruction at 0xffffffff80594f3a > > What could be wrong with that? Was this during boot or later ? Do you have a console log up to where it occurred ? later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Thu Sep 13 16:13:03 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEB1D106566C; Thu, 13 Sep 2012 16:13:03 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 047EA8FC22; Thu, 13 Sep 2012 16:13:02 +0000 (UTC) Received: by lbbgg13 with SMTP id gg13so2541648lbb.13 for ; Thu, 13 Sep 2012 09:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=nR2UYk6gNWBgXKrBGrav5XIZEknxoaPp0W7wEAsqn8o=; b=XfxsvYiExhX5Coxa4e4qx0j7j1vznZKFosN45KoclQwgbZS7QFGTTGYhM7xtpRSG5O NtejpZ5DA48QUkpnLJ/bfheE0qi4yS6BopgYaStQbRB+4vG1Akn+pW6w24DyMAzbg7dG eJa3Z2gxTZ0FfaaZE25aOzVYYmJbxMymJEk6xwNhk2I6RSPz5QFZTfFURcg+evrAyfL6 sCDpqMAWtT25dwSR5unVX+AwHZ6akRxSGT1Rw5ltfKaluyvZkyN7xKJWxWxeldpA/N17 xGQCLLgyZm8WfmlDivNlDr/9ip0Va1Faj+n/zLf5UA5cB66+QkAUFXlNuBlU40ZaS0o8 Q/tw== Received: by 10.152.130.3 with SMTP id oa3mr2443336lab.27.1347552781753; Thu, 13 Sep 2012 09:13:01 -0700 (PDT) Received: from kloomba ([77.94.198.244]) by mx.google.com with ESMTPS id d1sm6270258lbk.16.2012.09.13.09.12.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Sep 2012 09:13:00 -0700 (PDT) Sender: Roman Bogorodskiy Date: Thu, 13 Sep 2012 20:12:50 +0400 From: Roman Bogorodskiy To: Peter Grehan Message-ID: <20120913161247.GA1671@kloomba> References: <20120815155222.GA46502@kloomba> <20120819191127.GA1733@kloomba> <5031C58C.40108@freebsd.org> <20120820133613.GA1701@kloomba> <50324270.9040504@freebsd.org> <20120902164750.GA3721@kloomba> <20120902165648.GB3721@kloomba> <20120909182811.GB8000@kloomba> <504E779A.4020006@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <504E779A.4020006@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-virtualization@freebsd.org Subject: Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2012 16:13:04 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Peter Grehan wrote: > Hi Roman, >=20 > > I start a VM like that: > > > > sudo /usr/sbin/bhyveload -m 256 -M 0 -h /var/run/bhyve/test1/vm1 test1 > > sudo /usr/bin/cpuset -l 0-3 /usr/sbin/bhyve -m 256 -M 0 -s 1,virtio-net= ,tap0 test1 > > > > The last commands give me: > > > > Failed to emulate instruction at 0xffffffff80594f3a > > > > What could be wrong with that? >=20 > Was this during boot or later ? Do you have a console log up to where= =20 > it occurred ? Hm, I see strange things happening. When I was seing this 'Failed to emulate instruction at 0xffffffff80594f3a', it happened right after boot loader menu (the one with the ascii-art). At that time I had 'hw.physmem=3D"0x180000000"' in my host's loader.conf. Also the problem wasn't 100% reproducible, it started to show up after creating/destroying several VMs. I replaced the physmem value with hw.physmem=3D"0x100000000". Now I have 100% reproducibility and it fails here: GDB: debug ports: bvm GDB: current port: bvm KDB: debugger backends: ddb gdb KDB: current backend: ddb (20:06) novel@kloomba:~/bhyve/vm1 %> I can still see this VM in /dev/vmm though. Roman Bogorodskiy --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iQEcBAEBAgAGBQJQUgX/AAoJEMltX/4IwiJqAJMIAJkwEtmafqfxhsMH1esvJAOU Qgln1RvMc3zvuXNIfV0VFmdGqMQFsSSqMbqhuL0t9tCDAdRCQ2Ciy5cIkh/RcbFY FF69HTWrd67pFLYhfFbblnDTMKoOcAEsmxwuHgWUBoK2GvysP+9sjV139jrVwMfm UlzxP7xcUVdvsxkQN2bCK7ghD/31ZVSCn+FsXokeCm8Y6dKiTmLLUz42VQbz3ZB1 /0YW0y7bf3lypKZZIUGhtojtVBrUKY4Mw7MGAxFRaTRfqVO8jptby0pdNNSX3fmX 1Qv+PpRiyJgXkapA83DQqaDfP2mXlt8fYc0fZFdnKdD3KZEnKwcRe+/RC5+j3WQ= =yv4F -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-virtualization@FreeBSD.ORG Thu Sep 13 19:19:02 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89C05106566C; Thu, 13 Sep 2012 19:19:02 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3A6A48FC12; Thu, 13 Sep 2012 19:19:01 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id BF57C139FE; Fri, 14 Sep 2012 05:19:00 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (c-75-70-8-22.hsd1.co.comcast.net [75.70.8.22]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BGK10853 (AUTH peterg@ptree32.com.au); Fri, 14 Sep 2012 05:18:58 +1000 Message-ID: <505231A0.1070304@freebsd.org> Date: Thu, 13 Sep 2012 13:18:56 -0600 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Roman Bogorodskiy References: <20120815155222.GA46502@kloomba> <20120819191127.GA1733@kloomba> <5031C58C.40108@freebsd.org> <20120820133613.GA1701@kloomba> <50324270.9040504@freebsd.org> <20120902164750.GA3721@kloomba> <20120902165648.GB3721@kloomba> <20120909182811.GB8000@kloomba> <504E779A.4020006@freebsd.org> <20120913161247.GA1671@kloomba> In-Reply-To: <20120913161247.GA1671@kloomba> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Info: RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL X-Junkmail-Status: score=29/51, host=dommail.onthenet.com.au Cc: freebsd-virtualization@freebsd.org Subject: Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2012 19:19:02 -0000 Hi Roman, > When I was seing this 'Failed to emulate instruction at > 0xffffffff80594f3a', it happened right after boot loader menu (the one > with the ascii-art). At that time I had 'hw.physmem="0x180000000"' in my > host's loader.conf. Also the problem wasn't 100% reproducible, it > started to show up after creating/destroying several VMs. OK - I'm now wondering if this is a guest phys memory leak in the hypervisor, and it's not reporting the error correctly. How many times do you have to create/destroy vm's for this to occurr ? later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Sat Sep 15 08:56:51 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E8E0106564A; Sat, 15 Sep 2012 08:56:51 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id C30738FC12; Sat, 15 Sep 2012 08:56:50 +0000 (UTC) Received: by lbbgg13 with SMTP id gg13so3964192lbb.13 for ; Sat, 15 Sep 2012 01:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=6NMrkDUkOz3+EtVPOZbRiJQiBq6XWvku3jXOB0X/Xq8=; b=WnvnOAukoOHFH8K+DVf/K5M3sn4yiF6t2ZaBQBkjmJkVYsgPJTdteo+hYoEyW6bwH8 aaXo3pZ/pGI5yIwLaloAaAmxafMMKQsnaGjsczXUF9OdtZydMeaQq03xqeGTg0ZAQcXC xZYXPlGR/9D2BDjQF6+Rr/c4Mcah+WTuxiM0NUMvBREjjd3wTzSRYqIgnmiPLhWigsQy MCbuVnUMP5ufBxl1fqR/RJwapSRC4aJ8XJoaS73nhTS7v/S69yQz+lVLvgmuwa0voNuN iRGrhqGveOsczgqehcYY1+ckfnuyal55gGahSCrmBzM16Va9ILcUIKsqNuWFhZ+jk91Y qsIg== Received: by 10.152.110.101 with SMTP id hz5mr4684269lab.39.1347699404217; Sat, 15 Sep 2012 01:56:44 -0700 (PDT) Received: from kloomba ([95.104.135.200]) by mx.google.com with ESMTPS id u10sm1070544lbf.11.2012.09.15.01.56.42 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 15 Sep 2012 01:56:43 -0700 (PDT) Sender: Roman Bogorodskiy Date: Sat, 15 Sep 2012 12:56:26 +0400 From: Roman Bogorodskiy To: Peter Grehan Message-ID: <20120915085625.GB1673@kloomba> References: <5031C58C.40108@freebsd.org> <20120820133613.GA1701@kloomba> <50324270.9040504@freebsd.org> <20120902164750.GA3721@kloomba> <20120902165648.GB3721@kloomba> <20120909182811.GB8000@kloomba> <504E779A.4020006@freebsd.org> <20120913161247.GA1671@kloomba> <505231A0.1070304@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <505231A0.1070304@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-virtualization@freebsd.org Subject: Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2012 08:56:51 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Peter Grehan wrote: > Hi Roman, >=20 > > When I was seing this 'Failed to emulate instruction at > > 0xffffffff80594f3a', it happened right after boot loader menu (the one > > with the ascii-art). At that time I had 'hw.physmem=3D"0x180000000"' in= my > > host's loader.conf. Also the problem wasn't 100% reproducible, it > > started to show up after creating/destroying several VMs. >=20 > OK - I'm now wondering if this is a guest phys memory leak in the=20 > hypervisor, and it's not reporting the error correctly. >=20 > How many times do you have to create/destroy vm's for this to occurr ? I'm writing some sort of automation scripts so I created and destroy vms quite often, I guess maybe 20 times or so... BTW, any ideas why I stared loosing a console after: GDB: debug ports: bvm GDB: current port: bvm KDB: debugger backends: ddb gdb KDB: current backend: ddb ? Roman Bogorodskiy --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iQEcBAEBAgAGBQJQVEK5AAoJEMltX/4IwiJqlDIH/2Ha+wQKipbTwA5gNe72CiZ/ P3/3Mnk1ZPnoUXx/zfM0KGECUKd9nZgPvqVFsFW9OdkfnbVCDFQkhsv+Sio3cnYi YD0L9lczAoYpmEVdN7NYNeemtorZup7wLYe6YlMVVsnoW6FC7x3+Pa/cd2K5oaZr moAFHHoKzksp43ct3LZrW+pNGclf//HpF8fCGe00bjpV3xr1KhG2i5yF9o1cITWv s1tZShkoElGm9M/p2ZQilyBe2F2VM5wYDocQbnO2fn0bDDUsiQOUU6yrTDKw5kuG NZw5frDgl/lIoTror4nf8dU7uvbG61bXTzPKvqzE4mGSkngDcUWAF9c/WV5EiKQ= =Q6H2 -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--