From owner-freebsd-virtualization@freebsd.org Tue Jul 28 00:16:23 2015 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 256309AB32C for ; Tue, 28 Jul 2015 00:16:23 +0000 (UTC) (envelope-from igor.arabesc.pavlov@gmail.com) Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d: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 D4D83BD0 for ; Tue, 28 Jul 2015 00:16:22 +0000 (UTC) (envelope-from igor.arabesc.pavlov@gmail.com) Received: by qkbm65 with SMTP id m65so45582204qkb.2 for ; Mon, 27 Jul 2015 17:16:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RwQQnjVSa6koSoFTg8rFcvMpHmxd+08s5pmlR82aIEI=; b=DtbBIdDzoIeCO43ZgFL9hni0whBRGR+MMYkrRo9SBK4XMfvWCRekE+Z2E+jQzWoaEX FL0hmk3bfvq1kh4eZHtnH8l03dqGvcnaF+nWbsdcrM+NpFRmsz4Dj4zZr3y0Uj492paV 7q4vL7F7tUU1rHki2/7J6GkQNQ4rWVjInvwq4hB8/mE6Jtf3zoII0STC0z1J6UsrfMyu b/yUBMArc+X4OuprMKWjAGy/YIvZ07uA07e1x40EohFcRwlzaGd32MbX8yOL4ECUky5/ 7TsXVGQ5hAT+FETE4PQoMxmwAaD62Pe/OUJ9VOX3/1/LFEjeDmic2UwsfwshiwfzLs4N OQPg== MIME-Version: 1.0 X-Received: by 10.55.40.230 with SMTP id o99mr45113282qko.28.1438042581933; Mon, 27 Jul 2015 17:16:21 -0700 (PDT) Received: by 10.140.98.138 with HTTP; Mon, 27 Jul 2015 17:16:21 -0700 (PDT) Date: Tue, 28 Jul 2015 03:16:21 +0300 Message-ID: Subject: An issue with a pair of wi-fi adapters in a guest OS From: Igor Pavlov To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Tue, 28 Jul 2015 00:16:23 -0000 Hello, I'm trying to configure a wi-fi AP in a guest OS. The guest OS is the OpenWRT v15.05-RC3 (I also tried current version of the Arch Linux with the same result), it runs in the bhyve and the host OS is: #uname -msr FreeBSD 10.1-RELEASE-p14 amd64 The system CPU is: # sysctl hw.model hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz (it supports VT-d) There are two miniPCIe wi-fi adapters which are installed in a PCIe switch card and passed to the guest OS: //It's the PCIe switch adapter # pciconf -lvbc pci0:1:0:0 pcib2@pci0:1:0:0: class=0x060400 card=0xd01d19b6 chip=0x860610b5 rev=0xba hdr=0x01 vendor = 'PLX Technology, Inc.' device = 'PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) Switch' class = bridge subclass = PCI-PCI bar [10] = type Memory, range 32, base 0xf7a00000, size 131072, enabled cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[48] = MSI supports 4 messages, 64 bit, vector masks cap 10[68] = PCI-Express 2 upstream port max data 128(512) link x1(x1) speed 5.0(5.0) ASPM disabled(L0s/L1) cap 0d[a4] = PCI Bridge card=0xd01d19b6 ecap 0003[100] = Serial 1 ba860110b5df0e00 ecap 0001[fb4] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0004[138] = Power Budgeting 1 ecap 0002[148] = VC 1 max VC1 lowpri VC0-VC1 ecap 000b[448] = Vendor 1 ID 0 ecap 000b[950] = Vendor 1 ID 1 //It's an ethernet adapter, it's used in the host OS # pciconf -lvbc pci0:5:0:0 igb0@pci0:5:0:0: class=0x020000 card=0x0000ffff chip=0x15338086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'I210 Gigabit Network Connection' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0xf7700000, size 1048576, enabled bar [18] = type I/O Port, range 32, base 0xe000, size 32, enabled bar [1c] = type Memory, range 32, base 0xf7800000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit, vector masks cap 11[70] = MSI-X supports 5 messages, enabled Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] cap 10[a0] = PCI-Express 2 endpoint max data 128(512) FLR link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 00031dffff0f5039 ecap 0017[1a0] = TPH Requester 1 //It's the QCA9880, 1-st wi-fi adapter, it's used in the PCI device passthrough to the guest OS # pciconf -lvbc pci0:6:0:0 ppt0@pci0:6:0:0: class=0x028000 card=0x00000000 chip=0x003c168c rev=0x00 hdr=0x00 vendor = 'Atheros Communications Inc.' class = network bar [10] = type Memory, range 64, base 0xf7200000, size 2097152, enabled cap 01[40] = powerspec 3 supports D0 D1 D3 current D0 cap 05[50] = MSI supports 8 messages, vector masks enabled with 1 message cap 10[70] = PCI-Express 2 endpoint max data 128(256) link x1(x1) speed 2.5(2.5) ASPM disabled(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 0000000000000000 // It's the AR9380, 2-nd wi-fi adapter, it's used in the PCI device passthrough to the guest OS # pciconf -lvbc pci0:7:0:0 ppt1@pci0:7:0:0: class=0x028000 card=0x3114168c chip=0x0030168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9300 Wireless LAN adaptor' class = network bar [10] = type Memory, range 64, base 0xf7900000, size 131072, enabled cap 01[40] = powerspec 3 supports D0 D1 D3 current D0 cap 05[50] = MSI supports 4 messages, 64 bit, vector masks cap 10[70] = PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0002[140] = VC 1 max VC0 ecap 0003[300] = Serial 1 0000000000000000 Well, the QCA9880 works more or less without issues, but there is the issue with the AR9380 - it doesn't work properly. I can see it in the guest OS, I can configure it, I can scan environment for networks, but when I start it in the AP mode there is no corresponding SSID in the air. I see following messages in the guest OS boot log: # dmesg | grep ath9k [ 7.410394] ath9k 0000:00:07.0: can't derive routing for PCI INT A [ 7.411012] ath9k 0000:00:07.0: PCI INT A: no GSI It sounds not good. I don't know if it relates to the FreeBSD/bhyve or a guest OS. In my opinion, the former is more likely. Is it possible to resolve this issue? -- Igor From owner-freebsd-virtualization@freebsd.org Tue Jul 28 00:36:45 2015 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 5E1029AB6C4 for ; Tue, 28 Jul 2015 00:36:45 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (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 E7DB22BD for ; Tue, 28 Jul 2015 00:36:44 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: by wicmv11 with SMTP id mv11so159105343wic.0 for ; Mon, 27 Jul 2015 17:36:43 -0700 (PDT) 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:content-type; bh=G3gmBQWgGsirhEMsMvJQT/oRQ2FL7xDm9gX39YZmHs0=; b=eYi1oEYYY5dfoM4QJTEEcudM9h5lchLhvEqmyls3wJmKinD8GzOfXCihpCDaV/9n+Z 3LIgOlhfAFz97+Itvhn4exIHfI7f6BJvM3b+FQhZwNxQXdCkeTpShy2NsRreS2eTsZlS U7FbFc5VZFIuu7LjP6gB2f19z9IYHqUf9floeXxtt4g84EepNgDzG56heoOChpDD4ALN x/5KPLVSIF1acjN3tith1U8rhRCYrFAyQ0xGvGOLVOZWGcG3GygX7jq5t/0AZp0JxwvS 8sdhQVx4bSPHaL2jaWPZu19kMiylC5cP43/zftrnJSfdV8hojszGnIk83Zhrn7bte4Jd kE8Q== MIME-Version: 1.0 X-Received: by 10.180.84.230 with SMTP id c6mr1151017wiz.32.1438043803474; Mon, 27 Jul 2015 17:36:43 -0700 (PDT) Received: by 10.27.214.139 with HTTP; Mon, 27 Jul 2015 17:36:43 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Jul 2015 17:36:43 -0700 Message-ID: Subject: Re: An issue with a pair of wi-fi adapters in a guest OS From: Neel Natu To: Igor Pavlov 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: Tue, 28 Jul 2015 00:36:45 -0000 Hi Igor, On Mon, Jul 27, 2015 at 5:16 PM, Igor Pavlov wrote: > Hello, > > I'm trying to configure a wi-fi AP in a guest OS. > The guest OS is the OpenWRT v15.05-RC3 (I also tried current version of the > Arch Linux with the same result), it runs in the bhyve and the host OS is: > #uname -msr > FreeBSD 10.1-RELEASE-p14 amd64 > > The system CPU is: # sysctl hw.model > hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz > (it supports VT-d) > > There are two miniPCIe wi-fi adapters which are installed in a PCIe switch > card and passed to the guest OS: > > //It's the PCIe switch adapter > # pciconf -lvbc pci0:1:0:0 > pcib2@pci0:1:0:0: class=0x060400 card=0xd01d19b6 chip=0x860610b5 > rev=0xba hdr=0x01 > vendor = 'PLX Technology, Inc.' > device = 'PEX 8606 6 Lane, 6 Port PCI Express Gen 2 (5.0 GT/s) > Switch' > class = bridge > subclass = PCI-PCI > bar [10] = type Memory, range 32, base 0xf7a00000, size 131072, > enabled > cap 01[40] = powerspec 3 supports D0 D3 current D0 > cap 05[48] = MSI supports 4 messages, 64 bit, vector masks > cap 10[68] = PCI-Express 2 upstream port max data 128(512) link x1(x1) > speed 5.0(5.0) ASPM disabled(L0s/L1) > cap 0d[a4] = PCI Bridge card=0xd01d19b6 > ecap 0003[100] = Serial 1 ba860110b5df0e00 > ecap 0001[fb4] = AER 1 0 fatal 0 non-fatal 1 corrected > ecap 0004[138] = Power Budgeting 1 > ecap 0002[148] = VC 1 max VC1 lowpri VC0-VC1 > ecap 000b[448] = Vendor 1 ID 0 > ecap 000b[950] = Vendor 1 ID 1 > > //It's an ethernet adapter, it's used in the host OS > # pciconf -lvbc pci0:5:0:0 > igb0@pci0:5:0:0: class=0x020000 card=0x0000ffff chip=0x15338086 rev=0x03 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'I210 Gigabit Network Connection' > class = network > subclass = ethernet > bar [10] = type Memory, range 32, base 0xf7700000, size 1048576, > enabled > bar [18] = type I/O Port, range 32, base 0xe000, size 32, enabled > bar [1c] = type Memory, range 32, base 0xf7800000, size 16384, enabled > cap 01[40] = powerspec 3 supports D0 D3 current D0 > cap 05[50] = MSI supports 1 message, 64 bit, vector masks > cap 11[70] = MSI-X supports 5 messages, enabled > Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] > cap 10[a0] = PCI-Express 2 endpoint max data 128(512) FLR link x1(x1) > speed 2.5(2.5) ASPM disabled(L0s/L1) > ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected > ecap 0003[140] = Serial 1 00031dffff0f5039 > ecap 0017[1a0] = TPH Requester 1 > > //It's the QCA9880, 1-st wi-fi adapter, it's used in the PCI device > passthrough to the guest OS > # pciconf -lvbc pci0:6:0:0 > ppt0@pci0:6:0:0: class=0x028000 card=0x00000000 chip=0x003c168c rev=0x00 > hdr=0x00 > vendor = 'Atheros Communications Inc.' > class = network > bar [10] = type Memory, range 64, base 0xf7200000, size 2097152, > enabled > cap 01[40] = powerspec 3 supports D0 D1 D3 current D0 > cap 05[50] = MSI supports 8 messages, vector masks enabled with 1 > message > cap 10[70] = PCI-Express 2 endpoint max data 128(256) link x1(x1) > speed 2.5(2.5) ASPM disabled(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 0000000000000000 > > // It's the AR9380, 2-nd wi-fi adapter, it's used in the PCI device > passthrough to the guest OS > # pciconf -lvbc pci0:7:0:0 > ppt1@pci0:7:0:0: class=0x028000 card=0x3114168c chip=0x0030168c rev=0x01 > hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR9300 Wireless LAN adaptor' > class = network > bar [10] = type Memory, range 64, base 0xf7900000, size 131072, > enabled > cap 01[40] = powerspec 3 supports D0 D1 D3 current D0 > cap 05[50] = MSI supports 4 messages, 64 bit, vector masks > cap 10[70] = PCI-Express 2 endpoint max data 128(128) link x1(x1) > speed 2.5(2.5) ASPM disabled(L0s/L1) > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected > ecap 0002[140] = VC 1 max VC0 > ecap 0003[300] = Serial 1 0000000000000000 > > Well, the QCA9880 works more or less without issues, but there is the issue > with the AR9380 - it doesn't work properly. I can see it in the guest OS, I > can configure it, I can scan environment for networks, but when I start it > in the AP mode there is no corresponding SSID in the air. > I see following messages in the guest OS boot log: # dmesg | grep ath9k > [ 7.410394] ath9k 0000:00:07.0: can't derive routing for PCI INT A > [ 7.411012] ath9k 0000:00:07.0: PCI INT A: no GSI > It sounds not good. > I don't know if it relates to the FreeBSD/bhyve or a guest OS. In my > opinion, the former is more likely. > bhyve does not passthrough legacy PCI interrupts so the guest ath9k driver is not able to attach an interrupt handler to PCI INT_A. Is it possible to get the ath9k driver to use MSI instead? The device does support it. > Is it possible to resolve this issue? Its hard to passthrough legacy PCI interrupts in the general case because the interrupt can be shared with other host devices. However, I am happy to be proven wrong on this one :-) best Neel > > -- > Igor > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Tue Jul 28 16:22:10 2015 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 317419AD228 for ; Tue, 28 Jul 2015 16:22:10 +0000 (UTC) (envelope-from igor.arabesc.pavlov@gmail.com) Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (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 E23F3759 for ; Tue, 28 Jul 2015 16:22:09 +0000 (UTC) (envelope-from igor.arabesc.pavlov@gmail.com) Received: by qged69 with SMTP id d69so78253788qge.0 for ; Tue, 28 Jul 2015 09:22:09 -0700 (PDT) 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:content-type; bh=Q6vx6qLpLRg89+VnrzTO8J7xmvoFZv9wvlDnM3L0xwg=; b=g1g7iDm55aSS5DTNGrjUjKsuuOTSWWWPaDkQFFa/yiqy/hHWljPCHEvyRGU8v/LLck Z6AIUaSLkW7lfoTAX7PsL0WMJCS3yA9VFCV+BLJI4L38Uk8X3w4W5oeoU5OIj+3DwVEm xi1lqdoh4DwEvLTwBRO8N3q0SZZ1XDVGDDTRET3jP2tdteO6b4AU0JMwtlYr0VvUiISO 88/x53RYMFjxU7EjsaLPpbcgxVlRsTbbUlMqmdvotFn3QH+w7NxO0LWTYLj4AiQFDDi/ nVuXEXEHV9pgL/JjNSiEh9Br+7t7VTXOym1EP1PZbVKb8aFjzOGu1n45dgJMeOItdHjW DlgQ== MIME-Version: 1.0 X-Received: by 10.140.21.138 with SMTP id 10mr50237175qgl.47.1438100529068; Tue, 28 Jul 2015 09:22:09 -0700 (PDT) Received: by 10.140.98.138 with HTTP; Tue, 28 Jul 2015 09:22:08 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Jul 2015 19:22:08 +0300 Message-ID: Subject: Re: An issue with a pair of wi-fi adapters in a guest OS From: Igor Pavlov To: Neel Natu 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: Tue, 28 Jul 2015 16:22:10 -0000 Hi Neel, 2015-07-28 3:36 GMT+03:00 Neel Natu : > > bhyve does not passthrough legacy PCI interrupts so the guest ath9k > driver is not able to attach an interrupt handler to PCI INT_A. > =E2=80=8B=E2=80=8B > > Is it possible to get the ath9k driver to use MSI instead? The device > does support it. > =E2=80=8B=E2=80=8B =E2=80=8BIt seems that ath9k driver lacks MSI support and I can't find succ= essful attempts to enable it in the sources. e.g.: http://comments.gmane.org/gmane.linux.drivers.ath9k.devel/2986 http://comments.gmane.org/gmane.linux.drivers.ath9k.devel/6201 =E2=80=8BIt's going to be=E2=80=8B simpler to replace the ath9k to another = ath10k device. Thank you for support Neel! -- Igor From owner-freebsd-virtualization@freebsd.org Tue Jul 28 17:24:24 2015 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 2995E9AC063 for ; Tue, 28 Jul 2015 17:24:24 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) (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 0358F6DF for ; Tue, 28 Jul 2015 17:24:23 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by pabkd10 with SMTP id kd10so73054551pab.2 for ; Tue, 28 Jul 2015 10:24:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Yz+908tJChakveCjdTO87hwXYZQjHhZ5YC7FT86441c=; b=kVM3tPIC3dR8enS9MSuwewxJqdeZ0TCHIuHVm5rWSAeyopoZyIGQtX/c97vrTA6/0Q ON4SLQRb/qq99iwNANn/UAwnNVHlb8CJgHS0Lsy5oVIx/6t2riMvxayNALaAglc8r5BB QZdt43NvGgkdCBU4IbRZLOvihTBB6LlLIrDToeU/AL37JI6zlD+sQgvc+SHd2wo2dhLt A7qHNmFY8OyUcIyRNTi8csQxPJOzZB6NT7TlpJMT+PD1qgehxk6u4VlnUtUF8mJGWkBt +7/eBNydrGSqO57/UdqR4fELvAzmDass6zXMtrpsHeuM3wGA/HI1J5hEBBGbhzzcIIID 3fJw== X-Gm-Message-State: ALoCoQmHj/tHqxojsKtyLzVUw1jxmyZLKkgI/aNooaeJUJxfsWQI0fOoRuNMYRrAZ/j6sXutcp2o X-Received: by 10.67.1.72 with SMTP id be8mr83523692pad.47.1438104257627; Tue, 28 Jul 2015 10:24:17 -0700 (PDT) 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 da3sm36294515pdb.8.2015.07.28.10.24.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 10:24:16 -0700 (PDT) Subject: Re: docker info? To: freebsd-virtualization@freebsd.org References: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> From: Michael Dexter Message-ID: <55B7BAC0.2040703@callfortesting.org> Date: Tue, 28 Jul 2015 10:24:16 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> 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: Tue, 28 Jul 2015 17:24:24 -0000 On 7/21/15 1:37 PM, Larry Rosenman wrote: > When I try to run docker info (freshly installed): > borg.lerctr.org /home/ler $ docker info > Get http:///var/run/docker.sock/v1.19/info: EOF. Are you trying to > connect to a TLS-enabled daemon without TLS? > borg.lerctr.org /home/ler $ docker --tls info > An error occurred trying to connect: Get > https:///var/run/docker.sock/v1.19/info: tls: oversized record received > with length 20527 > borg.lerctr.org /home/ler $ Do you have the ca_root_nss package installed? Is the Docker daemon running? Michael From owner-freebsd-virtualization@freebsd.org Tue Jul 28 19:36:42 2015 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 0E4A29AD9FA for ; Tue, 28 Jul 2015 19:36:42 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E144C1AF5 for ; Tue, 28 Jul 2015 19:36:41 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6SJafCv089765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 28 Jul 2015 12:36:41 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6SJafXi089764 for freebsd-virtualization@FreeBSD.org; Tue, 28 Jul 2015 12:36:41 -0700 (PDT) (envelope-from jmg) Date: Tue, 28 Jul 2015 12:36:41 -0700 From: John-Mark Gurney To: freebsd-virtualization@FreeBSD.org Subject: troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve Message-ID: <20150728193640.GV78154@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Tue, 28 Jul 2015 12:36:41 -0700 (PDT) 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, 28 Jul 2015 19:36:42 -0000 I'm trying to run either Net or Open for some testing, and I'm not having luck. After first figuring out that the README on github doesn't include that you need to include the boot device to load the files from, I finally got kopenbsd and knetbsd loading, but when I run boot, it just drops me to a prompt w/o doing anything. For NetBSD... [dev.map] (cd0) NetBSD-6.1.5-amd64.iso (hd1) netbsd.img grub-bhyve command: # grub-bhyve -m dev.map nbsd615 GNU GRUB version 2.00 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. grub> grub> knetbsd -h -r cd0a (cd0)/netbsd grub> boot # For OpenBSD... # cat dev.map (cd0) install57.iso (hd1) openbsd.img # grub-bhyve -m dev.map obsd57 GNU GRUB version 2.00 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. grub> kopenbsd -h com0 -r sd0a (cd0)/5.7/amd64/bsd grub> boot # So, kernels are loading fine, just things crash when trying to run them... FreeBSD VM's run fine... FreeBSD carbon.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r282774: Mon May 11 11:41:38 PDT 2015 jmg@carbon.funkthat.com:/a/obj/a/home/jmg/FreeBSD.svn/HEAD/sys/GENERIC amd64 # pkg info | grep bhyve grub2-bhyve-0.30_1 Grub-emu loader for bhyve CPU: AMD A10-5700 APU with Radeon(tm) HD Graphics (3393.90-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x610f01 Family=0x15 Model=0x10 Stepping=1 Features=0x178bfbff Features2=0x3e98320b AMD Features=0x2e500800 AMD Features2=0x1ebbfff Structured Extended Features=0x8 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=65536 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-virtualization@freebsd.org Tue Jul 28 19:50:27 2015 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 0658F9ADE85 for ; Tue, 28 Jul 2015 19:50:27 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto2.onthenet.com.au [203.13.68.14]) by mx1.freebsd.org (Postfix) with ESMTP id BC94726A for ; Tue, 28 Jul 2015 19:50:26 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id 4E7CB123AB for ; Wed, 29 Jul 2015 05:50:24 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 48CE3281FFE for ; Wed, 29 Jul 2015 05:50:24 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Cd40SZ9AQoy for ; Wed, 29 Jul 2015 05:50:24 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id DD97428095B; Wed, 29 Jul 2015 05:50:21 +1000 (AEST) Subject: Re: troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve To: John-Mark Gurney References: <20150728193640.GV78154@funkthat.com> From: Peter Grehan Cc: freebsd-virtualization@FreeBSD.org Message-ID: <55B7DCFC.7060402@freebsd.org> Date: Tue, 28 Jul 2015 12:50:20 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150728193640.GV78154@funkthat.com> 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, 28 Jul 2015 19:50:27 -0000 Hi John-Mark, > After first figuring out that the README on github doesn't include that > you need to include the boot device to load the files from You can pass "-r " on the grub2 command line to specify what the default device should be (it is "(host)" if not overridden). e.g. for your netbsd command-line, this would be # grub-bhyve -r cd0 -m dev.map nbsd615 > I finally got kopenbsd and knetbsd loading, but when I run boot, it just drops > me to a prompt w/o doing anything. This is the same behaviour as bhyveload. You then need to invoke bhyve after the loader to start the VM. > So, kernels are loading fine, just things crash when trying to run > them... FreeBSD VM's run fine... What's the symptom of the crash ? later, Peter. From owner-freebsd-virtualization@freebsd.org Tue Jul 28 20:17:07 2015 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 4C0379AD875 for ; Tue, 28 Jul 2015 20:17:07 +0000 (UTC) (envelope-from spectrakid@gmail.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::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 120E2AF for ; Tue, 28 Jul 2015 20:17:07 +0000 (UTC) (envelope-from spectrakid@gmail.com) Received: by oigd21 with SMTP id d21so75638705oig.1 for ; Tue, 28 Jul 2015 13:17:06 -0700 (PDT) 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:content-type; bh=QGQmGBxQ2Teqw3C2QQv++jgoXmBQO90xtyhaSUsoGT0=; b=GLlxiZ+pP1MTGMU9YNfCGGptFA/Nmx62eyGEOMExA4ETliX2VvnayHqIOjr8kVJd09 oLCIkqM9mN7gVDG4YR+E/wWynf4xSaRnw1EkzjqG+2TW5ZlhqOX2peSLNtbyVEnIzLgc k6gW9Lchyf73XNhseB8pVpEftzVyJG2a9CrYjZW5tCfTUGZ+Ac+IHBisd09wmi0dI+2T 0kDMtJVguw92VrKiqqXz+cijDKQ/S6pXEGhX75AzglE7zS4khpGB/pbEErgcEUaOQLh/ WIHLajrz0U+LdpqM1gjdDPMoCSnwuJQ848l3sTalOdqOe+v39S3i9cGoVCezd/rUfCl3 VbDQ== MIME-Version: 1.0 X-Received: by 10.202.91.212 with SMTP id p203mr34397703oib.108.1438114626263; Tue, 28 Jul 2015 13:17:06 -0700 (PDT) Received: by 10.202.230.210 with HTTP; Tue, 28 Jul 2015 13:17:06 -0700 (PDT) Received: by 10.202.230.210 with HTTP; Tue, 28 Jul 2015 13:17:06 -0700 (PDT) In-Reply-To: <55B7BAC0.2040703@callfortesting.org> References: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> <55B7BAC0.2040703@callfortesting.org> Date: Tue, 28 Jul 2015 15:17:06 -0500 Message-ID: Subject: Re: docker info? From: Kegan Myers To: Michael Dexter Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Tue, 28 Jul 2015 20:17:07 -0000 Make sure you have permissions. Docker isn't good at figuring out that you need sudo or other permissions to talk to the socket. On Jul 28, 2015 12:24 PM, "Michael Dexter" wrote: > On 7/21/15 1:37 PM, Larry Rosenman wrote: > >> When I try to run docker info (freshly installed): >> borg.lerctr.org /home/ler $ docker info >> Get http:///var/run/docker.sock/v1.19/info: EOF. Are you trying to >> connect to a TLS-enabled daemon without TLS? >> borg.lerctr.org /home/ler $ docker --tls info >> An error occurred trying to connect: Get >> https:///var/run/docker.sock/v1.19/info: tls: oversized record received >> with length 20527 >> borg.lerctr.org /home/ler $ >> > > Do you have the ca_root_nss package installed? > Is the Docker daemon running? > > Michael > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@freebsd.org Wed Jul 29 01:51:31 2015 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 3566E9ADCC6 for ; Wed, 29 Jul 2015 01:51:31 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) (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 0DBFF1306 for ; Wed, 29 Jul 2015 01:51:30 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by pacan13 with SMTP id an13so80260031pac.1 for ; Tue, 28 Jul 2015 18:51:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=lsKdEb072yCevniVpX4aETvq7E9vSU8JvtB8Y86oFEg=; b=j9m06qiVYQ9sh0vy9JNcsDFU3qvzIhenyNbzEfQbaa+217ELqBbU1zgeeCQbKsLzdE 4onPJoWAW03GmgVNHD3iBxVHux25y+U70d8OdfLr6UeftpgwRYcGfxkoaY1BhU0cO05A rMONHcGpaWb9y4sOpU24K4jEcxsM19ioToiqBVpl96eCWDARngAIqd9upzyTEAqTsBRb uWQ8iFFJ8Yi6NkfBOJ5/tJiVMVV71eklV8akwPXW0+D4GjrShDlH32x/snqmd/0b52qK S2+S6bswRuDtUaYoww3Bo7sdhL7mwCWLPa9t+P5TAgFNS0mO5KVtQZxkOkYA8INr4fsM EDVw== X-Gm-Message-State: ALoCoQkqAI7siWfceG2MFiwLpVx8vGafgEnXobUglaXWdC7W+AtB2Nky2RzcsaRY7KGVbwmlcDLn X-Received: by 10.66.251.135 with SMTP id zk7mr87026367pac.80.1438134265190; Tue, 28 Jul 2015 18:44:25 -0700 (PDT) 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 cj7sm37437832pdb.33.2015.07.28.18.44.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 18:44:23 -0700 (PDT) Subject: Re: docker info? To: Kegan Myers References: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> <55B7BAC0.2040703@callfortesting.org> Cc: freebsd-virtualization@freebsd.org From: Michael Dexter Message-ID: <55B82FF6.4040500@callfortesting.org> Date: Tue, 28 Jul 2015 18:44:22 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.1.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: Wed, 29 Jul 2015 01:51:31 -0000 On 7/28/15 1:17 PM, Kegan Myers wrote: > Make sure you have permissions. Docker isn't good at figuring out that you > need sudo or other permissions to talk to the socket. Also, do make sure you are using a recent version of 11 CURRENT or a 10.2 BETA/RC. I do not know what errors will be thrown by older versions of FreeBSD with Linux images, though they will support FreeBSD images with some risk of ABI mismatch. Michael From owner-freebsd-virtualization@freebsd.org Wed Jul 29 01:55:45 2015 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 B1C519ADDCF; Wed, 29 Jul 2015 01:55:45 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 345D0161A; Wed, 29 Jul 2015 01:55:45 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=nBe/ttrKy/noTpWWwcBTnh+msfqlX08zP9f/n6Y98AM=; b=sCFKVc9J36bmUy50PVFnAJzSC3mEttTaVnWAARFDsqlyWM1UvUE7ojbX4B4kifjthQ2rFr0mXPd/xBqOUM6BMuEoAq8jkcTHPRQlEhtX7Fl7muTIs1/w4nK08B9qAlDVhkNqz7plvDAm0bLGbsH0BL3OeBncSIse0o+YB7pifp8=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:19740 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZKGat-00035o-BC; Tue, 28 Jul 2015 20:55:43 -0500 Received: from cpe-70-113-56-244.austin.res.rr.com ([70.113.56.244]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 28 Jul 2015 20:55:43 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 28 Jul 2015 20:55:43 -0500 From: Larry Rosenman To: Michael Dexter Cc: Kegan Myers , freebsd-virtualization@freebsd.org, owner-freebsd-virtualization@freebsd.org Subject: Re: docker info? In-Reply-To: <55B82FF6.4040500@callfortesting.org> References: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> <55B7BAC0.2040703@callfortesting.org> <55B82FF6.4040500@callfortesting.org> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.2 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 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, 29 Jul 2015 01:55:45 -0000 On 2015-07-28 20:44, Michael Dexter wrote: > On 7/28/15 1:17 PM, Kegan Myers wrote: >> Make sure you have permissions. Docker isn't good at figuring out that >> you >> need sudo or other permissions to talk to the socket. > > Also, do make sure you are using a recent version of 11 CURRENT or a > 10.2 BETA/RC. I do not know what errors will be thrown by older > versions of FreeBSD with Linux images, though they will support > FreeBSD images with some risk of ABI mismatch. > > Michael > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" I'm running absolutely top of tree. borg.lerctr.org /home/ler $ sudo -s Password: borg.lerctr.org /home/ler # docker info Get http:///var/run/docker.sock/v1.19/info: EOF. Are you trying to connect to a TLS-enabled daemon without TLS? borg.lerctr.org /home/ler # ps auxw|grep docker root 867 0.0 0.0 14412 2220 - Is 16:48 0:00.00 daemon: /usr/local/bin/docker[868] (daemon) root 868 0.0 0.0 38628 16116 - S 16:48 0:12.21 /usr/local/bin/docker -d -e jail -s zfs -g /usr/docker -D root 3544 0.0 0.0 18772 2548 0 S+ 20:54 0:00.00 grep docker borg.lerctr.org /home/ler # uname -aKU FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #29 r285983: Tue Jul 28 16:15:05 CDT 2015 root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64 1100077 1100077 borg.lerctr.org /home/ler # borg.lerctr.org /home/ler # pkg info docker-freebsd docker-freebsd-20150625 Name : docker-freebsd Version : 20150625 Installed on : Wed Jul 22 11:17:21 CDT 2015 Origin : sysutils/docker-freebsd Architecture : freebsd:11:x86:64 Prefix : /usr/local Categories : sysutils Licenses : APACHE20 Maintainer : kmoore@FreeBSD.org WWW : https://github.com/kvasdopil/docker Comment : Docker containment system Annotations : Flat size : 11.5MiB Description : Docker is an open source project to pack, ship and run any application as a lightweight container. Docker containers are both hardware-agnostic and platform-agnostic. This means they can run anywhere, from your laptop to the largest EC2 compute instance and everything in between - and they don't require you to use a particular language, framework or packaging system. That makes them great building blocks for deploying and scaling web apps, databases, and backend services without depending on a particular stack or provider. WWW: https://github.com/kvasdopil/docker borg.lerctr.org /home/ler # -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688 From owner-freebsd-virtualization@freebsd.org Wed Jul 29 02:10:36 2015 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 350039AD1B1; Wed, 29 Jul 2015 02:10:36 +0000 (UTC) (envelope-from ben.perrault@gmail.com) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::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 050ED1CD5; Wed, 29 Jul 2015 02:10:36 +0000 (UTC) (envelope-from ben.perrault@gmail.com) Received: by pachj5 with SMTP id hj5so78919255pac.3; Tue, 28 Jul 2015 19:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SZDkxDrLJCdFZId8zFTyy2zmASzCkecWfGKpj5l9oj8=; b=gbbhvxc5yMV+dT8DlQYRg5g5H6G5bkBNiK/tjFuZGlj9VCUVL6DEuURGlxJi5qmNWX GdPDLvC0C2DZJ9+FM6glrFH6j7MyUznd3nFafT4KScx9gMPEl5vgiiH06BTZYtUvYKO1 cUYq4LmpHqwRB7ZVas0Ek0j0PGD5m5tcsCeQwPSCmgN1qoy7NRZ3w5n93nAumY+9L0To d4S28nxeYbVtUmzbeTsPa9LL+8cvQcovcJQEjCt9tKdjtyftztl6vYYReRXSijTNYIRZ s0p4Sh595UUPvPW7dVhhCBAnzztyXjIn56gZuGy4sM3D4gocdOLACJ+0GayTj3q8aSSt fi9Q== X-Received: by 10.66.119.201 with SMTP id kw9mr88901174pab.49.1438135834804; Tue, 28 Jul 2015 19:10:34 -0700 (PDT) Received: from neil.creepingfur.org (104-193-168-11.PUBLIC.monkeybrains.net. [104.193.168.11]) by smtp.gmail.com with ESMTPSA id kw5sm37689848pab.29.2015.07.28.19.10.33 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jul 2015 19:10:33 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: docker info? From: Benjamin Perrault In-Reply-To: Date: Tue, 28 Jul 2015 19:10:32 -0700 Cc: Michael Dexter , owner-freebsd-virtualization@freebsd.org, freebsd-virtualization@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8C558056-77D5-46C1-899B-84C8FBF5E63A@gmail.com> References: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> <55B7BAC0.2040703@callfortesting.org> <55B82FF6.4040500@callfortesting.org> To: Larry Rosenman X-Mailer: Apple Mail (2.2102) 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, 29 Jul 2015 02:10:36 -0000 > On Jul 28, 2015, at 6:55 PM, Larry Rosenman wrote: >=20 > On 2015-07-28 20:44, Michael Dexter wrote: >> On 7/28/15 1:17 PM, Kegan Myers wrote: >>> Make sure you have permissions. Docker isn't good at figuring out = that you >>> need sudo or other permissions to talk to the socket. >> Also, do make sure you are using a recent version of 11 CURRENT or a >> 10.2 BETA/RC. I do not know what errors will be thrown by older >> versions of FreeBSD with Linux images, though they will support >> FreeBSD images with some risk of ABI mismatch. >> Michael >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to >> "freebsd-virtualization-unsubscribe@freebsd.org" >=20 > I'm running absolutely top of tree. >=20 > borg.lerctr.org /home/ler $ sudo -s > Password: > borg.lerctr.org /home/ler # docker info > Get http:///var/run/docker.sock/v1.19/info: EOF. Are you trying to = connect to a TLS-enabled daemon without TLS? > borg.lerctr.org /home/ler # ps auxw|grep docker > root 867 0.0 0.0 14412 2220 - Is 16:48 0:00.00 = daemon: /usr/local/bin/docker[868] (daemon) > root 868 0.0 0.0 38628 16116 - S 16:48 0:12.21 = /usr/local/bin/docker -d -e jail -s zfs -g /usr/docker -D > root 3544 0.0 0.0 18772 2548 0 S+ 20:54 0:00.00 = grep docker > borg.lerctr.org /home/ler # uname -aKU > FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #29 r285983: = Tue Jul 28 16:15:05 CDT 2015 = root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64 1100077 1100077 > borg.lerctr.org /home/ler # >=20 > borg.lerctr.org /home/ler # pkg info docker-freebsd > docker-freebsd-20150625 > Name : docker-freebsd > Version : 20150625 > Installed on : Wed Jul 22 11:17:21 CDT 2015 > Origin : sysutils/docker-freebsd > Architecture : freebsd:11:x86:64 > Prefix : /usr/local > Categories : sysutils > Licenses : APACHE20 > Maintainer : kmoore@FreeBSD.org > WWW : https://github.com/kvasdopil/docker > Comment : Docker containment system > Annotations : > Flat size : 11.5MiB > Description : > Docker is an open source project to pack, ship and run any > application as a lightweight container. >=20 > Docker containers are both hardware-agnostic and platform-agnostic. > This means they can run anywhere, from your laptop to the largest > EC2 compute instance and everything in between - and they don't > require you to use a particular language, framework or packaging > system. That makes them great building blocks for deploying and > scaling web apps, databases, and backend services without depending > on a particular stack or provider. >=20 > WWW: https://github.com/kvasdopil/docker >=20 > borg.lerctr.org /home/ler # > =E2=80=94=20 ~20% of a few customers containers have had issues - from stability to = performance to bizarre behavior - but most of it is rather new stuff = based off CoreOS, Ubuntu 15.x, Debian 8.1, etc. - with CoreOS showing = issue the most often. These all have VERY recent kernels, so it=E2=80=99s = likely missing ABI functionality in the emulation layer.=20 With that said - I=E2=80=99ve found that Ubuntu 12/14 LTS and = Centos/RHEL 6.x containers work great. Most Centos 7 ones we=E2=80=99ve = tested also seem to be okay - though later 7/7.1 have show high cpu = usage and erratic network performance. Once I have time, I might delve = deeper into it - though it=E2=80=99s not a huge priority at the moment. Hopefully that was useful in some capacity. best, -bp @creepingfur =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D You shouldn=E2=80=99t let poets lie to you. - Bjork=20= From owner-freebsd-virtualization@freebsd.org Wed Jul 29 02:14:22 2015 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 533F89AD371; Wed, 29 Jul 2015 02:14:22 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 281711EF4; Wed, 29 Jul 2015 02:14:22 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=fYCAHEq7LSVZAfwCtrivi7SCC0/Dru1RRVvNZOGjc90=; b=m/+nf+sUCRbvICIKpwtcH17zy3pdSIje2+8XC6xOoXV1ir4prmBwynCv773avWEFid7hMq05PAkWmZKEoL056LTiG4gILMDokIOgyMt34D9tC9nXD8ZklxsASvguYQPiUyTlRTFTNmfwjwj0asFYnRT2rn6egdto/Efo1furb6U=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:34871 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZKGsu-0003He-Na; Tue, 28 Jul 2015 21:14:20 -0500 Received: from cpe-70-113-56-244.austin.res.rr.com ([70.113.56.244]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 28 Jul 2015 21:14:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 28 Jul 2015 21:14:20 -0500 From: Larry Rosenman To: Benjamin Perrault Cc: Michael Dexter , owner-freebsd-virtualization@freebsd.org, freebsd-virtualization@freebsd.org Subject: Re: docker info? In-Reply-To: <8C558056-77D5-46C1-899B-84C8FBF5E63A@gmail.com> References: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> <55B7BAC0.2040703@callfortesting.org> <55B82FF6.4040500@callfortesting.org> <8C558056-77D5-46C1-899B-84C8FBF5E63A@gmail.com> Message-ID: <8d8ac6cf02de937085aa51bfdb90c484@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.2 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 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, 29 Jul 2015 02:14:22 -0000 On 2015-07-28 21:10, Benjamin Perrault wrote: >> On Jul 28, 2015, at 6:55 PM, Larry Rosenman wrote: >> >> On 2015-07-28 20:44, Michael Dexter wrote: >>> On 7/28/15 1:17 PM, Kegan Myers wrote: >>>> Make sure you have permissions. Docker isn't good at figuring out >>>> that you >>>> need sudo or other permissions to talk to the socket. >>> Also, do make sure you are using a recent version of 11 CURRENT or a >>> 10.2 BETA/RC. I do not know what errors will be thrown by older >>> versions of FreeBSD with Linux images, though they will support >>> FreeBSD images with some risk of ABI mismatch. >>> Michael >>> _______________________________________________ >>> freebsd-virtualization@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >>> To unsubscribe, send any mail to >>> "freebsd-virtualization-unsubscribe@freebsd.org" >> >> I'm running absolutely top of tree. >> >> borg.lerctr.org /home/ler $ sudo -s >> Password: >> borg.lerctr.org /home/ler # docker info >> Get http:///var/run/docker.sock/v1.19/info: EOF. Are you trying to >> connect to a TLS-enabled daemon without TLS? >> borg.lerctr.org /home/ler # ps auxw|grep docker >> root 867 0.0 0.0 14412 2220 - Is 16:48 0:00.00 >> daemon: /usr/local/bin/docker[868] (daemon) >> root 868 0.0 0.0 38628 16116 - S 16:48 0:12.21 >> /usr/local/bin/docker -d -e jail -s zfs -g /usr/docker -D >> root 3544 0.0 0.0 18772 2548 0 S+ 20:54 0:00.00 >> grep docker >> borg.lerctr.org /home/ler # uname -aKU >> FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #29 r285983: >> Tue Jul 28 16:15:05 CDT 2015 >> root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64 1100077 >> 1100077 >> borg.lerctr.org /home/ler # >> >> borg.lerctr.org /home/ler # pkg info docker-freebsd >> docker-freebsd-20150625 >> Name : docker-freebsd >> Version : 20150625 >> Installed on : Wed Jul 22 11:17:21 CDT 2015 >> Origin : sysutils/docker-freebsd >> Architecture : freebsd:11:x86:64 >> Prefix : /usr/local >> Categories : sysutils >> Licenses : APACHE20 >> Maintainer : kmoore@FreeBSD.org >> WWW : https://github.com/kvasdopil/docker >> Comment : Docker containment system >> Annotations : >> Flat size : 11.5MiB >> Description : >> Docker is an open source project to pack, ship and run any >> application as a lightweight container. >> >> Docker containers are both hardware-agnostic and platform-agnostic. >> This means they can run anywhere, from your laptop to the largest >> EC2 compute instance and everything in between - and they don't >> require you to use a particular language, framework or packaging >> system. That makes them great building blocks for deploying and >> scaling web apps, databases, and backend services without depending >> on a particular stack or provider. >> >> WWW: https://github.com/kvasdopil/docker >> >> borg.lerctr.org /home/ler # >> — > > ~20% of a few customers containers have had issues - from stability to > performance to bizarre behavior - but most of it is rather new stuff > based off CoreOS, Ubuntu 15.x, Debian 8.1, etc. - with CoreOS showing > issue the most often. These all have VERY recent kernels, so it’s > likely missing ABI functionality in the emulation layer. > > With that said - I’ve found that Ubuntu 12/14 LTS and Centos/RHEL 6.x > containers work great. Most Centos 7 ones we’ve tested also seem to be > okay - though later 7/7.1 have show high cpu usage and erratic network > performance. Once I have time, I might delve deeper into it - though > it’s not a huge priority at the moment. > > Hopefully that was useful in some capacity. > > best, > -bp > @creepingfur > ======================== > You shouldn’t let poets lie to you. > - Bjork i docker info supposed to work from the HOST OS or in the container? I've been trying it from the Host OS. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688 From owner-freebsd-virtualization@freebsd.org Wed Jul 29 07:47:58 2015 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 3BB659AB7B0; Wed, 29 Jul 2015 07:47:58 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (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 C61213B9; Wed, 29 Jul 2015 07:47:57 +0000 (UTC) (envelope-from timp87@gmail.com) Received: by wicmv11 with SMTP id mv11so207617485wic.0; Wed, 29 Jul 2015 00:47:56 -0700 (PDT) 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:content-type:content-transfer-encoding; bh=gUGALStgKfl3ZAfVvP2bXBQ9GTU5g9Ck6+zFFXXkZKE=; b=b6qNqSy36Y4yPqAsepar4hnVl1kxWpKvXFG9sBu1o+LPhAygm5Fe7YSxSgzTAV4b+q D4un6C1RQDWqEDNWtorXgOvEcSKgpUeVIEgmPHPT7TN4vvJtPf9Poqqqp0ENodSuxgx3 OeNSWLSrsP0ftwrMOEYEumvR/uPZAmOQsDb5zYpONmchkWj6Lm0xdMi4e9GE2Scettog P1uUwz72CA1iIzbTv75Uw5adW8pmQHWlfA68P2hhPbKpwy4U3mzbXCRi3NTPRkw1Ry69 ACS9rHfawHCP2fNHMyick9FLYa89Z3grbDc///DExY7KRSBBA8Zck40e11GP5nhuivRd Zz5w== MIME-Version: 1.0 X-Received: by 10.194.2.9 with SMTP id 9mr60753413wjq.95.1438156076020; Wed, 29 Jul 2015 00:47:56 -0700 (PDT) Received: by 10.28.48.207 with HTTP; Wed, 29 Jul 2015 00:47:55 -0700 (PDT) In-Reply-To: References: <20150707130902.GA41189@zxy.spb.ru> <20150707154906.GA44094@zxy.spb.ru> Date: Wed, 29 Jul 2015 10:47:55 +0300 Message-ID: Subject: Re: MS DNS doesn't answer to CURRENT under Hyper-V From: Pavel Timofeev To: Wei Hu Cc: Slawa Olhovchenkov , "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 29 Jul 2015 07:47:58 -0000 Hi! r285785 still isn't MFCed. RC2 is coming soon. 2015-07-23 10:54 GMT+03:00 Pavel Timofeev : > Ok, sorry! > > 2015-07-23 7:51 GMT+03:00 Wei Hu : >> The TCP offloading is still working on these platforms. There is no flag= to distinguish UDP and TCP offloading, so the RXCSUM and TXCSUM are still = set. Let me know if there is any other way to show it properly. >> >> Thanks, >> Wei >> >> >> -----Original Message----- >> From: Pavel Timofeev [mailto:timp87@gmail.com] >> Sent: Wednesday, July 22, 2015 9:04 PM >> To: Wei Hu >> Cc: Slawa Olhovchenkov ; freebsd-current@freebsd.org; fr= eebsd-virtualization@freebsd.org >> Subject: Re: MS DNS doesn't answer to CURRENT under Hyper-V >> >> Hi! I see you have done the code for disabling UDP checksum offloading w= hen running on the Hyper-V on Windows Server 2012 and earlier hosts >> >> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D285785 >> >> I tried new CURRENT and it works. Thank you! >> >> A small note here: while it disables and works it still shows RXCSUM and= TSCSUM in iface's options: >> >> root@proxy:/usr/src # ifconfig hn0 >> hn0: flags=3D8843 metric 0 mtu 1= 500 >> options=3D31b >> ether 00:15:5d:02:9c:09 >> inet 192.168.25.26 netmask 0xffffffc0 broadcast 192.168.25.63 >> nd6 options=3D29 >> >> Is it possible to hide it automatically if it's disabled by new code? >> >> >> 2015-07-13 11:06 GMT+03:00 Wei Hu : >>> We have root caused the problem. This issue happens on the Hyper-Vs on = Windows Server 2012 (Win 8.0) and earlier releases. On these releases, the = UPD checksum offloading on host side does not work properly. The workaround= is to disable UPD checksum offloading in the FreeBSD guest through 'ifconf= ig'. We are also working on a patch to turn off UPD checksum offloading in = the netvsc driver when detecting the Hyper-V releases. >>> >>> The UDP checksum offloading works fine on Windows Server 2012R2 and Win= 8.1 hosts. >>> >>> Thanks Pavel and Slawa for the support. >>> >>> Wei >>> >>> >>>> -----Original Message----- >>>> From: owner-freebsd-virtualization@freebsd.org [mailto:owner-freebsd- >>>> virtualization@freebsd.org] On Behalf Of Pavel Timofeev >>>> Sent: Wednesday, July 8, 2015 4:06 PM >>>> To: Slawa Olhovchenkov >>>> Cc: freebsd-current@freebsd.org; freebsd-virtualization@freebsd.org >>>> Subject: Re: MS DNS doesn't answer to CURRENT under Hyper-V >>>> >>>> Ok, r284746 is the root of the problem. MS DNS works under r284745 >>>> and doesn't work under r284746. >>>> Slawa, what should I look at in wireshark output? >>>> >>>> >>>> 2015-07-07 18:49 GMT+03:00 Slawa Olhovchenkov : >>>> > On Tue, Jul 07, 2015 at 06:04:46PM +0300, Pavel Timofeev wrote: >>>> > >>>> >> Well, turning off checksum offloading by `ifconfig hn0 -txcsum >>>> >> -rxcsum` definitely helps. >>>> >> >>>> >> As for tcpdump I'm not completely sure if I did it right, but I >>>> >> see "bad udp cksum" phrase: >>>> >> >>>> >> # tcpdump -i hn0 -vvv -nn udp dst port 53 >>>> >> tcpdump: listening on hn0, link-type EN10MB (Ethernet), capture >>>> >> size >>>> >> 262144 bytes >>>> >> 18:01:19.139994 IP (tos 0x0, ttl 64, id 61218, offset 0, flags >>>> >> [none], proto UDP (17), length 51) >>>> >> 192.168.25.26.45683 > 192.168.25.3.53: [bad udp cksum 0xb39e >>>> >> -> 0xf210!] 52886+ A? ya.ru. (23) >>>> >> 18:01:24.140544 IP (tos 0x0, ttl 64, id 17293, offset 0, flags >>>> >> [none], proto UDP (17), length 51) >>>> >> 192.168.25.26.12575 > 192.168.25.3.53: [bad udp cksum 0xb39e >>>> >> -> 0x7365!] 52886+ A? ya.ru. (23) >>>> > >>>> > tcpdump "bad udp cksum" is normal on FreeBSD host in case checksum >>>> > offload (and may be need only for help finding issuse in code). >>>> > Need wireshark capturing from MS DNS host (or from mirroring port). >>>> _______________________________________________ >>>> freebsd-virtualization@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >>>> To unsubscribe, send any mail to "freebsd-virtualization- >>>> unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Wed Jul 29 07:50:20 2015 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 570AE9AB950; Wed, 29 Jul 2015 07:50:20 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0135.outbound.protection.outlook.com [207.46.100.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01958953; Wed, 29 Jul 2015 07:50:19 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) by BY1PR03MB1433.namprd03.prod.outlook.com (10.162.127.151) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 29 Jul 2015 07:50:12 +0000 Received: from BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) by BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) with mapi id 15.01.0225.018; Wed, 29 Jul 2015 07:50:12 +0000 From: Wei Hu To: Pavel Timofeev CC: Slawa Olhovchenkov , "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" Subject: RE: MS DNS doesn't answer to CURRENT under Hyper-V Thread-Topic: MS DNS doesn't answer to CURRENT under Hyper-V Thread-Index: AQHQuKsxHCAHG2fAnE6RlFoo4JehXp3P+tkAgAAgVgCAAAxjAIABENiAgAfXc/CADnypAIABBhSggAA1mACACWw5gIAAACLQ Date: Wed, 29 Jul 2015 07:50:10 +0000 Message-ID: References: <20150707130902.GA41189@zxy.spb.ru> <20150707154906.GA44094@zxy.spb.ru> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none; x-originating-ip: [131.107.0.113] x-microsoft-exchange-diagnostics: 1; BY1PR03MB1433; 5:zOwxgBGPXK+B8NDvClIUNfPuv5Z7IVvUxvI/UahNPAu6L1lI5ufUt+SnmuOil7sIYRgJrqzBqco4feOFk3yW/IJTnB/qDdRMlpGKPkWjcE+foeq1MdOpFdpKqHr+845iLocVh8TIcti1Dkvvi78uhA==; 24:9q+zFAvrF1WX5SmAZ1fpiRa0kE/bTWRkdYZouzUEiSWrRZRqCplJhssuJ9pDxq6nPsUetO/bOUap7kD6BurHX1VaID/HpvSPPAudg9stUA0=; 20:RR2FXjnONakoCZvbJpT1uIN19yQaT3VAusm0sENA6MGogwpcS0l1SpvO2TH+vadzvHn6WCoRz9D5y4KDAuKxbw== x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(42134001)(42139001); SRVR:BY1PR03MB1433; x-o365ent-eop-header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY) by1pr03mb1433: X-MS-Exchange-Organization-RulesExecuted x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(108003899814671); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY1PR03MB1433; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1433; x-forefront-prvs: 0652EA5565 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(377424004)(164054003)(13464003)(24454002)(110136002)(189998001)(19580405001)(5001960100002)(15975445007)(46102003)(5002640100001)(102836002)(92566002)(50986999)(5003600100002)(86362001)(62966003)(40100003)(54356999)(87936001)(93886004)(74316001)(2656002)(19580395003)(2900100001)(76576001)(76176999)(1720100001)(33656002)(2950100001)(10090500001)(77156002)(106116001)(66066001)(4477795004)(77096005); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1433; H:BY1PR03MB1434.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2015 07:50:10.7222 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1433 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, 29 Jul 2015 07:50:20 -0000 SXQgaXMgYWxyZWFkeSBpbiBzdGFibGUvMTAgYnJhbmNoLiBJIGFtIGp1c3QgYWJvdXQgdG8gc2Vu ZCB0aGUgcmVxdWVzdCB0bw0KcmVAIGZvciByZWxlbmcvMTAuMiBjb21taXQgYXBwcm92YWwuDQoN CldlaQ0KDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBQYXZlbCBUaW1vZmVl diBbbWFpbHRvOnRpbXA4N0BnbWFpbC5jb21dIA0KU2VudDogV2VkbmVzZGF5LCBKdWx5IDI5LCAy MDE1IDM6NDggUE0NClRvOiBXZWkgSHUgPHdlaEBtaWNyb3NvZnQuY29tPg0KQ2M6IFNsYXdhIE9s aG92Y2hlbmtvdiA8c2x3QHp4eS5zcGIucnU+OyBmcmVlYnNkLWN1cnJlbnRAZnJlZWJzZC5vcmc7 IGZyZWVic2QtdmlydHVhbGl6YXRpb25AZnJlZWJzZC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4gPj4gLT4gMHg3MzY1IV0gNTI4ODYrIEE/IHlhLnJ1LiAoMjMpDQo+Pj4+ID4NCj4+Pj4gPiB0 Y3BkdW1wICJiYWQgdWRwIGNrc3VtIiBpcyBub3JtYWwgb24gRnJlZUJTRCBob3N0IGluIGNhc2Ug DQo+Pj4+ID4gY2hlY2tzdW0gb2ZmbG9hZCAoYW5kIG1heSBiZSBuZWVkIG9ubHkgZm9yIGhlbHAg ZmluZGluZyBpc3N1c2UgaW4gY29kZSkuDQo+Pj4+ID4gTmVlZCB3aXJlc2hhcmsgY2FwdHVyaW5n IGZyb20gTVMgRE5TIGhvc3QgKG9yIGZyb20gbWlycm9yaW5nIHBvcnQpLg0KPj4+PiBfX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPj4+PiBmcmVlYnNkLXZp cnR1YWxpemF0aW9uQGZyZWVic2Qub3JnIG1haWxpbmcgbGlzdCANCj4+Pj4gaHR0cDovL2xpc3Rz LmZyZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC12aXJ0dWFsaXphdGlvbg0KPj4+ PiBUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC12aXJ0dWFsaXphdGlv bi0gDQo+Pj4+IHVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K From owner-freebsd-virtualization@freebsd.org Wed Jul 29 07:56:31 2015 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 BD2B29ABC0B for ; Wed, 29 Jul 2015 07:56:31 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F1F7CBE for ; Wed, 29 Jul 2015 07:56:31 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6T7uUda000321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 29 Jul 2015 00:56:30 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6T7uUHY000320 for freebsd-virtualization@freebsd.org; Wed, 29 Jul 2015 00:56:30 -0700 (PDT) (envelope-from jmg) Date: Wed, 29 Jul 2015 00:56:30 -0700 From: John-Mark Gurney To: freebsd-virtualization@freebsd.org Subject: Re: troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve Message-ID: <20150729075630.GD78154@funkthat.com> References: <20150728193640.GV78154@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150728193640.GV78154@funkthat.com> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Wed, 29 Jul 2015 00:56:30 -0700 (PDT) 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, 29 Jul 2015 07:56:31 -0000 John-Mark Gurney wrote this message on Tue, Jul 28, 2015 at 12:36 -0700: > I'm trying to run either Net or Open for some testing, and I'm not > having luck. > > After first figuring out that the README on github doesn't include that > you need to include the boot device to load the files from, I finally > got kopenbsd and knetbsd loading, but when I run boot, it just drops > me to a prompt w/o doing anything. With a little bit of help (thanks @nahannisys), I managed to fix my issues... I put up a blog entry at: http://blog.funkthat.com/2015/07/installing-and-running-netbsd-and.html that describes how I did both an install and boot of both NetBSD and OpenBSD... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-virtualization@freebsd.org Wed Jul 29 15:59:24 2015 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 4D1869AE4FD for ; Wed, 29 Jul 2015 15:59:24 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 33F3316D9 for ; Wed, 29 Jul 2015 15:59:24 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 32D4C99FB; Wed, 29 Jul 2015 15:59:24 +0000 (UTC) Date: Wed, 29 Jul 2015 15:59:24 +0000 To: freebsd-virtualization@freebsd.org From: "rodrigc (Craig Rodrigues)" Reply-to: D1944+333+b09c6235d993877b@reviews.freebsd.org Subject: [Differential] [Commented On] D1944: PF and VIMAGE fixes Message-ID: <2c8b6ab385919df74a866f43e4cedcec@localhost.localdomain> X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFW4+Fw= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: 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, 29 Jul 2015 15:59:24 -0000 rodrigc added a comment. @glebius: Nikos updated the patch. Can you review it? REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, trociny, kristof, gnn, zec, rodrigc, glebius, eri Cc: farrokhi, julian, robak, freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list From owner-freebsd-virtualization@freebsd.org Thu Jul 30 02:25:41 2015 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 76B4E9A7855; Thu, 30 Jul 2015 02:25:41 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bbn0102.outbound.protection.outlook.com [157.56.111.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B877C16A6; Thu, 30 Jul 2015 02:25:39 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) by BY1PR03MB1433.namprd03.prod.outlook.com (10.162.127.151) with Microsoft SMTP Server (TLS) id 15.1.225.19; Thu, 30 Jul 2015 02:25:32 +0000 Received: from BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) by BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) with mapi id 15.01.0225.018; Thu, 30 Jul 2015 02:25:31 +0000 From: Wei Hu To: Pavel Timofeev CC: Slawa Olhovchenkov , "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" Subject: RE: MS DNS doesn't answer to CURRENT under Hyper-V Thread-Topic: MS DNS doesn't answer to CURRENT under Hyper-V Thread-Index: AQHQuKsxHCAHG2fAnE6RlFoo4JehXp3P+tkAgAAgVgCAAAxjAIABENiAgAfXc/CADnypAIABBhSggAA1mACACWw5gIABOBBA Date: Thu, 30 Jul 2015 02:25:31 +0000 Message-ID: References: <20150707130902.GA41189@zxy.spb.ru> <20150707154906.GA44094@zxy.spb.ru> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none; x-originating-ip: [167.220.232.8] x-microsoft-exchange-diagnostics: 1; BY1PR03MB1433; 5:YfhHqM+yrwPs7HyBt7wI5OwM5HfmMr5AXpnanrT8eM9JbyQJ74TNFBkxLgBf8GW53eMMV++FTPtAndQbE3Fv6XwtP6Cb2goOl2GbF1QFny7GXB7ThHOQdxiC2elLE1QcNdEa9+IVstgi9ILfCv0wSg==; 24:e1QRyw+Y+7BhfzowU0w5oOVAM2DeVtQENTzhQpj+rT0nGOOA8YYm7fi0LFf6WMtHcNnIzNcuHca/wlPLw4pdUCO8vinTLUx9brMnI0Ub/mk=; 20:OCSJAg9PGxUU9FYRm25prR9HETpY4hZ6tiDjPdp+Wi64wQlqCzw3mnCu4Kl4/7qEjV9ZzwVPL8MqlGu6+YTkEA== x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(42134001)(42139001); SRVR:BY1PR03MB1433; by1pr03mb1433: X-MS-Exchange-Organization-RulesExecuted x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(108003899814671); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY1PR03MB1433; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1433; x-forefront-prvs: 06530126A4 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(6009001)(377454003)(377424004)(164054003)(13464003)(24454002)(110136002)(46102003)(189998001)(15975445007)(92566002)(5002640100001)(50986999)(86362001)(102836002)(5003600100002)(62966003)(106356001)(86612001)(40100003)(93886004)(87936001)(54356999)(5001960100002)(2900100001)(1720100001)(2656002)(122556002)(33656002)(19580395003)(76576001)(230673001)(19580405001)(2950100001)(10090500001)(1411001)(77156002)(76176999)(66066001)(4477795004)(99286002)(106116001)(77096005)(74316001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1433; H:BY1PR03MB1434.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2015 02:25:31.7261 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1433 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: Th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mluZyBmcm9tIE1T IEROUyBob3N0IChvciBmcm9tIG1pcnJvcmluZyBwb3J0KS4NCj4gPj4+PiBfX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPiA+Pj4+IGZyZWVic2QtdmlydHVh bGl6YXRpb25AZnJlZWJzZC5vcmcgbWFpbGluZyBsaXN0DQo+ID4+Pj4gaHR0cDovL2xpc3RzLmZy ZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC12aXJ0dWFsaXphdGlvbg0KPiA+Pj4+ IFRvIHVuc3Vic2NyaWJlLCBzZW5kIGFueSBtYWlsIHRvICJmcmVlYnNkLXZpcnR1YWxpemF0aW9u LQ0KPiA+Pj4+IHVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K From owner-freebsd-virtualization@freebsd.org Thu Jul 30 15:28:06 2015 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 B1D1F9AFF12 for ; Thu, 30 Jul 2015 15:28:06 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (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 79C8C93D for ; Thu, 30 Jul 2015 15:28:06 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: by igbpg9 with SMTP id pg9so35956342igb.0 for ; Thu, 30 Jul 2015 08:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=lvP4IQ27HZfRtEbaq52TMiptXxbCh0G1/67G6MUAhOQ=; b=Cgc0CDATwK3BROnwsEjxWqJyn3H40/HzugFhxamdepMkVTVZ+WHDmoYSobdhMGuIdw M+QTcQRlctr0XeFFT9nCbTQXFTkTXvispDN8t6YRh2+yFi9CAJxRsbLAobaz6KACGKIo Eu4EgZAt2ZcHdqsP21WUgO+REAu5Z9cNmBno9mhXnWDDhiD8UXyQOtg7sfRPdbIYTRvE /eGbT5FUI2Ko42brVYj6KAMKUeDAkGCzo5oAwtpNYAXWZF+hJqbd87In5c8mUCOGzs94 nhoXZ2WJIaJvpxbbuLwI2LmKgoYeTyFinHoMYzQX+Lv5sWDoKT+dFmHzUSFFTue3RcUj WBoA== X-Received: by 10.50.134.226 with SMTP id pn2mr6223373igb.21.1438270085850; Thu, 30 Jul 2015 08:28:05 -0700 (PDT) Received: from [192.168.0.111] ([209.195.113.231]) by smtp.googlemail.com with ESMTPSA id j3sm1432799ige.0.2015.07.30.08.28.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 08:28:05 -0700 (PDT) Message-ID: <55BA4259.7010007@gmail.com> Date: Thu, 30 Jul 2015 11:27:21 -0400 From: Manas Bhatnagar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: "freebsd-virtualization@freebsd.org" Subject: Segmentation Fault with grub-bhyve Content-Type: text/plain; charset=utf-8 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: Thu, 30 Jul 2015 15:28:06 -0000 Hello, I am experiencing a problem with grub-bhvye on FreeBSD 10.1-RELEASE # grub-bhyve -m device.map -r hd0,msdos1 -M 8192M debian64 zsh: segmentation fault (core dumped) grub-bhyve -m device.map -r hd0,msdos1 -M 8192M debian64 The core dump is here: https://transfer.sh/NHdHX/grub-bhyve.core Any suggestions are appreciated. Thanks, Manas From owner-freebsd-virtualization@freebsd.org Thu Jul 30 18:27:42 2015 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 10EB99AB204 for ; Thu, 30 Jul 2015 18:27:42 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id C69B91392 for ; Thu, 30 Jul 2015 18:27:41 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id 89404124F0 for ; Fri, 31 Jul 2015 04:18:48 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 84FD0281198 for ; Fri, 31 Jul 2015 04:18:48 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wcSNyF_qHqNT for ; Fri, 31 Jul 2015 04:18:48 +1000 (AEST) Received: from Peters-MacBook-Pro.local (50-0-69-204.dsl.static.fusionbroadband.com [50.0.69.204]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id AA936280963; Fri, 31 Jul 2015 04:18:45 +1000 (AEST) Subject: Re: grub-bhyve: editing boot commands To: Andriy Gapon References: <55A4D73D.3000308@FreeBSD.org> Cc: "freebsd-virtualization@freebsd.org" From: Peter Grehan Message-ID: <55BA6A7F.7080008@freebsd.org> Date: Thu, 30 Jul 2015 11:18:39 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55A4D73D.3000308@FreeBSD.org> 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: Thu, 30 Jul 2015 18:27:42 -0000 Hi Andriy, > In the grub-bhyve menu of boot entries I can press 'e' and enter a screen where > I can modify boot commands for that entry. > The screen has the following help information at the bootom: > Minimum Emacs-like screen editing is supported. > TAB lists completions. > Press Ctrl-x or F10 to boot, Ctrl-c or F2 for a command-line > or ESC to discard edits and return to the GRUB menu. > > I can make any edits in that screen, but of the mentioned key presses only TAB > and ESC work as advertised. Ctrl-x, F10, Ctrl-c, F2 are all ignored. > Is there a way to make them work? Fixed upstream https://github.com/grehan-freebsd/grub2-bhyve/commit/a2265476e97afb9b67cfca0d1d9e5be8def01f33 later, Peter. From owner-freebsd-virtualization@freebsd.org Thu Jul 30 19:07:52 2015 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 84E2B9ABB5C for ; Thu, 30 Jul 2015 19:07:52 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::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 4F84F13D4 for ; Thu, 30 Jul 2015 19:07:52 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: by iodd187 with SMTP id d187so63390590iod.2 for ; Thu, 30 Jul 2015 12:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=QxesKer3uxoa8lVSY2TQrDRoJPBNgEx2I/ptoLIXzUo=; b=juk3tRaWw+LnGWB5q26aHd6+KEI0/QEv/kdWe9PUiygs8Ih6zuy9nOgSG+pMrXMkqr ovKdF8uHZVIXo7IqwRba2YB/NzQ1so7MFaEhUzCQmkRlErn02yz9zib1hBVt5rpnZMl/ RJ041PD41p+qrGEde61t9YEIqTnu/FtR7AWpIQLheeR5jMzEf8sc2dGk4gOlnDjtELY9 YAvqsJeViSKtuEHqmnrgxi2JU97M2FFYXMk17ojMwnpWZ5WCU7OkYbdZBaZ4YEML1Miw Ihuw12Z7a4GL2UXiPVHTPHyS3LrzAoxxAwHCok3UC7FXx2RZILbzD4a79bAx3kppzoxk ahFA== X-Received: by 10.107.169.105 with SMTP id s102mr13098068ioe.151.1438283271693; Thu, 30 Jul 2015 12:07:51 -0700 (PDT) Received: from [192.168.0.111] ([209.195.113.231]) by smtp.googlemail.com with ESMTPSA id 7sm1319181iot.6.2015.07.30.12.07.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 12:07:51 -0700 (PDT) Message-ID: <55BA75DB.7090704@gmail.com> Date: Thu, 30 Jul 2015 15:07:07 -0400 From: Manas Bhatnagar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: "freebsd-virtualization@freebsd.org" Subject: Re: Segmentation Fault with grub-bhyve References: <55BA4259.7010007@gmail.com> In-Reply-To: <55BA4259.7010007@gmail.com> Content-Type: text/plain; charset=utf-8 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: Thu, 30 Jul 2015 19:07:52 -0000 Just a follow up, here is the backtrace from GDB #0 0x00000000004798d3 in hexdump () #1 0x0000000000481864 in hexdump () #2 0x0000000000481977 in hexdump () #3 0x000000000047ae4e in hexdump () #4 0x000000000047b3e6 in hexdump () #5 0x0000000000482024 in hexdump () #6 0x00000000004830d3 in hexdump () #7 0x000000000040c132 in ?? () #8 0x00007fffffffe8e0 in ?? () #9 0x0000000802006120 in ?? () #10 0x0000002902006050 in ?? () #11 0x0000000000759340 in __progname () #12 0x00007fffffffe930 in ?? () #13 0x000000000040be18 in ?? () #14 0x0000000000546334 in ?? () #15 0x000000080204c200 in ?? () #16 0x0000000802006050 in ?? () #17 0x000000080200b1a6 in ?? () #18 0x000000080204c20c in ?? () #19 0x0000000000000000 in ?? () On 30/07/15 11:27 AM, Manas Bhatnagar wrote: > Hello, > > I am experiencing a problem with grub-bhvye on FreeBSD 10.1-RELEASE > > # grub-bhyve -m device.map -r hd0,msdos1 -M 8192M debian64 > zsh: segmentation fault (core dumped) grub-bhyve -m device.map -r > hd0,msdos1 -M 8192M debian64 > > The core dump is here: https://transfer.sh/NHdHX/grub-bhyve.core > > Any suggestions are appreciated. > > Thanks, > Manas > From owner-freebsd-virtualization@freebsd.org Thu Jul 30 20:00:47 2015 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 31A929AC9A9 for ; Thu, 30 Jul 2015 20:00:47 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id E69A07E for ; Thu, 30 Jul 2015 20:00:46 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id B0723125D0 for ; Fri, 31 Jul 2015 06:00:44 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id A861C281198 for ; Fri, 31 Jul 2015 06:00:44 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zm0tusMv2sdZ for ; Fri, 31 Jul 2015 06:00:44 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id BD691280963; Fri, 31 Jul 2015 06:00:41 +1000 (AEST) Subject: Re: Segmentation Fault with grub-bhyve To: Manas Bhatnagar References: <55BA4259.7010007@gmail.com> <55BA75DB.7090704@gmail.com> Cc: "freebsd-virtualization@freebsd.org" From: Peter Grehan Message-ID: <55BA8266.60907@freebsd.org> Date: Thu, 30 Jul 2015 13:00:38 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55BA75DB.7090704@gmail.com> 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: Thu, 30 Jul 2015 20:00:47 -0000 Hi Manas, > Just a follow up, here is the backtrace from GDB Thanks for the core. Appended is a backtrace with symbols. The source may not be an exact match but it's close enough to show the issue is in zfs. Just to check: are you booting a Debian VM with a ZFS filesystem ? The version of ZFS in grub2-bhyve doesn't work with FreeBSD (the supported pool version is too old) so it's never had much of a workout. I'm looking at backporting some of the more recent grub ZFS code but it's going to take a while. later, Peter. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00000000004798d3 in fill_vdev_info_real (data=0x5304f0 , nvlist=0x0, fill=0x40b5bf , insert=0x7fffffffe0e0, inserted=0x0, ashift=8) at fs/zfs/zfs.c:639 warning: Source file is more recent than executable. 639 fill->type = DEVICE_LEAF; (gdb) where #0 0x00000000004798d3 in fill_vdev_info_real (data=0x5304f0 , nvlist=0x0, fill=0x40b5bf , insert=0x7fffffffe0e0, inserted=0x0, ashift=8) at fs/zfs/zfs.c:639 #1 0x0000000000481864 in grub_zfs_read (file=0x481864 , buf=0x7fffffffe190 "\340\341\377\377\377\177", len=33443870448) at fs/zfs/zfs.c:3627 #2 0x0000000000481977 in fill_fs_info (info=0x0, mdn=..., data=0x0) at fs/zfs/zfs.c:3675 #3 0x000000000047ae4e in recovery (bufs=0x7fffffffe238, s=1536, nbufs=0, powers=0x7fffffffe1e0, idx=0x80221900c) at fs/zfs/zfs.c:1130 #4 0x000000000047b3e6 in recovery (bufs=0x8020e4000, s=34389098696, nbufs=8, powers=0x11f, idx=0x8000) at fs/zfs/zfs.c:1173 #5 0x0000000000482024 in grub_zfs_dir (device=0x802219018, path=0x7fffffffeb30 "\b") at fs/zfs/zfs.c:3748 #6 0x00000000004830d3 in grub_memcpy (dest=0x7fffffffe8e0, src=0x8020f4800, n=18446744065119617024) at ../include/grub/misc.h:74 #7 0x0000000000000000 in ?? () From owner-freebsd-virtualization@freebsd.org Fri Jul 31 13:54:35 2015 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 8A93D9AE842 for ; Fri, 31 Jul 2015 13:54:35 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (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 109AB1C5A for ; Fri, 31 Jul 2015 13:54:35 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.46.9]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LjIBr-1YkArF1JLr-00dUB7 for ; Fri, 31 Jul 2015 15:54:26 +0200 To: "freebsd-virtualization@freebsd.org" From: Nikos Vassiliadis Subject: virtio disk device file "/dev/hast/shared" does not exist. Creating it ... Message-ID: <55BB7DCD.8070303@gmx.com> Date: Fri, 31 Jul 2015 16:53:17 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Z+CadypRxGyifcQ17prvCL9O714IA5NT2ZPIR4CqTZhvMrlZnD8 fxFBX6ELaX4ieB1zGJn5+PnTUc0TbP6mUBOgRZQZNm/nGzfisAl4tb+ZC9/cFhb62pG8EBb uIS7NOWD4q86PeIEXPq0MOgj5JmE58tw5WpDwa5NQBejHvx4qRInRt/Mfle2z9CzB2c78v4 LfgOcymPeCVmyoydIXr6Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:b6vMIeenkQU=:3RsndFB1LGLGlYXBb8oZPI Bjcq6X2MUbsxGc0fKHzR3sQgvCa6VuYPOfn9ytlHDaU2FHYbgcnkPVr6+Fb6O9+LG6ZQxz70i J4c+5PQRtErEv0eZgMFz1qUwfxCDdVArlq2KvlWvowZbzO8PE9d4i0ov9wR1gNI8HXjqDqC0g t/hUlAHfjPnihPAlWBiZTGngK4ulJ9FJurNDWAgyYMi+ly/5Tc31UlYIjdGgxEPUxvUs9QZ+T D1DkiM/HjVLmnRB09gfewOo4BADp/ZNlh9u9ajp4HuCKRwve9FG79c29eYjDFG7OoPTr1WYuq +vhUMKVMt/Cz+DTSkHJChpxxCQsxmh6EMiJeE0SSV4pUO2HMUhRa9CE8qow/mhkdiWbOJypjN AfrkAhTxrBsb5bzWyvlCHqwQMTXbb1STG1nUmU12i4uuZYMEyci0DVoNlpGHLiO2+VIT83i/a /kD6wiH9NAGvdZQv1QEgFjphKaXa654obfaMhXJvg+kA98vwngSGdfRdrR1L4QjoRviY9cm6K 8RgWlAFhJ39hl4FtmJJRqoFji8upJSGL0rmchBMSGs5IgxuS9oO/yY7ifQMF+w0Aq2miKSh3a mFIcz7uBDIi6V3Cz9cQdNaQdS5qUXGlnQdSmgAkrV0OkxIC8cS9ABxDCvw98HKaDWmgh2U5rh 2VDU//V6B3ru63ZXb6gu/b0jDroK7Gvy3kympy4hUmDu2dbE0047aM3fZ63qvVeKJ2aA= 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: Fri, 31 Jul 2015 13:54:35 -0000 Hi, While trying to use a HAST device as my storage I got this message. > Booting... > virtio disk device file "/dev/hast/shared" does not exist. > Creating it ... > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2015 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Does anybody know what "creating it" mean in this regard? Thank in advance, Nikos From owner-freebsd-virtualization@freebsd.org Sat Aug 1 00:23:30 2015 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 68C0C9B0ABF for ; Sat, 1 Aug 2015 00:23:30 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::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 0CE06FC1 for ; Sat, 1 Aug 2015 00:23:30 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: by wibxm9 with SMTP id xm9so50302812wib.1 for ; Fri, 31 Jul 2015 17:23:27 -0700 (PDT) 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:content-type; bh=ly8LkF4JeYQMIC/0BeUl5EtOJfCVWz/tk1IFndmFKxQ=; b=r1cpTmlWhmxc8JekUCQRRGr//Nlmz3qOuzippWDgz72R2f+xMnXqRChlIXNPbo6b0D e6d2A5lsM9jtBMxd03pK53hXIsFeGkR3X2YXa/4n84B6OUXBcgrVRaA2AwZ+98GPWZA0 2VRtWcMSclsxldb009NFlslBSHn9tJ4pBX0MN8WfU0BTqb1TQIXsdG4qWrTIY/2uNeTV kmEmz7JnlbZsasFydUPfQMxc6ACJSeL8SBpocuyHR7By80GbXYbVSF94Y+yfm59ZTlEb KvH9DoJ3JJwTFGV405A2Gx1VlDNebX3keci0mA8wGxeWf0Fsozl3GtFKigB52BD1lYV+ 3APA== MIME-Version: 1.0 X-Received: by 10.180.81.106 with SMTP id z10mr11734536wix.22.1438388607463; Fri, 31 Jul 2015 17:23:27 -0700 (PDT) Received: by 10.27.214.139 with HTTP; Fri, 31 Jul 2015 17:23:27 -0700 (PDT) In-Reply-To: <55BB7DCD.8070303@gmx.com> References: <55BB7DCD.8070303@gmx.com> Date: Fri, 31 Jul 2015 17:23:27 -0700 Message-ID: Subject: Re: virtio disk device file "/dev/hast/shared" does not exist. Creating it ... From: Neel Natu To: Nikos Vassiliadis 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: Sat, 01 Aug 2015 00:23:30 -0000 Hi Nikos, On Fri, Jul 31, 2015 at 6:53 AM, Nikos Vassiliadis wrote: > Hi, > > While trying to use a HAST device as my storage I got this message. > >> Booting... >> virtio disk device file "/dev/hast/shared" does not exist. >> Creating it ... >> GDB: no debug ports present >> KDB: debugger backends: ddb >> KDB: current backend: ddb >> Copyright (c) 1992-2015 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > > Does anybody know what "creating it" mean in this regard? > I assume you are using vmrun.sh to start the virtual machine. If the backing file for the virtio disk device does not exist then the script will create it before launching the virtual machine. See 'make_and_check_diskdev()' function in vmrun.sh. best Neel > Thank in advance, > Nikos > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Sat Aug 1 11:24:28 2015 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 8202D9B0314 for ; Sat, 1 Aug 2015 11:24:28 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 E7D3219D6 for ; Sat, 1 Aug 2015 11:24:27 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.15.195]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LrNE4-1YrgR50yb6-013A3w; Sat, 01 Aug 2015 13:24:19 +0200 Subject: Re: virtio disk device file "/dev/hast/shared" does not exist. Creating it ... To: Neel Natu References: <55BB7DCD.8070303@gmx.com> Cc: "freebsd-virtualization@freebsd.org" From: Nikos Vassiliadis Message-ID: <55BCAC15.9040809@gmx.com> Date: Sat, 1 Aug 2015 14:23:01 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:GbEKDl8OqmUHiuhNAeUTs3NpfgGovJaS2gYA25YbRZrruhjwOUh NZDj7nCxAOvMlveBV6UXowV9pxow95ksgeYd9O4UyXMcteXOjP+zcW3F4rTVNxXM78OT3uI jSN8l135Lf5z8B8DPz5IQ5oRbuFgMSgenSRhxcvxHMul8RXLaTAO0QPWlalJUAcg4+nP972 hbxqWQdfPPizasjfNnZYQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:GBNVY5XHxDM=:/Ch//l/Fs2NPjP6WYfEe3k fvX5wROhu2xchnfdbh4eR4xXBTRzDebWx5k3z9LeA6BbpwtZBgda/okzp1c48I8gzXxH/91GE 53/4R5aja8JQr/cS7k89dizR6QBTnf7sDhoRESB4W0qfm4T/w0WcxNnqS9KjwEiqTXXCzV2Kg IfiXL4b6pFHdxI2mVrlJ+RoQ6dLR4T/GyPcYnKncYwliSWZN8mBu9+GpT8wAN/t7ShNFraU68 F8jHkFV/1PtwnWbrt7P6TtyOrQ4se5XBUNj882jtzVTv543YgwdfiKTgqYlG56x9qYOvdfvCz m9JkoNWJnzoXJnb0p478azhV8Z1jbbEyJmhOf4zuAEgRSEEPIlWqcW+Fhu7U2btTX7koCcuCg 6ZMQuNBtNist33Z2kEGDr83mJLKePb5dnKvUNH1fqNq+2s0vBG36GoxQzcX/kVKcO70QBAXAi +P68JjhkkiKcvB3z57Pg/LKBmJnd+dN9SF7ISmixwYsg2YXQLDTHLqK3QOiZeJtmMKpH1qKbg 4Nfd8be1i6BSRMzJTcXeO8/Szlz1TEl8L13uE+kgwMPxgqMOBFftDkjig71keaXz8oQq2rBpV 8BWj8T7kGInlQJHCEyObf/o74mQD/29ic371LUn4UZXJ6htat6nCYkGv3FVu29oskCWkiG5rF hUaibAr/ciETXHH9aouKOqepcYGiMghtBDG9pKjg9E1uFLb3srnNFIQB2VcTUWdacgD0= 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: Sat, 01 Aug 2015 11:24:28 -0000 On 08/01/15 03:23, Neel Natu wrote: > Hi Nikos, > > On Fri, Jul 31, 2015 at 6:53 AM, Nikos Vassiliadis wrote: >> Hi, >> >> While trying to use a HAST device as my storage I got this message. >> >>> Booting... >>> virtio disk device file "/dev/hast/shared" does not exist. >>> Creating it ... >>> GDB: no debug ports present >>> KDB: debugger backends: ddb >>> KDB: current backend: ddb >>> Copyright (c) 1992-2015 The FreeBSD Project. >>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> >> >> Does anybody know what "creating it" mean in this regard? >> > > I assume you are using vmrun.sh to start the virtual machine. > > If the backing file for the virtio disk device does not exist then the > script will create it before launching the virtual machine. > > See 'make_and_check_diskdev()' function in vmrun.sh. Oh thanks, didn't notice it was the script! From owner-freebsd-virtualization@freebsd.org Sat Aug 1 17:14:12 2015 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 231A89B0798 for ; Sat, 1 Aug 2015 17:14:12 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (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 9D75868 for ; Sat, 1 Aug 2015 17:14:11 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.15.195]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LngNT-1YfLRk03u3-00hwBd for ; Sat, 01 Aug 2015 19:14:03 +0200 From: Nikos Vassiliadis Subject: hot-plugging disks to a VM To: "freebsd-virtualization@freebsd.org" Message-ID: <55BCFE13.2070501@gmx.com> Date: Sat, 1 Aug 2015 20:12:51 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:KXN6Aat/e5sBDYnmxpg8IXirA5nx0ELi100kkH/ANFEgxCHbGcR kbFoZlvUxAZg5UWHXGTq9QTgxyPE3kxsJJXj4Ow7T6eVrt26ZngIYVTNnOvdqLqyqDG2QfI rQmR4M90TR62jKBYzQTMSUl55IOx8uKpdef9C5S1S0IieipbGRzYtO4H/+QPz+wpIHahCjW OKpZm0QOjCrNu4kbsx6ZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:e7UXpyYNQAc=:23rIxLOLaHmHLQMyb2cCMt ucOcMhEys90SEz+G7BjiwKfIgnCzn474pCQWzt+Ylwk0WUv8k99K1vqs7ClzYL8j4FGSB4ZHC XlZTp1egcEG1TE6+FeX23DXO+EifpeOrr0gqgwXkaEYScONZ1sB38DeZX06aiKLrZrueocLW7 eZ1XAtSiHcqRIs5qrWG9Zdz8nDnqWZQ+tYMOt87pQchec86Hn30vt7oA04Tk8ModBDBZhrG5n KfUa4CRnhGBLqbrS5VncJhOKEm2WivMtzrubLhF3sQyQoF2+mECA29jQNpT9ipj5hKelOyoVZ 3w0N3GBs+TlDb4i7n23eVwvjyL3KpUeq8Fssq/izBWsDelfeoJuqMMwgWEf6gSgSHpQwBEjmc 2OlMiuS9auVl+A+GZm2ZDEzMaIeEacHaMkdehh87fj3kZAD/dqzCbWZPRqbILTqFOiUG5HQGJ l1+GxKeAfWxp4m4kQnuV6WTEjIfOylVmkriLg5OVA89/8APm285IlW5SUrENeF3Q/WlmAzyLV HHLKjcBGaWGJN6+6Y3KnxkXhqMCcxjwWsBx9uIzkfGsDTEQ07bDmlhR8WkoO+XXCwinxzG9lA a6OKm7/zi91jI2R9TPaHVbW3hVuv4jv7RE9k44M6IHPVj9rg0FuIUPWgZlEMeDd5xW8QoUCkH Hzk2GYQBkgxueSQHgFPX7s6oLH7RfVlyThnGibSh3vqrOsc8kKTEXRavR/c2jxRKajmU= 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: Sat, 01 Aug 2015 17:14:12 -0000 Hi, I was thinking of creating a HAST disk and using that as second disk to a VM. It seems that when the backing file is gone and returned, it's never re-opened. Is this scenario possible? Host machine: > root@moby:~/VMs # diskinfo /dev/hast/shared > /dev/hast/shared 512 21474830848 41943029 0 0 and from withing the VM: > root@lamb:~ # diskinfo /dev/vtbd2 > /dev/vtbd2 512 21474830848 41943029 0 0 > root@lamb:~ # file -s /dev/vtbd2 > /dev/vtbd2: Unix Fast File system [v2] (little-endian) last mounted on /mnt, last written at Sat Aug 1 19:33:17 2015, clean flag 0, readonly flag 0, number of blocks 5242878, number of data blocks 5076797, number of cylinder groups 33, block size 32768, fragment size 4096, average file size 16384, average number of files in dir 64, pending blocks to free 0, pending inodes to free 0, system-wide uuid 0, minimum percentage of free blocks 8, TIME optimization Then I go to the host, destroy /dev/hast/shared and re-create it. The VM is not able to use the disk anymore: > root@lamb:~ # file -s /dev/vtbd2 > vtbd2: hard error cmd=read 0-255 > /dev/vtbd2: ERROR: cannot read `/dev/vtbd2' (Input/output error) Is this possible? Can I somehow achieve hot-plugging a disk? Thanks for any thoughts, Nikos