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--