Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 21:00:46 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Steve Wills <swills@FreeBSD.org>, virtualization@FreeBSD.org
Subject:   Re: bhyve ahci issue
Message-ID:  <53823DDE.2040805@digiware.nl>
In-Reply-To: <20140525015017.GB50490@mouf.net>
References:  <20140525015017.GB50490@mouf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53823DDE.2040805>