From owner-freebsd-virtualization@FreeBSD.ORG Wed Jan 7 22:20:46 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4ED3F6C; Wed, 7 Jan 2015 22:20:46 +0000 (UTC) Received: from sc31-mx-01.schema31.it (2-228-74-186.ip190.fastwebnet.it [2.228.74.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "sc31-mx-01.schema31.it", Issuer "sc31-mx-01.schema31.it" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A2D09DD; Wed, 7 Jan 2015 22:20:45 +0000 (UTC) Received: from [192.168.1.52] (host20-239-dynamic.22-79-r.retail.telecomitalia.it [79.22.239.20]) (authenticated bits=0) by sc31-mx-01.schema31.it (8.14.9/8.14.7) with ESMTP id t07MB7KH013128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jan 2015 23:11:13 +0100 (CET) (envelope-from abrancatelli@schema31.it) References: <54AD70AC.7020603@freebsd.org> Mime-Version: 1.0 (1.0) In-Reply-To: <54AD70AC.7020603@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPad Mail (12B440) From: Andrea Brancatelli Subject: Re: bhyve stuck Date: Wed, 7 Jan 2015 23:11:11 +0100 To: Peter Grehan X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (sc31-mx-01.schema31.it [2.228.74.186]); Wed, 07 Jan 2015 23:11:14 +0100 (CET) Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Wed, 07 Jan 2015 22:20:47 -0000 Hello Peter. The host is a FreeBSD 10.1-p3. I tried to restart the VM, but it hung after bhyveload. I had to reboot the physical host and what's worst is that the MySQL instanc= e inside of the VM was trashed. Luckily I has backups. Sent from my iPad > On 07/gen/2015, at 18:45, Peter Grehan wrote: >=20 > Hi Andrea, >=20 >> Assertion failed: (aior !=3D NULL), function ahci_handle_dma, file >> /usr/src/usr.sbin/bhyve/pci_ahci.c, line 494. >=20 > Ok - this should result in the bhyve process exiting. >=20 >> Now the VM is totally hang. Trying to kill bhyve doesn=E2=80=99t work, no= t >> even kill -9. I tries do to do a bhyvectl =E2=80=94destroy and the VM >> disappeared from /dev/vmm but I am strongly uncomfortable with what >> to do now. The process is still there. Can I restart the VM? >=20 > It should be fine to restart after a bhyvectl --destroy >=20 >> This is the state of the process: > ... > > 91715 100246 bhyve blk-2:0 7 121 stop getblk >=20 > This seems to be the culprit. What's the version of FreeBSD running on the= host ? >=20 > tychon@ did quite a bit of work recently on making the block layer more ro= bust in the face of guest controller timeouts. This made it in to CURRENT as= of r274330, and was MFCd to 10-STABLE with r276429. That change may help wi= th your issue. >=20 > later, >=20 > Peter.