Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2015 14:25:15 -0700
From:      Neel Natu <neelnatu@gmail.com>
To:        "Luis P. Mendes" <luislupe@gmail.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: Problem hiding USB host controller
Message-ID:  <CAFgRE9E2SuJ94QER%2BprtPoP1rNsOeqKABXmMuhCUu12ru3znJA@mail.gmail.com>
In-Reply-To: <CAMYA1yOh-z8OVki2v31Y5wo9eq8z3rMFHY8p8MqW62kOVfoQcA@mail.gmail.com>
References:  <CAMYA1yOh-z8OVki2v31Y5wo9eq8z3rMFHY8p8MqW62kOVfoQcA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Luis,

On Thu, Apr 9, 2015 at 1:43 PM, Luis P. Mendes <luislupe@gmail.com> wrote:
> Hi,
>
> I'm trying to passthrough a USB host controller (2.0 or 3.0) but there
> seems to be some kind of problem.
>
> # uname -a
> FreeBSD leao 10.1-STABLE FreeBSD 10.1-STABLE #0 r279201: Mon Feb 23
> 18:55:46 UTC 2015
> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>
> VT-d is enabled in bios.
> CPU is a Intel Xeon E3-1246v3 Haswell
>
>
> # cat /boot/loader.conf
> # load radeon firmware not presented
> pptdevs="0/26/0 1/0/0 0/20/0"
> blackhole_load="YES"
>
> # pciconf -lv
> # only relevant
> ehci0@pci0:0:26:0:      class=0x0c0320 card=0x8c2d1849 chip=0x8c2d8086
> rev=0x05 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Lynx Point USB Enhanced Host Controller'
>     class      = serial bus
>     subclass   = USB
>
> xhci0@pci0:0:20:0:      class=0x0c0330 card=0x8c311849 chip=0x8c318086
> rev=0x05 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Lynx Point USB xHCI Host Controller'
>     class      = serial bus
>     subclass   = USB
>
> ppt0@pci0:1:0:0:        class=0x010601 card=0x91721849 chip=0x91721b4b
> rev=0x11 hdr=0x00
>
>
> Only the 1:0:0 disk controler is hidden.  The two USB controllers, one
> ehci and one xhci are not.
>
> Why don't the controllers get hidden?
> Is the blackhole_load="YES" still relevant?  I tried with and without
> that line to no avail.
> Is my STABLE version too old?
>

The blackhole driver is not needed anymore since that functionality
was moved into vmm.ko.

Can you replace the line blackhole_load="YES" to vmm_load="YES" in loader.conf?

best
Neel

>
> Luis
>
> PS.  Keep up the excellent work bringing
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFgRE9E2SuJ94QER%2BprtPoP1rNsOeqKABXmMuhCUu12ru3znJA>