From owner-freebsd-virtualization@freebsd.org Sun Feb 28 05:28:33 2016 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 01860AB7FB8 for ; Sun, 28 Feb 2016 05:28:32 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::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 8FCE2197C for ; Sun, 28 Feb 2016 05:28:32 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id p65so30311867wmp.1 for ; Sat, 27 Feb 2016 21:28:32 -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=fwbslW3/H9lwPiNEYmhthvnpG6ixQ22UjjHBnFNXmXQ=; b=eUVzXvyV8Q6GjcFcSoCJZ15nd3J2ckNAYMQtKOY/X68OqDSrLYbzPm4pTxAumQ4Gb5 Sm9Xy00891wi5YEq4LKdzFcKh6NcU2y0du6aJma51kvaQwgv0hHj2IZ0ewrIVRb+ZKcC T+1og82RNKz/4ldGz1Q7vanlf2wIUZl5D160kFRV784cz9tN/zcNo9tY1jL8VPXPaXOb b4tuV6lBb5TwVxp69hc6g/1qWl7vb3YhrPs5++J/wHeTt1SX/HP7H7Kdwps8wL2tsEQi gxbSQ5rRktrm5x9EGvx2peijIZhw+kfTcN9pLbu64zTep8DgRqptPDpRgRhUemH+NOHk PRZA== 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=fwbslW3/H9lwPiNEYmhthvnpG6ixQ22UjjHBnFNXmXQ=; b=lOQpNtddKHmcaST0j/MOKjnV2QAmODpwl32K8Xxf66o3I9bhaQvb+pO29GybWlJDTe RhhYy0k1KTib0w0DIfZNq9vGApOny2uS10+EMBvPWsiD2G7cvuhR/q6f9CnMjqmuy/mY tYbShIH6mvaKvNM49o1N0S71o9YiBqNxw4eAdyfvW5TIInP+Tu2RHFSaSukQUBl9shaN yOdPFv7NeXy/8TK6IJSCNGU7uc/QZR69pH87aK402j3dtBHyD35K4btiy3qwwzscM+md aJ6RtTVBd9G7PBzB0HIBRt4qhlWhvuD29IjGRvGlq/hwhjbBcDdlJt32Tygz4+sqz2OB hPYg== X-Gm-Message-State: AD7BkJImQD+n2knC5ubg8odM/MEgcS/ZiTcXnH64ZoDTN2Z6Owb5awTjA50E5tg5TM2eCWJN3ajYibPcxYTFbQ== MIME-Version: 1.0 X-Received: by 10.194.9.34 with SMTP id w2mr3523378wja.170.1456637310294; Sat, 27 Feb 2016 21:28:30 -0800 (PST) Received: by 10.27.81.70 with HTTP; Sat, 27 Feb 2016 21:28:30 -0800 (PST) In-Reply-To: <56D173DC.9040805@bader-muenchen.de> References: <56D173DC.9040805@bader-muenchen.de> Date: Sat, 27 Feb 2016 21:28:30 -0800 Message-ID: Subject: Re: ath0 (wlan0) not working in virtulised guest with bhyve From: Neel Natu To: richard bader Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 28 Feb 2016 05:28:33 -0000 Hi Richard, On Sat, Feb 27, 2016 at 2:01 AM, richard bader wrote: > Hello, > > using ath0 (and wlan) on the host is working fine. But trying the same on > the guest does not work. > > on the host freebsd 10.2 ist running > on the guest freebsd 10.3 (10.3-BETA2 FreeBSD 10.3-BETA2 #0) is running > > the guest was started with: > /usr/sbin/bhyve -c 2 -m 2048M -A -H -P -g 0 -s 0:0,hostbridge -s > 1:0,lpc -s 2:0,virtio-net,tap0 -s 3:0,virtio-net,tap1 -s > 4:0,virtio-blk,wlan.bader.loc.img -s 5,passthru,5/0/0 -l com1,stdio wlan > > As simple experiment I try to scan for wlans using: > root@wlan:~ #ifconfig wlan0 create wlandev ath0 && ifconfig wlan0 up scan > but no wlan appears. > > > As adrian chadd (freebsd-wireless@freebsd.org) noticed, the irq16 is not > working: > > root@wlan:~ # vmstat -i > interrupt total rate > irq4: uart0 224 0 > cpu0:timer 10956 25 > irq265: virtio_pci0 295 0 > irq271: virtio_pci2 1267 2 > cpu1:timer 2982 7 > Total 15724 36 > > > root@wlan:~ # dmesg | grep irq > ioapic0 irqs 0-23 on motherboard > atrtc0: port 0x70-0x71 irq 8 on acpi0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > virtio_pci0: port 0x2000-0x201f mem > 0xc0000000-0xc0001fff irq 16 at device 2.0 on pci0 > virtio_pci1: port 0x2020-0x203f mem > 0xc0002000-0xc0003fff irq 17 at device 3.0 on pci0 > virtio_pci2: port 0x2040-0x207f mem > 0xc0004000-0xc0005fff irq 18 at device 4.0 on pci0 > ath0: mem 0xc0010000-0xc001ffff irq 16 at device 7.0 on pci0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > atkbd0: irq 1 on atkbdc0 > > > > the output of 'ifconfig wlan0' is the same as on the working host: > > > root@wlan:~ # dmesg | grep ath0 > ath0: mem 0xc0010000-0xc001ffff irq 16 at device 5.0 on pci0 > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] 2 RX streams; 2 TX streams > ath0: AR9287 mac 384.2 RF5133 phy 15.15 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > > > any hints to get it working? > I suspect that the ath0 controller does not support MSI/MSI-x interrupts. The output of 'pciconf -lvbc' on the host will confirm if this is the case. best Neel > thanks > > richard > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Sun Feb 28 15:17:20 2016 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 5CAE3AB7DD8 for ; Sun, 28 Feb 2016 15:17:20 +0000 (UTC) (envelope-from richard@bader-muenchen.de) Received: from gate1.bader-muenchen.de (gate1.bader-muenchen.de [213.179.151.243]) (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 E5D0D1749 for ; Sun, 28 Feb 2016 15:17:19 +0000 (UTC) (envelope-from richard@bader-muenchen.de) Received: from [IPv6:::1] (gate.bader.loc [192.168.16.3]) by gate1.bader-muenchen.de (8.15.2/8.15.2) with ESMTP id u1SFH7m7009764; Sun, 28 Feb 2016 16:17:08 +0100 (CET) (envelope-from richard@bader-muenchen.de) Subject: Re: ath0 (wlan0) not working in virtulised guest with bhyve To: Neel Natu References: <56D173DC.9040805@bader-muenchen.de> Cc: richard@bader-muenchen.de, "freebsd-virtualization@freebsd.org" From: richard bader Message-ID: <56D30F9F.4050005@bader-muenchen.de> Date: Sun, 28 Feb 2016 16:17:51 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 28 Feb 2016 15:17:20 -0000 Hey Neel, > I suspect that the ath0 controller does not support MSI/MSI-x > interrupts. The output of 'pciconf -lvbc' on the host will confirm if > this is the case. > thanks for the hint. The controller should support MSI interrupts. root@test10:/usr/src/sys # pciconf -lvbc ath0@pci0:5:0:0: class=0x028000 card=0x30a4168c chip=0x002e168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9287 Wireless Network Adapter (PCI-Express)' class = network bar [10] = type Memory, range 64, base 0xf7100000, size 65536, enabled cap 01[40] = powerspec 3 supports D0 D1 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 2 legacy endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM L0s/L1(L0s/L1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0002[140] = VC 1 max VC0 ecap 0003[160] = Serial 1 001517ffff241412 ecap 0004[170] = Power Budgeting 1 But as I read in https://wiki.freebsd.org/dev/ath_hal%284%29/AR9300, MSI interrupts are not supported before AR9300 HAL. So i'll buy an other card and try again. But it would be a good idea to add the check for supported MSI/MSI-x interrupts to the https://wiki.freebsd.org/bhyve/pci_passthru . thanks richard From owner-freebsd-virtualization@freebsd.org Sun Feb 28 22:36:31 2016 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 7EE34AB7998 for ; Sun, 28 Feb 2016 22:36:31 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 1BC431C0C for ; Sun, 28 Feb 2016 22:36:31 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id n186so25515299wmn.1 for ; Sun, 28 Feb 2016 14:36:31 -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=/bglCnE937m5Xozerf8SXH8VoDGmolcJO2wY1Pg9xD0=; b=AYO4oQOr0TNWRi95xZZlpxv4I5Cnp6MziMHjqMtHTRutlDxx+HrfCFHnlxG/eBvA8c R39LHTzf8nPsy1/HvG5jsM/0FYQQrjeNrAkcMXE+0MrJzMw2qHIbKKqFtgQne7ViaLPU pJk5FOxZ+oupAQOBLFaXxktvoQQGn99XLUJnrbc1ZaXw71OvfdR9yGjDfnBA28OJ2a+b VTfSXtpjKoEGtmykSOlc+k5EoeWKGZ0PQV95hOwvcmMw8iZvTaTwu2quKAqXifKhjly0 3V1OLNMlV8qy8aoD7ybmeycy3gigvy0Xxt36GEoWfZE7mmgyDj2FkPcOrTvTWsMdfKSg yxgA== 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=/bglCnE937m5Xozerf8SXH8VoDGmolcJO2wY1Pg9xD0=; b=kB88Pu153PqRQmrKD5CDum2aH8pPiLaoE9vdTremc3d3Fxl1iVbDrCoW/CWWqSyCTK ZOu3q7q55llFrBUp2M4MdUR39F6CNAQrZtDvxZagNH3yXVBVYqJ6lD6wlrj7jNDK+EzM qEBrKgFVF3HoJNxBPaL82epYn/HMNBQgHyLYlt+VtQb+sHyePu5F8CzmtU6Wk2tXk1wm R/rf6C7WwWOqH8nzUlQPb/xJTfx1/zFT+pR3t2LLf4lQJekOM5nmDR5L3J0oYHdrP7Et pqRx5h3Sgc33rlRQXpd9gqf7nYJRMjQ0VElOD0hcjA+TuqRN56j68lZLQKYXnZ35GwE6 iC7g== X-Gm-Message-State: AD7BkJL3IGvrnjsYMZJcPku97zFd2Ecm1PYRn91K0sbjZiDvGzTKmcZfJU1BzYxhZobTR1o0u12akiQX0REB9Q== MIME-Version: 1.0 X-Received: by 10.28.35.14 with SMTP id j14mr8664719wmj.80.1456698988588; Sun, 28 Feb 2016 14:36:28 -0800 (PST) Received: by 10.27.81.70 with HTTP; Sun, 28 Feb 2016 14:36:28 -0800 (PST) In-Reply-To: <56D30F9F.4050005@bader-muenchen.de> References: <56D173DC.9040805@bader-muenchen.de> <56D30F9F.4050005@bader-muenchen.de> Date: Sun, 28 Feb 2016 14:36:28 -0800 Message-ID: Subject: Re: ath0 (wlan0) not working in virtulised guest with bhyve From: Neel Natu To: richard bader Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 28 Feb 2016 22:36:31 -0000 On Sun, Feb 28, 2016 at 7:17 AM, richard bader wrote: > Hey Neel, >> >> I suspect that the ath0 controller does not support MSI/MSI-x >> interrupts. The output of 'pciconf -lvbc' on the host will confirm if >> this is the case. >> > thanks for the hint. The controller should support MSI interrupts. > > root@test10:/usr/src/sys # pciconf -lvbc > > ath0@pci0:5:0:0: class=0x028000 card=0x30a4168c chip=0x002e168c > rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR9287 Wireless Network Adapter (PCI-Express)' > class = network > bar [10] = type Memory, range 64, base 0xf7100000, size 65536, enabled > cap 01[40] = powerspec 3 supports D0 D1 D3 current D0 > cap 05[50] = MSI supports 1 message > cap 10[60] = PCI-Express 2 legacy endpoint max data 128(128) link x1(x1) > speed 2.5(2.5) ASPM L0s/L1(L0s/L1) > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected > ecap 0002[140] = VC 1 max VC0 > ecap 0003[160] = Serial 1 001517ffff241412 > ecap 0004[170] = Power Budgeting 1 > > > But as I read in https://wiki.freebsd.org/dev/ath_hal%284%29/AR9300, MSI > interrupts are not supported before AR9300 HAL. > > So i'll buy an other card and try again. > > But it would be a good idea to add the check for supported MSI/MSI-x > interrupts to the https://wiki.freebsd.org/bhyve/pci_passthru . > Done, thanks for the suggestion. best Neel > thanks > > richard > > From owner-freebsd-virtualization@freebsd.org Mon Feb 29 04:43:42 2016 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 B16D2AB83BE for ; Mon, 29 Feb 2016 04:43:42 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (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 84E3F1024 for ; Mon, 29 Feb 2016 04:43:42 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by mail-pf0-x230.google.com with SMTP id 124so23619176pfg.0 for ; Sun, 28 Feb 2016 20:43:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callfortesting-org.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=A5lHOq5BHLkVUkIycSF6crTuKKNqBBiy4wHzVH/2kY4=; b=lxNcoTPrAz/UQu6tjVVmDPXQVs/mIMiBn1aHQK2nVyUgSCwJHZR4RspWhVrt25BGX3 gDv48gCur2K8ojuMtYUL+3Xchgl+QM9vsZucE5AsEAWE1RUDjJt3gG7q7wkOtv366v3l fOVbOOtBGmiotyhXLSNwwdillysRSkB9QVpGIuZ/u5WNugVrbHVNCuMdQhncmTyDe+5d Jv11FRCdg7SdnsRJ0Ry0IE/gSyPgQpmdVS1R510Eu4tMc1wnoa8Ymk4eo5VnRSR2KGig ygOgM52ijvV9+pzLagbhdhkkZ0kCjoExcl81aHJDbSJkMTxBciQNpm2F0PQmMtJWskFK 2EAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=A5lHOq5BHLkVUkIycSF6crTuKKNqBBiy4wHzVH/2kY4=; b=fvB56Nadmv7zbYrhMMArJ9Y318znvtvTHxejWKVpSl5ObZGx97b8tAZOTC3pE2e4rj C7Cq6gv/EhBNf25iR4Iiw6UHpJ1oLI9ixdjyff7sW/Ej/eFeTgrgVCOQI0QOFJ4DJawo W+E40YEXt8xSnGL41/crFYUWJKhOXopP6JPWdBWTn7ljfOToO1lQjLaQtWhVSFh4PG8e uTSLSWMSD+QFRPKJZHEM0c22+Nc00OwC06oJQDY4Vihlni8DpA8zdeaNJ1uGj2FLYrYg 8mvyKedCkrlybUsN5ELM6pLYmiR87asPnYpmLZqNCxKRV5Ooo7qXWSI3BDGPxPN+sBm3 5GZA== X-Gm-Message-State: AD7BkJJmZXCH4M1ibn+M2YKXHRDOPImOOhkEAePyyF8r9dGQHlzdle01kfJdIoXm14vQ7g== X-Received: by 10.98.64.4 with SMTP id n4mr19443113pfa.58.1456721022180; Sun, 28 Feb 2016 20:43:42 -0800 (PST) Received: from Michaels-MacBook-Pro.local (c-73-25-21-123.hsd1.or.comcast.net. [73.25.21.123]) by smtp.gmail.com with ESMTPSA id ah10sm34276093pad.23.2016.02.28.20.43.41 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 28 Feb 2016 20:43:41 -0800 (PST) To: "freebsd-virtualization@freebsd.org" From: Michael Dexter Subject: bhyvecon 2016 Tokyo Invitation Message-ID: <56D3CC84.80909@callfortesting.org> Date: Sun, 28 Feb 2016 20:43:48 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 29 Feb 2016 04:43:42 -0000 Dear list members and AsiaBSDCon attendees, The third annual bhyvecon Tokyo will take place March 11th just after the BSD Vendor Summit and is free of charge. Information and registration is at http://bhyvecon.org/ I hope to see you there and hope this message is not an intrusion! Michael Dexter bhyve Volunteer From owner-freebsd-virtualization@freebsd.org Mon Feb 29 05:30:48 2016 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 90B5CAB7388 for ; Mon, 29 Feb 2016 05:30:48 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (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 64D6CCE9 for ; Mon, 29 Feb 2016 05:30:48 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by mail-pa0-x236.google.com with SMTP id fy10so85611696pac.1 for ; Sun, 28 Feb 2016 21:30:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callfortesting-org.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=BJF/kMVcsKMIZdIawlBprrg4mIhWeASONL6t3OiI02E=; b=fYghC+NA752PpuQjMzXQJ22gFDvYeItolAlsf37t8RLUwjd7omfSZM67AzNRMaSEDT X44MHexRkGrm7LEKUNaBO7FOuder29irmJdrVk5X9hzRn4VeJ8aJChGzSOlTwtbqamSS yNsDnyQw8U0ngHSzzJNJJSb3xSyqJn8qmZv75zcS8HVKrizmdfzMSziMO4v7d7YEWRTQ M0rcNDzs14r+pwVs6bgmxQwMtnfNKpv1SigOYuGSEhtfYRLscTyjoUndR2sh+0zGweyH eNDaG8T76cs6B2dqKJRDyqIzoIn0Pef4fGvt6C+p6Ld4iiSgXwG7JoKO6GAbCd2PqFYw /Uzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=BJF/kMVcsKMIZdIawlBprrg4mIhWeASONL6t3OiI02E=; b=ZawMqGbZx5W20ydv6P2Pb8/QtVVvLcgwx0iYDMgh3tJcCMfwjmBe1Sl7NHB/F+rAMG tRiuR7cinKuJ0C+2BduOxMxqN85w6rl2GMtEMqLe2HIe56YPBMR5nwhwV+yJEDRqkPAS EpwIVE4vYpnD5wkL0a13bKyj8kkDaZxF8x86UQU/1vFzcxxhiqlN8ONRtPpxb7KG8s7A ZF4CncD0WWcdxuejkjXTCDX5aMLLM0Z5R+Lp+0/UtwuErcvkrtESBbrkZJeH/h+T6po1 ntBecgoW19Uj0KcBq9fzXwFUnN8HlSug/q0SzdoODEV9gDvyJpS08YGX06a3kfzi682I R/gg== X-Gm-Message-State: AD7BkJLSkQWA46Uso6jTLw2KzaTS+zKZ56hM6toXEDeVub3Pm7nY7STkoMgCKLr5IGh70w== X-Received: by 10.66.102.8 with SMTP id fk8mr19957630pab.12.1456723847840; Sun, 28 Feb 2016 21:30:47 -0800 (PST) Received: from Michaels-MacBook-Pro.local (c-73-25-21-123.hsd1.or.comcast.net. [73.25.21.123]) by smtp.gmail.com with ESMTPSA id ux2sm34568375pac.46.2016.02.28.21.30.47 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 28 Feb 2016 21:30:47 -0800 (PST) To: "freebsd-virtualization@freebsd.org" From: Michael Dexter Subject: wiki.freebsd.org/bhyve feature matrix Message-ID: <56D3D78E.6000601@callfortesting.org> Date: Sun, 28 Feb 2016 21:30:54 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 29 Feb 2016 05:30:48 -0000 Hello all, I have added a bhyve feature matrix/history to the official bhyve wiki page: https://wiki.freebsd.org/bhyve I cordially invite you to add or suggest what you consider to be key bhyve milestones, particular in 2015. Please file other tips and data as appropriate! Thank you, Michael From owner-freebsd-virtualization@freebsd.org Tue Mar 1 08:47:55 2016 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 26A41ABBD86 for ; Tue, 1 Mar 2016 08:47:55 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.rbsd.freebsd.org (unknown [IPv6:2607:fc50:2000:101::1bb:73]) by mx1.freebsd.org (Postfix) with ESMTP id 165AD1AF0 for ; Tue, 1 Mar 2016 08:47:55 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.rbsd.freebsd.org (Postfix, from userid 1346) id 0EAFD3322319; Tue, 1 Mar 2016 08:47:55 +0000 (UTC) Date: Tue, 1 Mar 2016 08:47:55 +0000 To: freebsd-virtualization@freebsd.org From: "mav (Alexander Motin)" Reply-to: D5473+333+79492675d52ac1ab@reviews.freebsd.org Subject: [Differential] [Updated] D5473: ATA/ATAPI6 device emulation in bhyve Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D5473: ATA/ATAPI6 device emulation in bhyve X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: ZmQ1YjBmNDNhNWVhZDYwNjJmNTU3Y2FmMjRkIFbVVzs= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 08:47:55 -0000 mav added a comment. It was definitely significant amount of work, but I am not sure what motivation was behind it. Why do we need it after already having much more featured AHCI-based ATA/ATAPI emulation? Are there any significant OS not supporting AHCI? There is significant amount of code duplication between implementations, plus this one obviously requires more work to be complete. REVISION DETAIL https://reviews.freebsd.org/D5473 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: iateaca, grehan, neel, tychon, mav Cc: freebsd-virtualization-list From owner-freebsd-virtualization@freebsd.org Tue Mar 1 10:44:44 2016 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 9B5BFABD1C4 for ; Tue, 1 Mar 2016 10:44:44 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.rbsd.freebsd.org (unknown [IPv6:2607:fc50:2000:101::1bb:73]) by mx1.freebsd.org (Postfix) with ESMTP id 87ED0105E for ; Tue, 1 Mar 2016 10:44:44 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.rbsd.freebsd.org (Postfix, from userid 1346) id 7E7EE33228FF; Tue, 1 Mar 2016 10:44:44 +0000 (UTC) Date: Tue, 1 Mar 2016 10:44:44 +0000 To: freebsd-virtualization@freebsd.org From: "mav (Alexander Motin)" Reply-to: D5473+333+79492675d52ac1ab@reviews.freebsd.org Subject: [Differential] [Commented On] D5473: ATA/ATAPI6 device emulation in bhyve Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D5473: ATA/ATAPI6 device emulation in bhyve X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: ZmQ1YjBmNDNhNWVhZDYwNjJmNTU3Y2FmMjRkIFbVcpw= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 10:44:44 -0000 mav added a comment. In https://reviews.freebsd.org/D5473#117346, @iateaca wrote: > The motivation is to run older versions of operating systems such as FreeBSD 4 which does not have AHCI drivers. > What do you mean by code duplication ? I think only the ATAPI CDROM logic could be common but the current implementation from AHCI can not be used with the ATA data strcutures. If we want to achive this, I think a redesign of AHCI ATAPI is required too. I personally see quite little sense in supporting so old legacy guests. I agree that there can be "some cases", but I am not sure they worth the time spent and code size growth. Other then legacy guests support this code does not give us anything useful -- legacy ATA will be by definition much slower and less functional then its AHCI counterpart. It will require dozens of emulated register accesses per I/O, comparing to only several for AHCI, and won't support command queuing. Though obviously nice and clean unified implementation would look better. In your patch you are one more time reimplementing some subsets of ATA and ATAPI commands handling, already done much wider for AHCI. It would be much better to have single device emulation code, interfacing with different controller code parts. But it would also take much more time (you are rigth that it would require existing code redesign), for the same little reason, so I am not sure how good is that idea. It needs investigation. REVISION DETAIL https://reviews.freebsd.org/D5473 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: iateaca, grehan, neel, tychon, mav Cc: freebsd-virtualization-list From owner-freebsd-virtualization@freebsd.org Tue Mar 1 09:55:44 2016 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 CADECABDC1A for ; Tue, 1 Mar 2016 09:55:44 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.rbsd.freebsd.org (unknown [IPv6:2607:fc50:2000:101::1bb:73]) by mx1.freebsd.org (Postfix) with ESMTP id B8D101EC4 for ; Tue, 1 Mar 2016 09:55:44 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.rbsd.freebsd.org (Postfix, from userid 1346) id B11553322390; Tue, 1 Mar 2016 09:55:44 +0000 (UTC) Date: Tue, 1 Mar 2016 09:55:44 +0000 To: freebsd-virtualization@freebsd.org From: "iateaca (Teaca)" Reply-to: D5473+333+79492675d52ac1ab@reviews.freebsd.org Subject: [Differential] [Commented On] D5473: ATA/ATAPI6 device emulation in bhyve Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D5473: ATA/ATAPI6 device emulation in bhyve X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: ZmQ1YjBmNDNhNWVhZDYwNjJmNTU3Y2FmMjRkIFbVZyA= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-Mailman-Approved-At: Tue, 01 Mar 2016 12:10:51 +0000 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 09:55:44 -0000 iateaca added a comment. In https://reviews.freebsd.org/D5473#117324, @mav wrote: > It was definitely significant amount of work, but I am not sure what motivation was behind it. Why do we need it after already having much more featured AHCI-based ATA/ATAPI emulation? Are there any significant OS not supporting AHCI? There is significant amount of code duplication between implementations, plus this one obviously requires more work to be complete. The motivation is to run older versions of operating systems such as FreeBSD 4 which does not have AHCI drivers. What do you mean by code duplication ? I think only the ATAPI CDROM logic could be common but the current implementation from AHCI can not be used with the ATA data strcutures. If we want to achive this, I think a redesign of AHCI ATAPI is required too. REVISION DETAIL https://reviews.freebsd.org/D5473 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: iateaca, grehan, neel, tychon, mav Cc: freebsd-virtualization-list From owner-freebsd-virtualization@freebsd.org Tue Mar 1 12:39:18 2016 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 A6A45AB6FA4 for ; Tue, 1 Mar 2016 12:39:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.rbsd.freebsd.org (unknown [IPv6:2607:fc50:2000:101::1bb:73]) by mx1.freebsd.org (Postfix) with ESMTP id 928181057 for ; Tue, 1 Mar 2016 12:39:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.rbsd.freebsd.org (Postfix, from userid 1346) id 8A6603322353; Tue, 1 Mar 2016 12:39:18 +0000 (UTC) Date: Tue, 1 Mar 2016 12:39:18 +0000 To: freebsd-virtualization@freebsd.org From: "iateaca (Teaca)" Reply-to: D5473+333+79492675d52ac1ab@reviews.freebsd.org Subject: [Differential] [Commented On] D5473: ATA/ATAPI6 device emulation in bhyve Message-ID: <06e00e9994bd5f394deb60e86952c8de@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D5473: ATA/ATAPI6 device emulation in bhyve X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: ZmQ1YjBmNDNhNWVhZDYwNjJmNTU3Y2FmMjRkIFbVjXY= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 12:39:18 -0000 iateaca added a comment. In https://reviews.freebsd.org/D5473#117352, @mav wrote: > In https://reviews.freebsd.org/D5473#117346, @iateaca wrote: > > > The motivation is to run older versions of operating systems such as FreeBSD 4 which does not have AHCI drivers. > > What do you mean by code duplication ? I think only the ATAPI CDROM logic could be common but the current implementation from AHCI can not be used with the ATA data strcutures. If we want to achive this, I think a redesign of AHCI ATAPI is required too. > > > I personally see quite little sense in supporting so old legacy guests. I agree that there can be "some cases", but I am not sure they worth the time spent and code size growth. Other then legacy guests support this code does not give us anything useful -- legacy ATA will be by definition much slower and less functional then its AHCI counterpart. It will require dozens of emulated register accesses per I/O, comparing to only several for AHCI, and won't support command queuing. > > Though obviously nice and clean unified implementation would look better. In your patch you are one more time reimplementing some subsets of ATA and ATAPI commands handling, already done much wider for AHCI. It would be much better to have single device emulation code, interfacing with different controller code parts. But it would also take much more time (you are rigth that it would require existing code redesign), for the same little reason, so I am not sure how good is that idea. It needs investigation. Totally agree with you, there are no many reasons to use ATA instead of AHCI when you have support for it. Though I think there is a good reason having the ATA/ATAPI emulation in bhyve since Peter came with this idea. REVISION DETAIL https://reviews.freebsd.org/D5473 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: iateaca, grehan, neel, tychon, mav Cc: freebsd-virtualization-list From owner-freebsd-virtualization@freebsd.org Tue Mar 1 16:43:44 2016 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 6BE14AC0C9F for ; Tue, 1 Mar 2016 16:43:44 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (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 413C012B3 for ; Tue, 1 Mar 2016 16:43:43 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u21GhZ1m074075 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO) for ; Tue, 1 Mar 2016 10:43:35 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u21GhZHE074074; Tue, 1 Mar 2016 10:43:35 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: freebsd-virtualization@freebsd.org Subject: bhyve and CARP? X-PHP-Script: www.dweimer.net/webmail/index.php for 71.86.41.122, 10.9.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Mar 2016 10:43:35 -0600 From: dweimer Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 01 Mar 2016 16:43:44 -0000 I am considering setting up a bhyve virtual machine to run pfSense. Not too thrilled with the CPU heat on the PC Engines APU1D4 when under heavy load, but don't want to rely entirely on a VM. As I like still having internet if I would have to take my server offline for disk replacement or other issues, having web access to search for errors is a big plus. So in order to avoid spending money on a new piece of hardware I thought why not do a VM with CARP fail over to the physical. I am not finding much searching on FreeBSD byhve and CARP, I know its somewhat of an issue withing VMware on ESX making sure you enable the right options on the virtual switches and interfaces. Enable promiscuous mode on the vSwitch Enable "MAC Address changes" Enable "Forged transmits" Before I got started on the setup I was curious if anyone has done something similar, or know if this isn't possible on bhyve at the current version? I am running my system currently on 10.3-BETA3. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-virtualization@freebsd.org Tue Mar 1 18:44:34 2016 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 972DFAC0394 for ; Tue, 1 Mar 2016 18:44:34 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.rbsd.freebsd.org (unknown [IPv6:2607:fc50:2000:101::1bb:73]) by mx1.freebsd.org (Postfix) with ESMTP id 858661FA3 for ; Tue, 1 Mar 2016 18:44:34 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.rbsd.freebsd.org (Postfix, from userid 1346) id 7E9543322F65; Tue, 1 Mar 2016 18:44:34 +0000 (UTC) Date: Tue, 1 Mar 2016 18:44:34 +0000 To: freebsd-virtualization@freebsd.org From: "grehan (Peter Grehan)" Reply-to: D5473+333+79492675d52ac1ab@reviews.freebsd.org Subject: [Differential] [Updated] D5473: ATA/ATAPI6 device emulation in bhyve Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D5473: ATA/ATAPI6 device emulation in bhyve X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: ZmQ1YjBmNDNhNWVhZDYwNjJmNTU3Y2FmMjRkIFbV4xI= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 18:44:34 -0000 grehan added a comment. Support for legacy o/s's has driven much of bhyve development. I'm all for this, though I agree there should be some consolidation of code that could be shared between ATA/ATAPI and AHCI. REVISION DETAIL https://reviews.freebsd.org/D5473 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: iateaca, neel, tychon, mav, grehan Cc: freebsd-virtualization-list From owner-freebsd-virtualization@freebsd.org Tue Mar 1 20:37:05 2016 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 C2EB4ABE295 for ; Tue, 1 Mar 2016 20:37:05 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F9A41004 for ; Tue, 1 Mar 2016 20:37:05 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from julian-mbp3.pixel8networks.com (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u21Kb3K5043682 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 1 Mar 2016 12:37:04 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: bhyve and CARP? To: freebsd-virtualization@freebsd.org References: From: Julian Elischer Message-ID: <56D5FD6A.9070205@freebsd.org> Date: Tue, 1 Mar 2016 12:36:58 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 01 Mar 2016 20:37:05 -0000 On 1/03/2016 8:43 AM, dweimer wrote: > I am considering setting up a bhyve virtual machine to run pfSense. > Not too thrilled with the CPU heat on the PC Engines APU1D4 when > under heavy load, but don't want to rely entirely on a VM. As I like > still having internet if I would have to take my server offline for > disk replacement or other issues, having web access to search for > errors is a big plus. So in order to avoid spending money on a new > piece of hardware I thought why not do a VM with CARP fail over to > the physical. I am not finding much searching on FreeBSD byhve and > CARP, I know its somewhat of an issue withing VMware on ESX making > sure you enable the right options on the virtual switches and > interfaces. > > Enable promiscuous mode on the vSwitch > Enable "MAC Address changes" > Enable "Forged transmits" > > Before I got started on the setup I was curious if anyone has done > something similar, or know if this isn't possible on bhyve at the > current version? I am running my system currently on 10.3-BETA3. > this makes one wonder if it would be possible to run the pfsense code in a vnet Jail. From owner-freebsd-virtualization@freebsd.org Tue Mar 1 21:01:38 2016 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 CD84FABF4C3 for ; Tue, 1 Mar 2016 21:01:38 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3007512F5; Tue, 1 Mar 2016 21:01:38 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.48.254]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M6AbC-1ZhXqV2a5a-00yAHQ; Tue, 01 Mar 2016 22:01:29 +0100 Subject: Re: bhyve and CARP? To: Julian Elischer , freebsd-virtualization@freebsd.org References: <56D5FD6A.9070205@freebsd.org> From: Nikos Vassiliadis Message-ID: <56D60326.6090006@gmx.com> Date: Tue, 1 Mar 2016 23:01:26 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56D5FD6A.9070205@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:/gMYuOCrD0qLSrWUG/LxUIwluExaarobOJMjT26bnyp4X6KG4aY 9pxoxFEiC3Q85Q3NwcSI14xCwbRWA/4A27Q5HFh5+vAElcx6jHtID3ZmJyTT5VMe0SYy70L PGUXLpSVXxYv1wGwTNvCjIClMUl4cJ0PuPXC+qXq+OhtYT/5W0mFpULEMF2L9C4d6sJ4hN4 L2wD+8pdSkd+gqn5rOkZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:e8l9Zm8QBOM=:B6ijOa5MTvL6WqYX47Xj0v Dhi/54fBxzFBa8783NIlWfXqL5v1J2WF0gZo0hpMmkiAXl2Fjk3badeA7SmipQs5uqKrtMy9q F3PstjXGpKOWkPDkDNYTLM66wzj/Vn2nfmhnTId53cVOxr1+Ce8qrdu70DO9LTZB036xzSWn6 0Yd9Xb4vdDo27km1RJ4FMd+dFKiHPLnxmITP3XBuIW/AqAivZI6bUBNvL4nRQ+zhwAdrc5bWs GQRmetNicrAOT9yaNtZX3kiqL6tRRsjBuKTJqm+3m4vxMhusPEvuZJZZVHguJGOvZuii2PQM7 F8qs4lE2kbPlR9/Z3qG8nXsG94xLdwnPyRXMwlkR91fGfBGPggmCGd2Z7KXiSQ9YMa/xq7Ryx +OSY0VEzQm/FR9mtTierprhpWh06yopOKOa+bI+sC2LoI5ZN2MepJa0zegK0ZXEJyERrPfbIv ssPkk9qqm9z4FlVN+hgvpn0h4z7YU4kpMYkNPJm+VRK6th4nD3ZL+Mz2B9LVJYgYxaPLf42uA YJmVww9PnjBknfapJTP6KbKipzDRDykpAHbkAdh3blUUwf+VDrkPTIT6YCgkJTsGyQFPhp62B Awm+TIaci8RI0q5XY5TQSClXsxkN4dcyr/fDkkkLD3Gjf76RscuFNXdXJp91zRbO9Zu7Vbdpk 1Q6v1b1RgI3DmzkPoCeI7+lWzo3CaPBP6v1mdFvea3/Q72RzzSiBnV+l3waRcYkn5jTixNi/8 2rYDj78Rj2sOU85GpI8WhGbsev5GNCAZtE0EliZL4W3OyH/Qvqyd3TdstYvd77ZVsUvm5EE6M T3fglPu X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 01 Mar 2016 21:01:38 -0000 On 03/01/16 22:36, Julian Elischer wrote: > this makes one wonder if it would be possible to run the pfsense code in > a vnet Jail. That would be really cool and handy. The pfsense kernel is unfortunately just a bit modified. I haven't tried but I think many things will fail. From owner-freebsd-virtualization@freebsd.org Tue Mar 1 21:03:09 2016 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 D1168ABF5AD for ; Tue, 1 Mar 2016 21:03:09 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36EA81445 for ; Tue, 1 Mar 2016 21:03:09 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.48.254]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Mhdex-1aEffU29oZ-00Mu79; Tue, 01 Mar 2016 21:57:23 +0100 From: Nikos Vassiliadis Subject: Re: bhyve and CARP? To: dweimer@dweimer.net, freebsd-virtualization@freebsd.org References: Message-ID: <56D6022A.8030808@gmx.com> Date: Tue, 1 Mar 2016 22:57:14 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:MahXNBvzAMVWqRHh70t/GIqPMrLiJ3wHchf6fP8EYUPYUEYtvu+ DEpBHTmEwsmKVBMH7LKnYwXRSYt/CQYbnm6zw9cP0ygoln/euzmjRhrLDiDbrvCzej+w2Ay I3S9rIMU6Xm1z40hgNCSLGETgs3RZYAHbca9enofAvmdkZZB2XH+OYiG6gJv1qrvadduSY3 qiMNgX2BzeBi2r57isPmA== X-UI-Out-Filterresults: notjunk:1;V01:K0:orUizNyvdxo=:SivL1dDqpbEuOn1aftCJzI edKaqE5Nopjagh8kCDusnH+sDbOOjKjdp8WJo1qpDl9349f2dAyTg5vst3gZ1eE0MkFJCPLxS TIVRcW+ZGIiubMYPpSM3lgCW8dMyggOH6z/cLaSBpzFhq/HVJKxIH4lwQGTgpa7MYZsaFDlcQ 00kzFFviv4PtnTcDC9e70yzoX32zv1sdr0Ib1jSUUBxPkx52HotH2sbX6JY+9+AO8NQO2/m1I /STehvaP8wvzR7wTF0n5e4PaqkuWTeOqMHDvJ6GOnvxxzDH3+tIgADr7Tqiv5rCt2AgPH05g/ b1wFhRIeaTXHk/Kq5omclWDCmJk8a2hp+SCKATCx2GFbJysXkNo+h25gIG91YTYCcKHCJK0P7 hN58YKZgikEvcrJ6i+KrwkCXoqYkZxfIqlE96Ht5bCXB/Z62xQBO5+JVYYL7FUL7ib+3zabg8 C9QQ5SwpBr4b4Zf6fyGa2q63JnMUyaNBj9Of/Ajh14tytrH66bgdYoGAMy0PHgyktpuNhE832 Mk5ekq/5AnuwU6BRfFy0gam1Hyce6IKrIzeX6n0SOqOuSIrH1IXP9pBJSxDSQNIgkESdWaQ4K x7aqHirtKUi3FF6EVL734BTA48IAFdjfcA64FfELstUn1lsUHBwa7HAZAfnDd2y+YLnmyGcsV rIj+P+NjZfiyN2DZpcePHq+UohjduSZ6bphEMxBm8Y1IvKCCQWh9HX2BvV9vCVF9AqsVREmfd /h6klbYvwmNmkobBU0Dzrcs5m62jeP9Gdy8twReySk/+fH+6p9GIjvuBXeQ6gAEc5jBRrMR5j 0tRORwC X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 01 Mar 2016 21:03:09 -0000 Hi, On 03/01/16 18:43, dweimer wrote: > I am considering setting up a bhyve virtual machine to run pfSense. Not > too thrilled with the CPU heat on the PC Engines APU1D4 when under heavy > load, but don't want to rely entirely on a VM. As I like still having > internet if I would have to take my server offline for disk replacement > or other issues, having web access to search for errors is a big plus. > So in order to avoid spending money on a new piece of hardware I thought > why not do a VM with CARP fail over to the physical. I am not finding > much searching on FreeBSD byhve and CARP, I know its somewhat of an > issue withing VMware on ESX making sure you enable the right options on > the virtual switches and interfaces. > > Enable promiscuous mode on the vSwitch > Enable "MAC Address changes" > Enable "Forged transmits" > > Before I got started on the setup I was curious if anyone has done > something similar, or know if this isn't possible on bhyve at the > current version? I am running my system currently on 10.3-BETA3. > I am running two postgres VMs with DRBD and not CARP but UCARP which should be 100% compatible with CARP. Each VM has a tap interface and each tap is bridged to a bridge interface. There is no need for special configuration. Everything works as expected. HTH, Nikos From owner-freebsd-virtualization@freebsd.org Tue Mar 1 21:49:33 2016 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 44BB1AC083C; Tue, 1 Mar 2016 21:49:33 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (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 15CD51F56; Tue, 1 Mar 2016 21:49:32 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u21LnUBp001463 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO); Tue, 1 Mar 2016 15:49:31 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u21LnUm7001462; Tue, 1 Mar 2016 15:49:30 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: Nikos Vassiliadis Subject: Re: bhyve and CARP? X-PHP-Script: www.dweimer.net/webmail/index.php for 71.86.41.122, 10.9.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Mar 2016 15:49:30 -0600 From: dweimer Cc: Julian Elischer , freebsd-virtualization@freebsd.org, owner-freebsd-virtualization@freebsd.org Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <56D60326.6090006@gmx.com> References: <56D5FD6A.9070205@freebsd.org> <56D60326.6090006@gmx.com> Message-ID: <0904163b254e629a3ff43d5e7dc61492@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 01 Mar 2016 21:49:33 -0000 On 2016-03-01 3:01 pm, Nikos Vassiliadis wrote: > On 03/01/16 22:36, Julian Elischer wrote: >> this makes one wonder if it would be possible to run the pfsense code >> in >> a vnet Jail. > > That would be really cool and handy. The pfsense kernel is > unfortunately just a bit modified. I haven't tried but I think > many things will fail. > > I have seen threads on the pfSense forums about people trying to do this, as far as I know, they have all failed. I have pfSense installed so far, but waiting till later to swap my NIC in the server with a quad port NIC before setting up all the interfaces and beginning the CARP configuration. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-virtualization@freebsd.org Wed Mar 2 08:53:43 2016 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 F1E78AC06BE for ; Wed, 2 Mar 2016 08:53:43 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.rbsd.freebsd.org (unknown [IPv6:2607:fc50:2000:101::1bb:73]) by mx1.freebsd.org (Postfix) with ESMTP id E13F71AA4 for ; Wed, 2 Mar 2016 08:53:43 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.rbsd.freebsd.org (Postfix, from userid 1346) id DA6DE332232F; Wed, 2 Mar 2016 08:53:43 +0000 (UTC) Date: Wed, 2 Mar 2016 08:53:43 +0000 To: freebsd-virtualization@freebsd.org From: "iateaca (Teaca)" Reply-to: D5473+333+79492675d52ac1ab@reviews.freebsd.org Subject: [Differential] [Commented On] D5473: ATA/ATAPI6 device emulation in bhyve Message-ID: <51d54844b47de17a44169cee84dcedb2@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D5473: ATA/ATAPI6 device emulation in bhyve X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: ZmQ1YjBmNDNhNWVhZDYwNjJmNTU3Y2FmMjRkIFbWqhc= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2016 08:53:44 -0000 iateaca added a comment. In https://reviews.freebsd.org/D5473#117481, @grehan wrote: > Support for legacy o/s's has driven much of bhyve development. I'm all for this, though I agree there should be some consolidation of code that could be shared between ATA/ATAPI and AHCI. Do you propose to postpone the review until we combine somehow the ATA/ATAPI and AHCI ? REVISION DETAIL https://reviews.freebsd.org/D5473 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: iateaca, neel, tychon, mav, grehan Cc: freebsd-virtualization-list From owner-freebsd-virtualization@freebsd.org Wed Mar 2 14:54:04 2016 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 63439AC13C0 for ; Wed, 2 Mar 2016 14:54:04 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::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 00AFF1C47 for ; Wed, 2 Mar 2016 14:54:03 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id n186so89625290wmn.1 for ; Wed, 02 Mar 2016 06:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=2PoZ07yF8OQmYNYI0Hh9puiuTHthBlF64eHUe/qZrlk=; b=gFsIBb6rECeGN7/ezgUXEI8FJyJUQOJfZVjcSHy9gxAnCHv0zkNYvgZQYB8Uz49kqT Wg0Krsl8H9P73MFGfHD1UtBYVZlahMjBS/Ee9xOnHtStS2O7ICz/4i4ONzKGKRMVaBYc L9mbUvhKP+OukW8927ZzlVw4QvYFuRXDxs6GNpNSfCR4UF49r+wLe4uV+EOQB2r06YiL hD69WIZ5mTGGG8sVARwcSzR69/iOR+NgLwxYQZH3uktdCzFJ7HhGKnCG4oB975pjF4No A5Sc3mVgODYIeG9FlyQuzRXZf9lil/3mhnx2NyJQ9Kq5Q4jhqMyx3bnrAXFUmSIUniJN FTCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2PoZ07yF8OQmYNYI0Hh9puiuTHthBlF64eHUe/qZrlk=; b=cBE1XIQtVh6MpOq9+wU5huSpSJEqcAffNJSEC+zQ9xWeHG7lKU8jJtLj2sZOk/UMsg fRZ2R2PmY6rDskgqGUq0oq8t9sbvQtXaIB8D/5XsDNjeXB5AMINIW+qpU8vjEmSYoV+l qAZXs0IGejizJy0R2a2GOB/zUeJ1p8O8rq2N6QFtqbeKFdReV8RW22b87eNgQtQLwHWj cgKHHCN7x6lbUwEUi0q0NUur0vQeirer0qS3Hrs/Ydd0Q/+P0BDTjaRnAl2rW+JasOyF lH6dVcE9L2jgxVDK+84mqelkRA31rlzBGiTQD9untvC4mOO0NPQZKxtvUyg0iPnm4Yv6 Ag4w== X-Gm-Message-State: AD7BkJI4Vc6+yzrupkU+47L9Ad7sijF0eZ2zQGXX8Lfh9wmv7GHzcoy//SmDAzGC/be0QCULWISAnRJXiGquLA== X-Received: by 10.194.7.201 with SMTP id l9mr16156385wja.16.1456930442174; Wed, 02 Mar 2016 06:54:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.93.73 with HTTP; Wed, 2 Mar 2016 06:53:42 -0800 (PST) From: Sergey Zakharchenko Date: Wed, 2 Mar 2016 17:53:42 +0300 Message-ID: Subject: VIMAGE vs SysV IPC To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 02 Mar 2016 14:54:04 -0000 Hello, As far as I can tell, jails still do not properly encapsulate SysV IPC. Should I look into VIMAGE or is situation the same there? Best regards, -- DoubleF From owner-freebsd-virtualization@freebsd.org Wed Mar 2 15:11:06 2016 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 B3D7CAC18B7 for ; Wed, 2 Mar 2016 15:11:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BAC612E8 for ; Wed, 2 Mar 2016 15:11:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id E88A025D38A4; Wed, 2 Mar 2016 15:11:03 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 2ABD7C76FDC; Wed, 2 Mar 2016 15:11:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id hJKs6BmU4vSS; Wed, 2 Mar 2016 15:11:01 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6] (orange-tun0-ula.sbone.de [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 53921C76FD2; Wed, 2 Mar 2016 15:11:01 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: VIMAGE vs SysV IPC From: "Bjoern A. Zeeb" In-Reply-To: Date: Wed, 2 Mar 2016 15:11:00 +0000 Cc: freebsd-virtualization@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Sergey Zakharchenko X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 02 Mar 2016 15:11:06 -0000 > On 02 Mar 2016, at 14:53 , Sergey Zakharchenko = wrote: >=20 > Hello, >=20 > As far as I can tell, jails still do not properly encapsulate SysV > IPC. Should I look into VIMAGE or is situation the same there? There=E2=80=99s a patch floating around. We still hope to have the VNET = teardown, the VIMAGE framework in for 11 and put that one on top of all = this. Fingers crossed. /bz From owner-freebsd-virtualization@freebsd.org Wed Mar 2 15:14:06 2016 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 2DF68AC1A2A for ; Wed, 2 Mar 2016 15:14:06 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (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 BCA4915BB for ; Wed, 2 Mar 2016 15:14:05 +0000 (UTC) (envelope-from doublef.mobile@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id n186so90608941wmn.1 for ; Wed, 02 Mar 2016 07:14:05 -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=WAaTPJjZO7cPHreugdCKildP/Fk3LRVVPjqj+z1h1+M=; b=w84eBi69w+VyFxT1eSmoLFd3kAXPLdSU66xSncBhBKhcuDEouLFNfS0f3YrElNqnAk kHxqtfZI0OVVXAsAu6kqUOPoU0gr/N2MnZ+sNO2hO81xqWdI8b9hs8D69tuLZaZkGMOi AJK9YAvk7RsSYPDOCoaaqml1dNik+R/YKQlxTTb7f30HzVetfmi+8c7veMekr56SeToZ naZoRgmk4ZyV1r+sqvooSkXB6AnYzyBYgdxsNKijRd1VUpQsEUoetQ6YFIuTJ0y5AKhZ hZnhTk/pJXRa3RN/j9GJ0S+BfsEiZR0Cj/KICRPqBSvuvRky5/RDQsH3DKWx0sZ88+fx dlAg== 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=WAaTPJjZO7cPHreugdCKildP/Fk3LRVVPjqj+z1h1+M=; b=U6f7hnFfQOxkByNjWbOVQ8IYfn/nXGv5T/zIjPwlN0jMjneulfYhelJtZdC2mGXPcB hv0WTSyjxf97+fJ6H0Kgv9r2dlFGF1nqD59xxowPu+v+uj1JTKUo0d42kTAg5aOt+kEa pVTd4xtIIp7ISe0z+f5f9jr5uXMegP+aRCgJ60a1Dq5SpGZ4SOXjWfQ4M4QsVodnMfT7 AXcPqX2RlqnF9j8HtWSJyj31rZsk1wf2l+jbGYNDX9QznXky6gFy3mcuj8edPiqF0o/L O9aajOvO3O4IpjIzJma8suOTPtGBrxE8cpzzwrBMvTyKdNcDm55WKrUCYZkis7TmqUUS AlQA== X-Gm-Message-State: AD7BkJKM9II3gIqUtyViekHK+aCuXxjj8hPIvachEDuLYco7dH6Ognh4isfWCHwCBtmu3YtMRFNKVl4tXj5C6w== MIME-Version: 1.0 X-Received: by 10.28.220.134 with SMTP id t128mr390551wmg.61.1456931644108; Wed, 02 Mar 2016 07:14:04 -0800 (PST) Received: by 10.28.93.73 with HTTP; Wed, 2 Mar 2016 07:14:04 -0800 (PST) Received: by 10.28.93.73 with HTTP; Wed, 2 Mar 2016 07:14:04 -0800 (PST) In-Reply-To: References: Date: Wed, 2 Mar 2016 18:14:04 +0300 Message-ID: Subject: Re: VIMAGE vs SysV IPC From: Sergey Zakharchenko To: "Bjoern A. Zeeb" Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 02 Mar 2016 15:14:06 -0000 Bjoern, > There=E2=80=99s a patch floating around. We still hope to have the VNET teardown, the VIMAGE framework in for 11 and put that one on top of all this. Fingers crossed. OK, thanks for the information. Best regards, --=20 DoubleF From owner-freebsd-virtualization@freebsd.org Thu Mar 3 14:49:20 2016 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 0FD08A931E5 for ; Thu, 3 Mar 2016 14:49:20 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (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 E55C017C for ; Thu, 3 Mar 2016 14:49:18 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u23EnCea005056 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO); Thu, 3 Mar 2016 08:49:12 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u23EnBFu005055; Thu, 3 Mar 2016 08:49:11 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: Nikos Vassiliadis Subject: Re: bhyve and CARP? X-PHP-Script: www.dweimer.net/webmail/index.php for 71.86.41.122, 10.9.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 03 Mar 2016 08:49:11 -0600 From: dweimer Cc: freebsd-virtualization@freebsd.org Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <56D6022A.8030808@gmx.com> References: <56D6022A.8030808@gmx.com> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 03 Mar 2016 14:49:20 -0000 On 2016-03-01 2:57 pm, Nikos Vassiliadis wrote: > Hi, > > On 03/01/16 18:43, dweimer wrote: >> I am considering setting up a bhyve virtual machine to run pfSense. >> Not >> too thrilled with the CPU heat on the PC Engines APU1D4 when under >> heavy >> load, but don't want to rely entirely on a VM. As I like still having >> internet if I would have to take my server offline for disk >> replacement >> or other issues, having web access to search for errors is a big plus. >> So in order to avoid spending money on a new piece of hardware I >> thought >> why not do a VM with CARP fail over to the physical. I am not finding >> much searching on FreeBSD byhve and CARP, I know its somewhat of an >> issue withing VMware on ESX making sure you enable the right options >> on >> the virtual switches and interfaces. >> >> Enable promiscuous mode on the vSwitch >> Enable "MAC Address changes" >> Enable "Forged transmits" >> >> Before I got started on the setup I was curious if anyone has done >> something similar, or know if this isn't possible on bhyve at the >> current version? I am running my system currently on 10.3-BETA3. >> > > I am running two postgres VMs with DRBD and not CARP but UCARP which > should be 100% compatible with CARP. Each VM has a tap interface and > each tap is bridged to a bridge interface. There is no need for special > configuration. Everything works as expected. > Well so far I have it mostly working, one issue though, that I can't quite find the source of the problem. I have multiple port forwards setup and use NAT reflection to make those accessible from the same host name internally and externally. I am redirecting ports 80, 443, 7443, and 8443 among others on of the virtual carp IP addresses. 80 and 443 are redirected to my proxy jail running Squid as a reverse proxy, jail is on same host as bhyve. 7443 redirects to Ubiquiti UniFi Video server for HTTPS running on another bhyve Linux virtual machine. 8443 redirects to Ubiquiti UniFi Wireless controller for HTTPS on another jail on the same host as the bhyve virtual machines. Everything that is running with NAT reflection works except for the port 443 traffic from the bhyve host machine, any jails running on it, and the other bhyve virtual machine. However it works fine from other network clients. Of course the NAT reflection is so that the same certificate can be used on all the HTTPS connections and show as valid. As near as I can tell the initial request makes it through the pfSense, to the Proxy. The Proxy's response makes it back to the pfSense. The pfSense system sends it to the client, but the client doesn't acknowledge that it received it. I have used tcpdump on the system to verify that it does receive the packets. I initially suspected something with the HTTPS was rejecting the virtual IPs used with CARP but that doesn't explain why it works on the other HTTPS ports. And failing over to the old physical APU1D4 it all works. As well as it working from other clients. I plan to add a second HTTPS port to the squid reverse proxy configuration to see if its isolated to the port 443 or if its isolated to the HTTPS on squid. I will also try redirecting straight to the Apache jail that the Proxy forwards to, Squid is only used as a reverse proxy on this setup so that I can test Squid updates here before installing them on the Reverse proxy I maintain at work. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-virtualization@freebsd.org Fri Mar 4 20:51:17 2016 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 6D416A09CAF for ; Fri, 4 Mar 2016 20:51:17 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (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 3A310E8 for ; Fri, 4 Mar 2016 20:51:17 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: by mail-io0-x231.google.com with SMTP id n190so75250946iof.0 for ; Fri, 04 Mar 2016 12:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=fg98ow6vJjlle3G3MHFl6cvcvwnSJ+j6Fzkvlc5dSYQ=; b=WFBk9dcrv3hHRzHbQYT+CHh6o93KScuEbYrYhWZaiQ6pA/50RB+YX8Tt7BYpXedg55 m0yMEfDEiI2ZplEIVH6/Caf1Qrp1FeLcyg5PN+sgJk70Y4B8T/gmEJxDMixZBr2dQcI3 eSSUbcJ2ru59dI7a6ZAyXHZ2NSNRjTvumDEWY0pw76/bqW4CJK1MUtdHlyTP7P/Fse3f XzKtCApuiPHbU33BYtskNsqTGc6hwqt9Vc8F+L3dct04+P1qDLYhDYFM2sUuAhT9vut0 K+DgQsFEF9IetEy8ooYuAGWgiSeot/W/k0KWRsgxx/uWz6nbDkhycl63IpGFFfHZqfos 3Qsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=fg98ow6vJjlle3G3MHFl6cvcvwnSJ+j6Fzkvlc5dSYQ=; b=mj3fhKphvCm24/gCv6+jvQ95x12u/p3cYG/nGUe59r5ZhVskPthtVJ88oCEo7FsAGJ tiAf3ifdJ8wl/7rgJeciQjO1sMrEnWT3rEe1YdQdBPdD4pZgcGcVwitdMA38uiSgdo8b so7AzyYscV72B+xJX0K9uwbbKLfkJrV7rlMFKjpoDhK1kt/Hyc1EQxgAaDoNxlSozGzH WcqQOLWBX0KocnEL54P1m6gQF48wdaSz0XEQGQcPCgdIwuImWfK5tTLHiiNJQ689KlBz NSoPaErG09aQ1vscY11FsgfzlvaspM6VcWQRPiRCyPN8MqMrmlbB20ChFyXE0FaumHDT 2N3g== X-Gm-Message-State: AD7BkJK67APpEC/fwQxL0xNMQA3jTZjHjkwEUDIWc9j6eLpz0zUH8xuZ8GKKuQieoyQPA4G4vOXliRuJIJmGMg== MIME-Version: 1.0 X-Received: by 10.107.162.148 with SMTP id l142mr9756951ioe.196.1457124676284; Fri, 04 Mar 2016 12:51:16 -0800 (PST) Received: by 10.50.200.41 with HTTP; Fri, 4 Mar 2016 12:51:16 -0800 (PST) Date: Fri, 4 Mar 2016 12:51:16 -0800 Message-ID: Subject: PCI passthrough causes Skylake/Z170 system not to boot From: David Ehrmann To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 04 Mar 2016 20:51:17 -0000 I opened a but for this already[1], but I figured I'd ask here to see if anyone's encountered it before. I have a FreeBSD 10.3-BETA2 system with a Skylake CPU and a Z170 motherboard that stops booting when I try to use PCI passthrough. After the boot loarder runs, but before root is mounted, an interrupt storm causes controllers/devices (including the root disk) to be disconnected and reconnected. Then, the system isn't able to mount the root disk, and the boot fails. Disabling VT-d, removing vmm_load from loader.conf, and removing pptdevs from loader.conf all fix the booting issue, but those are all needed for PCI passthrough. I've reproduced this with different devices, but the report is PCI passthrough of the onboard ethernet controller. [1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207602