From owner-freebsd-virtualization@freebsd.org Thu Aug 17 03:20:24 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 0C436DC303B for ; Thu, 17 Aug 2017 03:20:24 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: from mail-pg0-x232.google.com (mail-pg0-x232.google.com [IPv6:2607:f8b0:400e:c05::232]) (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 CB3398250F for ; Thu, 17 Aug 2017 03:20:23 +0000 (UTC) (envelope-from rajil.s@gmail.com) Received: by mail-pg0-x232.google.com with SMTP id t80so6008569pgb.5 for ; Wed, 16 Aug 2017 20:20:23 -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=cgiSRteyT6M0f99bxWVFsvqita7ly0n6Vi0KAYptaKE=; b=IjDf8We30nizSlAwzgHblfVNaN3wrRYe04Pr3le/mRx6JEudvr1D59btvhKsUjjt5P YeoXmzc8iWH54IiEOKRHpcEpRlsx4ZVWmYq0tkbPmQTzYqjTNu0UfUpys29nlCrMh/zv 3Kn39PcCgqbOQAYv3dTb+pVBs1vWwLIP0UGJYY3FkkFPPK3p2m3koq7k6Qcmtpl0xbAn 2q8Y4U0jqfNcQmdw9HaxT5sRdatGzx629xYj7EAubYoxRGwkJhSaiDq9v5SfOTAv+aDX uTVxODkMQa99yziltYt8C9QRLFkNYCjg2jmOJ9eCIp6MJpgT2mBIxpKux5JAYzUbi+H2 juTg== 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=cgiSRteyT6M0f99bxWVFsvqita7ly0n6Vi0KAYptaKE=; b=i8VfA2Fdb1Ob9fvwPqlythX/KBRClh8le39faSQrYDdljGp80LXicQf7IX4aSRbBYd rlrSwZt9H5F4T/dLKizaBg533Pom4MYdE1d+QW5+4nD/hzxyChjEfnnDBwWuDSyLLigj ZGgUooBb+t5bn6PKD6yRBIjVeZPpCiWYNbOv1hFl3wkQ2kJ3JGA2p56xvLu/OCg1MuVl 0rjD3lbjsBWX40NpQsPEifeLo2lSIe05xtAasCTC1kV841uyRxjrcxNQgzODarBkDK8R bTwDoWftA1LNQC4pvaYT83s5uZNc3qz/G69IsGuln2ABByNF4JRIqdxv80o8EtT48TGj XgWg== X-Gm-Message-State: AHYfb5iPHlbWIyOU9/4QTDcXrAH28qCsdmP+0cD5sNPHIFo/FDq3REFH /n8k6JWHT/0Dq4r7sd0= X-Received: by 10.99.190.69 with SMTP id g5mr3673344pgo.152.1502940023180; Wed, 16 Aug 2017 20:20:23 -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 c19sm4246805pfk.3.2017.08.16.20.20.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Aug 2017 20:20:22 -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: <7fdbeedb-b83a-6775-2bb8-3fdf3e8e2d24@gmail.com> Date: Wed, 16 Aug 2017 22:20:18 -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: Thu, 17 Aug 2017 03:20:24 -0000 After setting debug="YES" in the vm's conf file, i get the following: # cat bhyve.log rdmsr to register 0x34 on vcpu 0 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.