Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2017 18:46:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-virtualization@FreeBSD.org
Subject:   [Bug 215740] [bhyve] utilizing passthru breaks raw device usage with virtio-blk | ahci-hd
Message-ID:  <bug-215740-27103-XfnWT6EPRl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215740-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215740-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215740

--- Comment #6 from Harald Schmalzbauer <bugzilla.freebsd@omnilan.de> ---
Created attachment 182869
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182869&action=
=3Dedit
Vebose boot of ppt corruvting /dev/ada via bhyve-ahci

I tried to investigate further.
I can confirm that the same procedure also breaks UEFI booting:
X64 Exception Type - 000000000000000D     CPU Apic ID - 00000000 !!!!
RIP  - 000000007FB00FF5, CS  - 0000000000000028, RFLAGS - 0000000000010002
ExceptionData - 0000000000000000
RAX  - 0000000000000000, RCX - 0000000000000008, RDX - 0000000000000408
RBX  - 0000000000000001, RSP - 000000007FBEF468, RBP - 000000007FBEF7C8
RSI  - 000000007E549B2E, RDI - 000000007FBEF468
R8   - 000000007FBEF97C, R9  - 000000007FC16A9F, R10 - 00000000000003F8
R11  - 0000000000000040, R12 - 0000000000000000, R13 - 0000000000000000
R14  - 0000000000000000, R15 - 0000000000000000
DS   - 0000000000000008, ES  - 0000000000000008, FS  - 0000000000000008
GS   - 0000000000000008, SS  - 0000000000000008
CR0  - 0000000080000033, CR2 - 0000000000000000, CR3 - 000000007FB8E000
CR4  - 0000000000000668, CR8 - 0000000000000000
DR0  - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3  - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 000000007FB78E98 000000000000003F, LDTR - 0000000000000000
IDTR - 000000007F711018 0000000000000FFF,   TR - 0000000000000000
FXSAVE_STATE - 000000007FBEF0C0

This happens as soon as I add a passthru device.
Attached is a verbose boot of an install-iso, with bhyve-ahci (responsive, =
dd
to /dev/null leads to _real_ disk activity, unfortunately NULLs only, not t=
he
disk's data).
One thin I noticed is that I always get the message "pcib0: no PRT entry for
0.5.INTA" for any passthru device, regardless which slot I use.

Any help highly appreciated! How do others use passthru?

-harry

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215740-27103-XfnWT6EPRl>