From owner-freebsd-virtualization@freebsd.org Fri Aug 18 03:09:51 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 EC5AFDE99E4 for ; Fri, 18 Aug 2017 03:09:51 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-pg0-x234.google.com (mail-pg0-x234.google.com [IPv6:2607:f8b0:400e:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9B876FCC3 for ; Fri, 18 Aug 2017 03:09:51 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-pg0-x234.google.com with SMTP id i12so55185666pgr.3 for ; Thu, 17 Aug 2017 20:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=k1D/3PioqI2PX0n+Klz1KcY4AKCbvmQksh9iWuHMLrI=; b=OcOiNA/XpLU+095WeqDlaoMo37IeGyeTMMtVHhjXAT93DFJDWqtn1e9Ne42I4knZ+p nE/FR0U4DxknvfTkbQfrvXWJBlSXYtFVAJNaptZRcbRDT/+Bc0mzzG0dqau0oS8Izkg4 iKSFG/3g/4E3tb1zq7ljPPd/ASo8kHKDfC0p/fb/sBugPoRwnREKpthMZd2rWMTCkaJG BJ9yYquhtMYpH/AnNVPP8qwJ8U37zx3NpCifCpjCmQtbcEfk7R8Nm5Ux1YyiWaRf7x83 aH/A0V+Grmt32Qen9TiqP4h7NiGNP87lNgah8W5mHXU3zBr9kswLQ4ytaKGDTtlWkjWT j6Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=k1D/3PioqI2PX0n+Klz1KcY4AKCbvmQksh9iWuHMLrI=; b=POBPraCPx/1Q/auwCHerG8jNseedVo2+D9quaauA+gt705qTpMKrZk5b3HEzthLHZK ecYvGgrD4nrUHP/x8Hf8Crl2aHBwBkx+/WQzwpDVAx7dhff/a4XyAs+WVski+TQ36W3j ZuzgokHrbmZKjO67RFojp4GcRTtafJtabIOl/o7HhxDRO1DmoNVTAcrOgQrBbkH0EI1o A5aI6oaztJqryAfH1Ay4w1Z6ZDdcsVCMzrq9nBVQb2rNNcx3QG4OrWLdBMQ7dNdhxF/v x+yudH8ov/KSMWg82PeDh2LBQTE6+FlGpe3hixBvUhCVok7C9OlzmX+il/xnxWYiL+11 d2Pg== X-Gm-Message-State: AHYfb5gmUpdw5PKhb2z7Fj9cFLzX71xFu1AclR7zzKT4dlkLZTEWPwC4 05JwTbtG5SC4cvyrPfE= X-Received: by 10.98.113.9 with SMTP id m9mr7232972pfc.263.1503025791077; Thu, 17 Aug 2017 20:09:51 -0700 (PDT) Received: from [172.16.1.28] (c-73-232-201-213.hsd1.tx.comcast.net. [73.232.201.213]) by smtp.gmail.com with ESMTPSA id s89sm9072391pfe.155.2017.08.17.20.09.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Aug 2017 20:09:50 -0700 (PDT) Subject: Re: My USB card is a bhyve killer To: freebsd-virtualization References: <131a715e-67bd-e9fc-b5ce-755259c00b79@freebsd.org> From: Rajil Saraswat Message-ID: <449e6799-035f-6f30-9458-e5957b55860b@gmail.com> Date: Thu, 17 Aug 2017 22:09:47 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <131a715e-67bd-e9fc-b5ce-755259c00b79@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US 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: Fri, 18 Aug 2017 03:09:52 -0000 Any further thoughts on this? I would like to return this card back to Amazon in the next few days. So if anybody needs any more debug info please let me know. I do plan to retain the other NEC uPD720201 chipset based card since it works within bhyve. It seems something is broken in FreeBSD with respect to PCIe USB cards with all the boot freezes i have had. Is there any old version of FreeBSD which i can try to figure out if this is a regression? Thanks On 08/16/2017 09:38 PM, Peter Grehan wrote: > 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.