bhyve ahci issue

Willem Jan Withagen wjw at digiware.nl
Sun May 25 19:00:52 UTC 2014


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



More information about the freebsd-virtualization mailing list