Re: pptdevs option crashes system

2016-04-24 Thread David Ehrmann
It sounds like the bug I reported a while ago, but on a different chip
family:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207602

On Sunday, April 24, 2016, Vesselin Mirewski  wrote:

> Hi,
> I'm trying to bring up an excellent PCIe Fusion board which has no driver
> for FreeBSD. I used bhyve to bring up an ubuntu server ( which has an
> original driver by the manufacturer )
> All went just fine, till I tried to pass through the board to the linux.
> My CPUs support all that's needed by bhyve: Xeon X5675.
>
> The board ( pciconf -lv ) :
>
> none3@pci0:11:0:0: class=0x018000 card=0x178d103c chip=0x10051aed rev=0x01
> hdr=0x00
> vendor = 'Fusion-io'
> device = 'ioDimm3'
> class  = mass storage
> none4@pci0:12:0:0: class=0x018000 card=0x178d103c chip=0x10051aed rev=0x01
> hdr=0x00
> vendor = 'Fusion-io'
> device = 'ioDimm3'
> class  = mass storage
>
> my /boot/loader.conf has ( bhyve part ):
> vmm_load="YES"
> nmdm_load="YES"
>
> *pptdevs="11/0/0 12/0/0"*
>
> The last line crashes the system - "Interrupt trap" and the system starts
> to shutdown the cpus ( which gets an ugly loop till it finally reboots )
>
> Then single user,  set pptdevs="" , boot and everything is fine again.
>
> The board is an HP accelerator board with 2x160GB SLC SSDs with ( according
> to specifications ) 150PB lifetime and the amazing 230,000 IOPs - I'm dying
> to do some benchmarks with PostgreSQL ...
>
> Any advice will be highly appreciated. Thanks in advance for your time.
>
> --
> --
> В. Миревски
> +359 884 63 74 64
> ___
> freebsd-virtualization@freebsd.org  mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscr...@freebsd.org "
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

PCI passthrough causes Skylake/Z170 system not to boot

2016-03-04 Thread David Ehrmann
I opened a but for this already[1], but I figured I'd ask here to see if
anyone's encountered it before.

I have a FreeBSD 10.3-BETA2 system with a Skylake CPU and a Z170
motherboard that stops booting when I try to use PCI passthrough. After the
boot loarder runs, but before root is mounted, an interrupt storm causes
controllers/devices (including the root disk) to be disconnected and
reconnected. Then, the system isn't able to mount the root disk, and the
boot fails. Disabling VT-d, removing vmm_load from loader.conf, and
removing pptdevs from loader.conf all fix the booting issue, but those are
all needed for PCI passthrough.

I've reproduced this with different devices, but the report is PCI
passthrough of the onboard ethernet controller.

[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207602
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"