From owner-freebsd-virtualization@FreeBSD.ORG Sun May 25 19:00:52 2014 Return-Path: Delivered-To: virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 07D08B23; Sun, 25 May 2014 19:00:52 +0000 (UTC) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE5872880; Sun, 25 May 2014 19:00:51 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id AAD06153A9F; Sun, 25 May 2014 21:00:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lNihFpMbwNfX; Sun, 25 May 2014 21:00:45 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:9c9a:f8a3:b550:e3bd] (unknown [IPv6:2001:4cb8:3:1:9c9a:f8a3:b550:e3bd]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 6CC4A1534D1; Sun, 25 May 2014 21:00:45 +0200 (CEST) Message-ID: <53823DDE.2040805@digiware.nl> Date: Sun, 25 May 2014 21:00:46 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Steve Wills , virtualization@FreeBSD.org Subject: Re: bhyve ahci issue References: <20140525015017.GB50490@mouf.net> In-Reply-To: <20140525015017.GB50490@mouf.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 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, 25 May 2014 19:00:52 -0000 On 25-5-2014 3:50, Steve Wills wrote: > Hi, > > A bhyve VM I run had this: > > pid 79784 (bhyve), uid 0: exited on signal 6 (core dumped) > > and the only thing on the console was this: > > ahcich0: Timeout on slot 27 port 0 > ahcich0: is 00000000 cs 00000000 ss ffffffff rs ffffffff tfd 50 serr 00000000 cmd 1000c017 > (ada0:ahcich0:0:0:0): READ_FPDMA_QUEUED. ACB: 60 48 ca a6 6a 40 0b 00 00 00 00 00 > (ada0:ahcich0:0:0:0): CAM status: Command timeout > (ada0:ahcich0:0:0:0): Retrying command > Assertion failed: (aior != NULL), function ahci_handle_dma, file /usr/src/usr.sbin/bhyve/pci_ahci.c, line 493. I've converted this Assert into a regular test of an empty list, and up'till I have not run into trouble.... I needed to remove/convert it, because running Linux with ahci on a AMD cpu ran into ATA FLUSH problems.. So I'm currently ignoring Linux ATA FLUSH. But perhaps others can share some light on why this as to be an Assert in this corner of the code instead of just a regular test. I also do get FPDMA timeouts under Linux with AHCI, but they do not panic, again because of the "fix". --WjW