From owner-freebsd-virtualization@freebsd.org Thu May 18 12:43:13 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 8392AD718B3; Thu, 18 May 2017 12:43:13 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3CCD21; Thu, 18 May 2017 12:43:13 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dBKlr-000D95-9g; Thu, 18 May 2017 13:43:11 +0100 Date: Thu, 18 May 2017 13:43:11 +0100 From: Gary Palmer To: Andrew Vylegzhanin Cc: Ryan Stone , freebsd-net , freebsd-virtualization@freebsd.org Subject: Re: vmx bug? Message-ID: <20170518124311.GB89273@in-addr.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false 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, 18 May 2017 12:43:13 -0000 On Thu, May 18, 2017 at 08:39:24AM +0300, Andrew Vylegzhanin wrote: > I will test this VM with Linux tomorrow. > > Just for information, here is part of .vmx file with pci related conifg: > > pciBridge0.present = "TRUE" > > pciBridge4.present = "TRUE" > pciBridge4.virtualDev = "pcieRootPort" > pciBridge4.functions = "8" > pciBridge5.present = "TRUE" > pciBridge5.virtualDev = "pcieRootPort" > pciBridge5.functions = "8" > pciBridge6.present = "TRUE" > pciBridge6.virtualDev = "pcieRootPort" > pciBridge6.functions = "8" > pciBridge7.present = "TRUE" > pciBridge7.virtualDev = "pcieRootPort" > pciBridge7.functions = "8" > pciBridge0.pciSlotNumber = "17" > pciBridge4.pciSlotNumber = "21" > pciBridge5.pciSlotNumber = "22" > pciBridge6.pciSlotNumber = "23" > pciBridge7.pciSlotNumber = "24" > vmci0.pciSlotNumber = "33" > ethernet0.pciSlotNumber = "192" > ethernet1.pciSlotNumber = "224" > ethernet2.pciSlotNumber = "256" > ethernet3.pciSlotNumber = "1184" <== vmx0 !!! Out of curiosity, if you install sysutils/dmidecode from ports and run dmidecode -t 41 does it help at all? Some PC vendors have taken to doing odd things with their PCI layout which produce unexpected results with device naming (so port 1 on the back of the server is not the first interface in the OS) and introduced DMI type 41 as a "fix" e.g. see https://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_linux.pdf Regards, Gary > 2017-05-18 6:52 GMT+03:00 Ryan Stone : > > > > On Wed, May 17, 2017 at 7:32 PM, Andrew Vylegzhanin > wrote: > >> > >> > >> vmx0@pci0:4:0:0: class=0x020000 card=0x07b015ad chip=0x07b015ad rev=0x01 > hdr=0x00 > >> > >> vendor = 'VMware' > >> > >> device = 'VMXNET3 Ethernet Controller' > >> > >> class = network > >> > >> subclass = ethernet > >> > >> vmx1@pci0:11:0:0: class=0x020000 card=0x07b015ad chip=0x07b015ad > rev=0x01 hdr=0x00 > >> > >> vendor = 'VMware' > >> > >> device = 'VMXNET3 Ethernet Controller' > >> > >> class = network > >> > >> subclass = ethernet > >> > >> vmx2@pci0:19:0:0: class=0x020000 card=0x07b015ad chip=0x07b015ad > rev=0x01 hdr=0x00 > >> > >> vendor = 'VMware' > >> > >> device = 'VMXNET3 Ethernet Controller' > >> > >> class = network > >> > >> subclass = ethernet > >> > >> vmx3@pci0:27:0:0: class=0x020000 card=0x07b015ad chip=0x07b015ad > rev=0x01 hdr=0x00 > >> > >> vendor = 'VMware' > >> > >> device = 'VMXNET3 Ethernet Controller' > >> > >> class = network > >> > >> subclass = ethernet > > > > > > Everything appears to be enumerated in the proper order. Do other OSes, > say Linux, somehow enumerate in a different order? > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >