From owner-freebsd-current@freebsd.org Wed Mar 9 22:36:31 2016 Return-Path: Delivered-To: freebsd-current@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 3DA7CACAE8A; Wed, 9 Mar 2016 22:36:31 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (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 E7A421F58; Wed, 9 Mar 2016 22:36:30 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id c3so74358863vkb.3; Wed, 09 Mar 2016 14:36:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=8qDG3MvJYE/G9Nyal6lIb2L/6XKpA5OJ62wiwZziZ0k=; b=JP1aT/Y4LrMDqTU5e6fZ3Ppirltyii+JB8htcWOt5ftY1XSzjUd2SKxhhpzRIfa8ZR Km9jUbndbxuy+UGvTVCrszqhdstVNhTO6na7IQNeie8ff8cWF9hl4MAEdNgQZWlw54pA nIXxo/Aft2GyCPNGZdt4oaJusiAh0WaQ6l5dFJJiap3UIndZZMJGbM8nHHSj0evimXga yOPqJwIN61P6HhruWKQ68nepPJUplpD6CCurQ2h3xG7gAl8c1b8IEYzECyvZb3ryqubX T92vFPtsuIBAh4Xc05N4HERzYcWUVriaXhmQb+AUGH12xHS1fv1dwy23epFKMlf5Ro/X h/lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=8qDG3MvJYE/G9Nyal6lIb2L/6XKpA5OJ62wiwZziZ0k=; b=B0VXv+lWvg4/5IQmeqoAPbs0QIA2DCDLcY8/TEs5YWqzw51Mt8rS1Bqt4puD+Z+lSh nsiCJhd+zNycmJFJa/7mYfR/EPxwlAbn03MaXveiiPDfM/hS+ibOSarbFtCdYXmTj89b j3w9uDrRBqu3j421KbTTZVczmprg9/ds7X8CdRYdJo03qL4I8/sqnTfzKzORh+zV99ES HHfjSgHDYvfc6k3IsO20AI7wqWgnYavTIS7QOBMrD/G9LFycyGfkJWE1Qiff3vPZ2YVc OUrGrsbdbs4gjoegssKKgy09WF8Sek4ypMKLoAV+HjmjhkvjRahliW38TcYzn7sBb7d9 MRiA== X-Gm-Message-State: AD7BkJKqjbDETCLS73mQ3AJzhRNMyPbRGBgllheCOm0Id4rUynwpYPkZTzWteABTlW/0KjAScG81TViVq8CifQ== MIME-Version: 1.0 X-Received: by 10.31.16.84 with SMTP id g81mr160087vki.152.1457562989939; Wed, 09 Mar 2016 14:36:29 -0800 (PST) Received: by 10.31.194.194 with HTTP; Wed, 9 Mar 2016 14:36:29 -0800 (PST) In-Reply-To: References: Date: Wed, 9 Mar 2016 17:36:29 -0500 Message-ID: Subject: Re: sr-iov issues, reset_hw() failed with error -100 From: Ultima To: Eric Joyner Cc: freebsd-current@freebsd.org, freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2016 22:36:31 -0000 I have been interested in this when I first read about it in 2012. =] Can this be done in loader.conf? I have vmm_load="YES" I'm not sure if the vf's are usable, I have not actually tested the vf's. The parent ix1 still shows no response. kldunload vmm kenv hw.vmm.force_iommu=1 kldload vmm iovctl -Cf /etc/iovctl.conf The same error messages appear, I currently on hmm i'm not sure, I upgraded with git and it doesn't show rev(last time I use git for source?) 8b372d1(master) On Wed, Mar 9, 2016 at 5:00 PM, Eric Joyner wrote: > I don't know if you're still interested in this, but did you do "kenv > hw.vmm.force_iommu=1" before loading the vmm module? I think that might be > necessary. > > On Wed, Feb 24, 2016 at 5:12 PM Ultima wrote: > >> Yeah, still getting the -100 error, I do have sendmail disabled. I just >> tested with sendmail up and running then add the VF's and it still shows >> the error message. >> >> On Wed, Feb 24, 2016 at 8:04 PM, Eric Joyner wrote: >> >>> Are you still getting the -100 errors when trying to load the VF driver? >>> >>> I've tried SR-IOV on a system here, and I can confirm that traffic stops >>> passing on the PF interface when you create a VF interface. That didn't >>> used to happen, so I'm investigating why that is right now. >>> >>> On Wed, Feb 24, 2016 at 8:09 AM Ultima wrote: >>> >>>> Decided to do some more tests, I actually have a second board with >>>> sr-iov >>>> capabilities that I used for awhile with vmware esxi. I decided to test >>>> this out and unfortunately it won't activate, it is giving the no space >>>> left on device error message. I double checked bios and all VT-d related >>>> options are enabled and have hw.ix.num_queues="4" in /boot/loader.conf. >>>> Is >>>> there anything else that may need to be set? .(It did work on vmware) >>>> >>>> For my second test, I moved the X540-AT1 to the board with the >>>> X540-AT2. >>>> It functioned with the same issues as the AT2 tho. >>>> >>>> >>>> I don't think I listed the motherboards in question yet so ill list them >>>> now. >>>> >>>> S1200BTLRM - >>>> >>>> http://ark.intel.com/products/69633/Intel-Server-Board-S1200BTLRM?q=S1200BTLRM >>>> MD80-TM0 >>>> >>>> - http://b2b.gigabyte.com/products/product-page.aspx?pid=5146#ov >>>> >>>> I'm not sure if it will be of any help tho. >>>> >>>> Ultima >>>> _______________________________________________ >>>> freebsd-current@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>>> To unsubscribe, send any mail to " >>>> freebsd-current-unsubscribe@freebsd.org" >>>> >>> >>