From owner-freebsd-virtualization@freebsd.org Thu Aug 17 02:38:50 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2B70DE6F1A for ; Thu, 17 Aug 2017 02:38:50 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 74499803E5 for ; Thu, 17 Aug 2017 02:38:46 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 3E41C201DE70 for ; Thu, 17 Aug 2017 12:38:45 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 371F3281F26 for ; Thu, 17 Aug 2017 12:38:45 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xYQ6Q-BFk5c3 for ; Thu, 17 Aug 2017 12:38:45 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 84ED928098C; Thu, 17 Aug 2017 12:38:43 +1000 (AEST) Subject: Re: My USB card is a bhyve killer To: Rajil Saraswat References: Cc: freebsd-virtualization From: Peter Grehan Message-ID: <131a715e-67bd-e9fc-b5ce-755259c00b79@freebsd.org> Date: Wed, 16 Aug 2017 19:38:38 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=KeKAF7QvOSUA:10 a=vggBfdFIAAAA:8 a=j8byBHkdNZciFddVWiQA:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2017 02:38:50 -0000 Hi, > I have a PCIe USB card which is exported to the bhyve vm using > passthrough. I have tried to use the card in Ubuntu, Debian 8 and Centos > 7. Each time the OS has given a segmentation fault on bootup and killed > the bhyve session. This is what i get in the bhyve-log: Is stderr logged anywhere ? That may have additional error output from the bhyve passthru code. > The USB card works fine on the host and is detected by the xhci driver. > The card is "Inateck Superspeed 4 Ports PCI-E to USB 3.0 Expansion Card > - Interface USB 3.0 4-Port" (https://www.amazon.com/gp/product/B00B6ZCNGM) > > ppt3@pci0:129:0:0: class=0x0c0330 card=0x11001b73 chip=0x11001b73 > rev=0x10 hdr=0x00 > vendor = 'Fresco Logic' > device = 'FL1100 USB 3.0 Host Controller' > class = serial bus > subclass = USB Would you be able to post the output of pciconf -l -BbcV pci0:129:0:0 later, Peter.