From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 1 03:36:19 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 049B6114 for ; Mon, 1 Sep 2014 03:36:19 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E02461192 for ; Mon, 1 Sep 2014 03:36:18 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s813aIEI039955 for ; Mon, 1 Sep 2014 03:36:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192281] [kern] nmdm with bhyve causes kernel panic Date: Mon, 01 Sep 2014 03:36:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dsmith@johncompanies.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 03:36:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192281 --- Comment #5 from Dave Smith --- Hi Peter, I had 3 VMs running with a slightly modified vmrc. The vms had names like col02325. When I tried to start a 4th VM it happened to have a name like col00345. I was using the last 4 digits as the nmdm device number. Apparently a leading zero for the nmdm number caused a problem. The whole system crashed. I changed the vm name to col05345, and it worked. To my way of thinking, nothing that can be entered on a command line should be able to cause a kernel crash. Let me know if you need more information. I even have a couple of crash dumps. Dave Smith -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 1 15:04:07 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3901968 for ; Mon, 1 Sep 2014 15:04:07 +0000 (UTC) Received: from fallback5.mail.ru (fallback5.mail.ru [94.100.181.253]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5B717A2 for ; Mon, 1 Sep 2014 15:04:06 +0000 (UTC) Received: from f344.i.mail.ru (f344.i.mail.ru [217.69.140.240]) by fallback5.mail.ru (mPOP.Fallback_MX) with ESMTP id 51363125A61AF for ; Mon, 1 Sep 2014 19:03:11 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail; h=References:In-Reply-To:Content-Type:Message-ID:Reply-To:Date:Mime-Version:Subject:To:From; bh=KhT9JVATHWRsKrvQ2qdGgJ/KBiEAugY/1wN2oRdGZGM=; b=EL8i8MQvneYR4SlH1na4VMJHTMjePqfSTGM+SoBtg/2Jr0g5Z1HFuOscRM9NyU9OfdQLqLfoZyQ8MCIkUXr7eOXUtjw8ewX6iXoaR8/zqfveDp95SMwYA7rmn2Ks5kTimtn3nQ+4kHYPC7J8UaPtgyUHY7G+TFGxK6EOvWc6uVA=; Received: from [109.225.22.143] (ident=mail) by f344.i.mail.ru with local (envelope-from ) id 1XOT8I-0006e7-OI for freebsd-virtualization@freebsd.org; Mon, 01 Sep 2014 19:03:03 +0400 Received: from [109.225.22.143] by e.mail.ru with HTTP; Mon, 01 Sep 2014 19:03:02 +0400 From: =?UTF-8?B?RGVuaXMgTWVuc2hpa292?= To: freebsd-virtualization@freebsd.org Subject: =?UTF-8?B?ZG9jdW1lbnRhdGlvbiBvZiBiaHl2ZQ==?= Mime-Version: 1.0 X-Mailer: Mail.Ru Mailer 1.0 X-Originating-IP: [109.225.22.143] Date: Mon, 01 Sep 2014 19:03:02 +0400 Reply-To: =?UTF-8?B?RGVuaXMgTWVuc2hpa292?= X-Priority: 3 (Normal) Message-ID: <1409583782.310724250@f344.i.mail.ru> X-Cloud-Ids: X-Mras: Ok X-Spam: undefined In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 15:04:07 -0000 IFdoZXJlIGNhbiBJIGZpbmQgY29tcGxldGUgZG9jdW1lbnRhdGlvbiBkZXNjcmliaW5nIHRoZSBi aHl2ZT/CoCBJdHMgYXJjaGl0ZWN0dXJlIGFuZCBvcGVyYXRpb24uCgrCoERlbmlzIE1lbnNoaWtv dg== From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 1 18:30:00 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F3A35BD for ; Mon, 1 Sep 2014 18:30:00 +0000 (UTC) Received: from fallback5.mail.ru (fallback5.mail.ru [94.100.181.253]) by mx1.freebsd.org (Postfix) with ESMTP id AECD61F20 for ; Mon, 1 Sep 2014 18:29:59 +0000 (UTC) Received: from f346.i.mail.ru (f346.i.mail.ru [217.69.140.242]) by fallback5.mail.ru (mPOP.Fallback_MX) with ESMTP id C9865125B1316 for ; Mon, 1 Sep 2014 22:29:57 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail; h=References:In-Reply-To:Content-Type:Message-ID:Reply-To:Date:Mime-Version:Subject:To:From; bh=L87siDd0njJeNiRsU8Dxj6EQWyOCKs8uC/8KrDXh6KU=; b=QtR/ghfbNFA4PwQldunZBGNRai6UIKqpA71r/5s5NabnrMRKT9a+31ZVMv2NMOgAHCC0KZqDSc+knd2x1NEL5uNvVklUfKD5b09II9Dt0dE/asnPMs6NiMd9SL64QuaquIhajwgFwEymtRDRqfg3PNxiQCU3edV861hFOh1h4v0=; Received: from [109.225.22.143] (ident=mail) by f346.i.mail.ru with local (envelope-from ) id 1XOWMP-0006S8-1I for freebsd-virtualization@freebsd.org; Mon, 01 Sep 2014 22:29:49 +0400 Received: from [109.225.22.143] by e.mail.ru with HTTP; Mon, 01 Sep 2014 22:29:48 +0400 From: =?UTF-8?B?RGVuaXMgTWVuc2hpa292?= To: freebsd-virtualization@freebsd.org Subject: =?UTF-8?B?VkdBIG91dHB1dA==?= Mime-Version: 1.0 X-Mailer: Mail.Ru Mailer 1.0 X-Originating-IP: [109.225.22.143] Date: Mon, 01 Sep 2014 22:29:48 +0400 Reply-To: =?UTF-8?B?RGVuaXMgTWVuc2hpa292?= X-Priority: 3 (Normal) Message-ID: <1409596188.346632687@f346.i.mail.ru> X-Cloud-Ids: X-Mras: Ok X-Spam: undefined In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 18:30:00 -0000 ICIuLkN1cnJlbnRseSzCoCBiaHl2ZSDCoG9ubHkgc3VwcG9ydHMgYSBzZXJpYWwgY29uc29sZSBh bmQgZG9lcyBub3QgZW11bGF0ZSBhIGdyYXBoaWNhbCBjb25zb2xlLiIgLcKgIHd3dy5mcmVlYnNk Lm9yZwoKSG93IGkgY2FuIHVuZGVyc3RhbmQsIGkgY2FuIG5vdCB0YWtlIGdyYXBoaWNhbCBvdXRw dXQgZnJvbSBzYW1lIHZpcnR1YWwgbWFzaGluZXM/wqAgVGhpcyBvcHRpb24gaXMgcGxhbm5lZD8K CkRlbmlzIE1lbnNoaWtvdg== From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 1 18:34:25 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 07BA165C for ; Mon, 1 Sep 2014 18:34:25 +0000 (UTC) Received: from f346.i.mail.ru (f346.i.mail.ru [217.69.140.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77AEE1FCA for ; Mon, 1 Sep 2014 18:34:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail; h=References:In-Reply-To:Content-Type:Message-ID:Reply-To:Date:Mime-Version:Subject:To:From; bh=gdoLO5VpryyKXZAtkZ5T+6zzIWERtpWoSKz4K/n38lc=; b=QA0fY7K9+Evy219fTd8/R8RZIjbxG/FdhTABQoOf2E7ZNaPLf8lTwWlYTdEaTYIqSBBuTOWix72bFUNz2hdYKDeOoDrc/RZznp1qFTzdaa84dfVVi6iZXc0Rif2lrScKi363biqX2qo7/WO2Derhp5MApVBEj2XVjpWnCaIX0Go=; Received: from [109.225.22.143] (ident=mail) by f346.i.mail.ru with local (envelope-from ) id 1XOWQm-0007K0-Hu for freebsd-virtualization@freebsd.org; Mon, 01 Sep 2014 22:34:20 +0400 Received: from [109.225.22.143] by e.mail.ru with HTTP; Mon, 01 Sep 2014 22:34:20 +0400 From: =?UTF-8?B?RGVuaXMgTWVuc2hpa292?= To: freebsd-virtualization@freebsd.org Subject: =?UTF-8?B?Ymh5dmUgQVBJIA==?= Mime-Version: 1.0 X-Mailer: Mail.Ru Mailer 1.0 X-Originating-IP: [109.225.22.143] Date: Mon, 01 Sep 2014 22:34:20 +0400 Reply-To: =?UTF-8?B?RGVuaXMgTWVuc2hpa292?= X-Priority: 3 (Normal) Message-ID: <1409596460.44744852@f346.i.mail.ru> X-Cloud-Ids: X-Mras: Ok X-Spam: undefined In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 18:34:25 -0000 IERvZXMgdGhlIEFQSSBiaHl2ZSBhbmQgd2hlcmUgY2FuIEkgZ2V0IGRvY3VtZW50YXRpb24gb24g aXQ/CgpEZW5pcyBNZW5zaGlrb3Y= From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 1 20:04:00 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4823DAD1 for ; Mon, 1 Sep 2014 20:04:00 +0000 (UTC) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C32071B8F for ; Mon, 1 Sep 2014 20:03:59 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id hz20so6636938lab.17 for ; Mon, 01 Sep 2014 13:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5Nr+0QBwepcuMXteIy7kDxyRPbn5TEPqxFkSYVmt23w=; b=OKmiEUqTZcqX8xMjlXBqAJbpxAMVLFzhZduuiHb9EvsNTq7x4uknLJK4gWVrjZFrYB xpJnh783PZ5ySpDGzVlACb1JlVhHMM/NC/M/Mzc2WPLGle+Q7OC3B2a+Ntk3nsCw9x6u eHF2Ciluqi/8OqD40sV03JoJPtwoNUN3nfr/AnQ2eIyaj7hUN6wx1hGJypfBAngdTPEx Vxjpbxg9eE4gFW7p+m9s51BwFyXAFlQCAyhneUCvuOQ1DVfXX8U3tofCLCrG9vVOoRZr rgPnBUjPYJqtLg/EtUyS9oVeX9ID7H5HfOsX/XswuZ7j/ygIzrQfbsM1ytIP1CoCthRK zh1Q== MIME-Version: 1.0 X-Received: by 10.152.115.171 with SMTP id jp11mr4553076lab.90.1409601837631; Mon, 01 Sep 2014 13:03:57 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Mon, 1 Sep 2014 13:03:57 -0700 (PDT) In-Reply-To: <1409583782.310724250@f344.i.mail.ru> References: <1409583782.310724250@f344.i.mail.ru> Date: Mon, 1 Sep 2014 13:03:57 -0700 X-Google-Sender-Auth: c8jUMMveVArF-1R9KLWR5nlkjK4 Message-ID: Subject: Re: documentation of bhyve From: Craig Rodrigues To: Denis Menshikov Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 20:04:00 -0000 On Mon, Sep 1, 2014 at 8:03 AM, Denis Menshikov wrote: > Where can I find complete documentation describing the bhyve? Its architecture and operation. This is the best source of information: https://wiki.freebsd.org/bhyve -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 1 22:13:03 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 958975AC for ; Mon, 1 Sep 2014 22:13:03 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 57BAD19EC for ; Mon, 1 Sep 2014 22:13:03 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 9F752125AA; Tue, 2 Sep 2014 08:13:01 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-174-51-65-85.hsd1.co.comcast.net [174.51.65.85]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BYC41527 (AUTH peterg@ptree32.com.au); Tue, 2 Sep 2014 08:12:59 +1000 Message-ID: <5404EF69.3080509@freebsd.org> Date: Mon, 01 Sep 2014 16:12:57 -0600 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Denis Menshikov Subject: Re: VGA output References: <1409596188.346632687@f346.i.mail.ru> In-Reply-To: <1409596188.346632687@f346.i.mail.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 22:13:03 -0000 Hi Denis, > "..Currently, bhyve only supports a serial console and does not emulate a graphical console." - www.freebsd.org > > How i can understand, i can not take graphical output from same virtual mashines? This option is planned? Think of it as a headless server with a serial console. You can back-end X apps if need be. VGA support is slowly being worked on. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 1 22:15:34 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1BCFA61C for ; Mon, 1 Sep 2014 22:15:34 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id D29DA1A02 for ; Mon, 1 Sep 2014 22:15:33 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 14E1312488; Tue, 2 Sep 2014 08:15:33 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-174-51-65-85.hsd1.co.comcast.net [174.51.65.85]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BYC41635 (AUTH peterg@ptree32.com.au); Tue, 2 Sep 2014 08:15:31 +1000 Message-ID: <5404F001.1010803@freebsd.org> Date: Mon, 01 Sep 2014 16:15:29 -0600 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Denis Menshikov Subject: Re: bhyve API References: <1409596460.44744852@f346.i.mail.ru> In-Reply-To: <1409596460.44744852@f346.i.mail.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 22:15:34 -0000 Hi Denis, > Does the API bhyve and where can I get documentation on it? Not sure what you mean by the API: the libvmmapi library api, or the user-kernel ioctls ? In any event, the only documentation for both of these is in the FreeBSD source itself. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Tue Sep 2 13:56:38 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF41B6B9 for ; Tue, 2 Sep 2014 13:56:38 +0000 (UTC) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B7381A79 for ; Tue, 2 Sep 2014 13:56:38 +0000 (UTC) Received: from john by potato.growveg.org with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XOoJK-0005FP-HM for freebsd-virtualization@freebsd.org; Tue, 02 Sep 2014 14:39:50 +0100 Date: Tue, 2 Sep 2014 14:39:50 +0100 From: John To: freebsd-virtualization@freebsd.org Subject: bhyve and zfs and speed Message-ID: <20140902133950.GA19480@potato.growveg.org> Reply-To: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: John X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 02 Sep 2014 13:56:38 -0000 Hello list, I'm thinking of re-doing a host server from virtualbox to bhyve in an effort to speed things up. The server is a Dell and the cpu is E5-2650L @ 1.80GHz with 32 CPUs and 192GB ram. It runs freebsd 10-stable r267848 generic kernel with ZFS throughout (10TB). Unfortunately there's no SSD. There will probably be 10 at the most websites on this server as guests, all needing MySQL. The problem I'm having is that with bhyve (and to a lesser extent, ZFS) the relevant advice for what I need is kind of scattered. Basically, I need to know: 0. any ballpark figures for zfs tunables? Right now, it's running with defaults. top shows this, with one freebsd and one ubuntu guest, on vbox: Mem: 50M Active, 784M Inact, 78G Wired, 6132K Cache, 108G Free ARC: 38G Total, 5778M MFU, 27G MRU, 16K Anon, 4540M Header, 1910M Other Swap: 192G Total, 192G Free 1. does zfs need tuning for bhyve? 2. does bhyve need tuning for zfs? 3. do either need tuning for MySQL (or even apache) ? many thanks for advice (or pointers to documentation) -- John From owner-freebsd-virtualization@FreeBSD.ORG Tue Sep 2 16:00:00 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 73F242CE for ; Tue, 2 Sep 2014 16:00:00 +0000 (UTC) Received: from pacmmta54.windstream.net (pacmmta54.windstream.net [162.39.147.220]) by mx1.freebsd.org (Postfix) with ESMTP id 20B611BFB for ; Tue, 2 Sep 2014 15:59:59 +0000 (UTC) Received: from [192.168.1.20] ([75.89.199.215]) by pacmmta54.windstream.net with pacmmta54 id mFyn1o00a4fL1fP01Fys6K; Tue, 02 Sep 2014 11:58:52 -0400 X-WS-COS: WSOB804 X-Cloudmark-Category: undefined X-Cloudmark-Analysis: v=2.1 cv=RfQDVTdv c=1 sm=1 tr=0 a=9w77K5HJcoANtbg4Py2X8A==:117 a=9w77K5HJcoANtbg4Py2X8A==:17 a=o2QoyYduAAAA:8 a=lUNKdv4E0vcA:10 a=UT_QgiwtmQIA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=Dvq2NbwfAg0QrqMa3TYA:9 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 X-Cloudmark-Score: 0.00 X-WS-Auth: kama410@windstream.net Authentication-Results: pacmmta54.windstream.net ; auth=pass smtp.auth=kama410@windstream.net Message-ID: <5405E937.9010603@windstream.net> Date: Tue, 02 Sep 2014 11:58:47 -0400 From: Kelly Alger User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: VGA output References: <1409596188.346632687@f346.i.mail.ru> <5404EF69.3080509@freebsd.org> In-Reply-To: <5404EF69.3080509@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 02 Sep 2014 16:00:00 -0000 This is to say that, like any other hypervisor, the hypervisor itself doesn't support X (or any other GUI), but that you can run X and a graphical desktop in a virtual machine and connect to it through X server, if I understand the response correctly, yes? I could be entirely wrong, but that is what I am getting from Peter's reply. Have I understood correctly? On 09/01/2014 06:12 PM, Peter Grehan wrote: > Hi Denis, > >> "..Currently, bhyve only supports a serial console and does not >> emulate a graphical console." - www.freebsd.org >> >> How i can understand, i can not take graphical output from same >> virtual mashines? This option is planned? > > Think of it as a headless server with a serial console. You can back-end > X apps if need be. > > VGA support is slowly being worked on. > > later, > > Peter. > > _______________________________________________ > 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 Sep 2 22:15:30 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 268D34CF for ; Tue, 2 Sep 2014 22:15:30 +0000 (UTC) Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [IPv6:2607:f8b0:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB43C1C35 for ; Tue, 2 Sep 2014 22:15:29 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id id10so7883132vcb.30 for ; Tue, 02 Sep 2014 15:15:29 -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 :content-type; bh=rGqKiJks2q0OrLhmLDFL88Cf+Uf3qFSoAm9+tuTzuvM=; b=AcoEM6Bv+CapAzdAPv/Q3aCTFln/STkYn4T+kt9hCLJk+VeB+imY20sF4xqy0L+U1A 3z8bUC7cMclWFhkHD18ibs1bX0NzPkF5qTWJUOFURnghK4zVxdnKOBTiGz9EsM7qbLCG RTjPKUvPATmhxfujxtxvsxa4E4PNIKWVCkXbUn+P/Kjc2KgNQ9vz/L/NiAq4nJJ1EC8a YhGgIcVCdPrleMN5PYST5MvYEBHF8mXLjrpScV7g1MvnUBtqAYSj74RuwyNSzOpknqTR w6FySzQwtbmp+XiWKRzHPQrWqNXo2Hkp2/2UAYruXWR9M4+Yt4nT4XSURp/vd7SHVmKv BLig== MIME-Version: 1.0 X-Received: by 10.221.6.201 with SMTP id ol9mr31929356vcb.2.1409696128939; Tue, 02 Sep 2014 15:15:28 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Tue, 2 Sep 2014 15:15:28 -0700 (PDT) In-Reply-To: <20140902133950.GA19480@potato.growveg.org> References: <20140902133950.GA19480@potato.growveg.org> Date: Wed, 3 Sep 2014 00:15:28 +0200 Message-ID: Subject: Re: bhyve and zfs and speed From: Nikolay Denev To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 02 Sep 2014 22:15:30 -0000 On Tue, Sep 2, 2014 at 3:39 PM, John wrote: > Hello list, > > I'm thinking of re-doing a host server from virtualbox to bhyve in an effort to > speed things up. The server is a Dell and the cpu is E5-2650L @ 1.80GHz > with 32 CPUs and 192GB ram. It runs freebsd 10-stable r267848 generic > kernel with ZFS throughout (10TB). Unfortunately there's no SSD. There will > probably be 10 at the most websites on this server as guests, all needing > MySQL. > > The problem I'm having is that with bhyve (and to a lesser extent, ZFS) > the relevant advice for what I need is kind of scattered. Basically, I > need to know: > > 0. any ballpark figures for zfs tunables? Right now, it's running > with defaults. top shows this, with one freebsd and one ubuntu guest, on vbox: > > Mem: 50M Active, 784M Inact, 78G Wired, 6132K Cache, 108G Free > ARC: 38G Total, 5778M MFU, 27G MRU, 16K Anon, 4540M Header, 1910M Other > Swap: 192G Total, 192G Free > > 1. does zfs need tuning for bhyve? > > 2. does bhyve need tuning for zfs? > > 3. do either need tuning for MySQL (or even apache) ? > > many thanks for advice (or pointers to documentation) > -- > John > _______________________________________________ > 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" Hi, I see you have 108G free memory. Is this due to a recent reboot and the ARC hasn't grown much yet, or you are limiting it? As for ZFS tuning for bhyve, I'm not aware of anything specific, but you should consider that values you want to put for the zvols for primarycache and secondarycache. (In your case only primarycache as you don't have L2ARC). Leaving this to the default might be faster but might result in double caching: Once in the ARC on the host system, and then on the buffer cache of the UFS guest. For MySQL and databases in general, as far as I can remember the general advice was to run them on zfs datasets with lower reclen, like 8k for example. Here you have zvols which default to 8k but the vtbd device reports 512b sectors, not sure if you try to trick it into using larger values here wouldn't help. Also different UFS block sizes for different zvol recordlens might be interesting test. --Nikolay From owner-freebsd-virtualization@FreeBSD.ORG Wed Sep 3 04:11:07 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0426FC7E for ; Wed, 3 Sep 2014 04:11:07 +0000 (UTC) Received: from mail.monkeybrains.net (mail.monkeybrains.net [208.69.40.19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mail.monkeybrains.net", Issuer "RapidSSL CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D8D061553 for ; Wed, 3 Sep 2014 04:11:06 +0000 (UTC) Received: from Rudys-iMac.local (208-90-212-115.PUBLIC.monkeybrains.net [208.90.212.115]) (authenticated bits=0) by mail.monkeybrains.net (8.14.7/8.14.7) with ESMTP id s833oiEU046757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 2 Sep 2014 20:50:44 -0700 (PDT) (envelope-from crapsh@monkeybrains.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=monkeybrains.net; s=dkim; t=1409716244; bh=+KWWpcvZMg11nfhF6KPkyhpzIBjUFLFq16xOSRUPCS4=; h=Date:From:To:Subject; b=VFarrU2hFq9phyRgU+MqbxQpSxY2ns1qufVQKwYyluf+61SpgkCL47+wnsp+2Gut/ rFB/69T2J0/B5ylVSuajt8769theyU9oeMIO6iGdRhAVjuz9D2YO6X8W6XGY87PRPV f+YvB8E7WOdBs1ZkwPDe1+JofR5g0w2OgyCWGSNk= X-Authentication-Warning: mail.monkeybrains.net: Host 208-90-212-115.PUBLIC.monkeybrains.net [208.90.212.115] claimed to be Rudys-iMac.local Message-ID: <54068FC5.6010905@monkeybrains.net> Date: Tue, 02 Sep 2014 20:49:25 -0700 From: Rudy User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Ubuntu upgrade - bhyve gets confused with vtblk Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.98.3 at mail.monkeybrains.net X-Virus-Status: Clean X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 03 Sep 2014 04:11:07 -0000 uname: FreeBSD 10.0-STABLE #1 r264668M: Fri Apr 18 14:50:21 PDT 2014 interesting message at the bottom of the output below. [ vtblk: ndesc (65535) out of range, driver confused? Assertion failed: (n >= 2 && n <= VTBLK_MAXSEGS + 2), function pci_vtblk_proc, file /usr/src/usr.sbin/bhyve/pci_virtio_block.c, line 174. 2Abort trap (core dumped) Upgrading OS to 10-STABLE! Rudy [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.13.0-35-generic (buildd@panlong) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 (Ubuntu 3.13.0-35.62-generic 3.13.11.6) [ 0.000000] Command line: console=ttyS0 BOOT_IMAGE=/vmlinuz root=/dev/vda1 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fffe] usable [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI not present or invalid. [ 0.000000] No AGP bridge found [ 0.000000] e820: last_pfn = 0x80000 max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [mem 0x000f0000-0x000f000f] mapped at [ffff8800000f0000] [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] Using GB pages for direct mapping [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff] [ 0.000000] init_memory_mapping: [mem 0x7fe00000-0x7fffffff] [ 0.000000] init_memory_mapping: [mem 0x7c000000-0x7fdfffff] [ 0.000000] init_memory_mapping: [mem 0x00100000-0x7bffffff] [ 0.000000] RAMDISK: [mem 0x03668000-0x048cefff] [ 0.000000] ACPI: RSDP 00000000000f0400 000024 (v02 BHYVE ) [ 0.000000] ACPI: XSDT 00000000000f0480 00003C (v01 BHYVE BVXSDT 00000001 INTL 20130823) [ 0.000000] ACPI: APIC 00000000000f0500 000062 (v01 BHYVE BVMADT 00000001 INTL 20130823) [ 0.000000] ACPI: FACP 00000000000f0600 00010C (v05 BHYVE BVFACP 00000001 INTL 20130823) [ 0.000000] ACPI: DSDT 00000000000f0800 000264 (v02 BHYVE BVDSDT 00000001 INTL 20130823) [ 0.000000] ACPI: FACS 00000000000f0780 000040 [ 0.000000] ACPI: HPET 00000000000f0740 000038 (v01 BHYVE BVHPET 00000001 INTL 20130823) [ 0.000000] Setting APIC routing to physical flat. [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x7fffffff] [ 0.000000] NODE_DATA [mem 0x7fffb000-0x7fffffff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x00001000-0x00ffffff] [ 0.000000] DMA32 [mem 0x01000000-0xffffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00001000-0x0009efff] [ 0.000000] node 0: [mem 0x00100000-0x7fffffff] [ 0.000000] ACPI: PM-Timer IO Port: 0x408 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1]) [ 0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x80868701 base: 0xfed00000 [ 0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x000fffff] [ 0.000000] e820: [mem 0x80000000-0xffffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on bare hardware [ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:2 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff88007fc00000 s86336 r8192 d24256 u1048576 [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 515977 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: console=ttyS0 BOOT_IMAGE=/vmlinuz root=/dev/vda1 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 2028288K/2096760K available (7372K kernel code, 1144K rwdata, 3404K rodata, 1336K init, 1440K bss, 68472K reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2. [ 0.000000] Offload RCU callbacks from all CPUs [ 0.000000] Offload RCU callbacks from CPUs: 0-1. [ 0.000000] NR_IRQS:16640 nr_irqs:512 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] allocated 8388608 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] tsc: Fast TSC calibration failed [ 0.000000] tsc: Unable to calibrate against PIT [ 0.000000] tsc: using HPET reference calibration [ 0.000000] tsc: Detected 2095.285 MHz processor [ 0.000003] Calibrating delay loop (skipped), value calculated using timer frequency.. 4190.57 BogoMIPS (lpj=8381140) [ 0.001224] pid_max: default: 32768 minimum: 301 [ 0.001788] Security Framework initialized [ 0.002300] AppArmor: AppArmor initialized [ 0.002774] Yama: becoming mindful. [ 0.003366] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.006552] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.008522] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.009316] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.010515] Initializing cgroup subsys memory [ 0.011034] Initializing cgroup subsys devices [ 0.011556] Initializing cgroup subsys freezer [ 0.012080] Initializing cgroup subsys blkio [ 0.012583] Initializing cgroup subsys perf_event [ 0.013133] Initializing cgroup subsys hugetlb [ 0.014623] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0 [ 0.014623] Last level dTLB entries: 4KB 512, 2MB 0, 4MB 0 [ 0.014623] tlb_flushall_shift: 6 [ 0.016483] Freeing SMP alternatives memory: 32K (ffffffff81e6d000 - ffffffff81e75000) [ 0.022107] ACPI: Core revision 20131115 [ 0.022707] ACPI: All ACPI Tables successfully acquired [ 0.023412] ftrace: allocating 28537 entries in 112 pages [ 0.069161] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.109630] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz (fam: 06, model: 3e, stepping: 04) [ 0.215312] Performance Events: unsupported p6 CPU model 62 no PMU driver, software events only. [ 0.218376] NMI watchdog: disabled (cpu0): hardware events not enabled [ 0.219388] x86: Booting SMP configuration: [ 0.219906] .... node #0, CPUs: #1 [ 0.331878] x86: Booted up 1 node, 2 CPUs [ 0.332405] smpboot: Total of 2 processors activated (8370.59 BogoMIPS) [ 0.334039] devtmpfs: initialized [ 0.337659] EVM: security.selinux [ 0.338055] EVM: security.SMACK64 [ 0.338448] EVM: security.ima [ 0.338796] EVM: security.capability [ 0.340316] pinctrl core: initialized pinctrl subsystem [ 0.341009] regulator-dummy: no parameters [ 0.341584] RTC time: 89:45:30, date: 09/02/14 [ 0.342150] NET: Registered protocol family 16 [ 0.342809] cpuidle: using governor ladder [ 0.343290] cpuidle: using governor menu [ 0.343793] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it [ 0.344666] ACPI: bus type PCI registered [ 0.345126] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.345957] PCI: Using configuration type 1 for base access [ 0.347746] bio: create slab at 0 [ 0.348726] ACPI: Added _OSI(Module Device) [ 0.349227] ACPI: Added _OSI(Processor Device) [ 0.349739] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.350280] ACPI: Added _OSI(Processor Aggregator Device) [ 0.351272] ACPI: Interpreter enabled [ 0.351712] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131115/hwxface-580) [ 0.352785] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131115/hwxface-580) [ 0.353889] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20131115/hwxface-580) [ 0.354970] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S4_] (20131115/hwxface-580) [ 0.356122] ACPI: (supports S0 S5) [ 0.356548] ACPI: Using IOAPIC for interrupt routing [ 0.357163] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.358237] ACPI: No dock devices found. [ 0.359121] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.359845] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] [ 0.360650] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 0.361423] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 0.362830] PCI host bridge to bus 0000:00 [ 0.363312] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.363953] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7] [ 0.364686] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff] [ 0.365394] pci_bus 0000:00: root bus resource [mem 0x80000000-0xdfffffff] [ 0.366247] pci_bus 0000:00: root bus resource [mem 0xd000000000-0xfcffffffff] [ 0.367148] pci 0000:00:00.0: ignoring class 0x060000 (doesn't match header type 01) [ 0.370885] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.372067] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 0.372961] vgaarb: loaded [ 0.373564] SCSI subsystem initialized [ 0.374164] ACPI: bus type USB registered [ 0.374653] usbcore: registered new interface driver usbfs [ 0.375285] usbcore: registered new interface driver hub [ 0.376015] usbcore: registered new device driver usb [ 0.376920] PCI: Using ACPI for IRQ routing [ 0.377586] NetLabel: Initializing [ 0.377984] NetLabel: domain hash size = 128 [ 0.378489] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.379066] NetLabel: unlabeled traffic allowed by default [ 0.379882] HPET: 8 timers in total, 2 timers will be used for per-cpu timer [ 0.380736] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 40, 41, 0, 0, 0, 0 [ 0.381623] hpet0: 8 comparators, 32-bit 10.000000 MHz counter [ 0.384879] Switched to clocksource hpet [ 0.394040] AppArmor: AppArmor Filesystem Enabled [ 0.394613] pnp: PnP ACPI init [ 0.395060] ACPI: bus type PNP registered [ 0.395631] system 00:00: [io 0x0220-0x0223] has been reserved [ 0.396373] system 00:00: [io 0x0224-0x0227] has been reserved [ 0.397046] system 00:00: [io 0x04d0-0x04d1] has been reserved [ 0.397781] system 00:00: [io 0x0c00-0x0c01] has been reserved [ 0.398493] system 00:00: [io 0x0400-0x0407] has been reserved [ 0.399421] pnp: PnP ACPI: found 5 devices [ 0.399896] ACPI: bus type PNP unregistered [ 0.414989] pci 0000:00:01.0: BAR 6: assigned [mem 0x80000000-0x800007ff pref] [ 0.415830] pci 0000:00:02.0: BAR 6: assigned [mem 0x80000800-0x80000fff pref] [ 0.416665] pci 0000:00:04.0: BAR 6: assigned [mem 0x80001000-0x800017ff pref] [ 0.417528] pci 0000:00:00.0: not setting up bridge for bus 0000:01 [ 0.418322] NET: Registered protocol family 2 [ 0.418992] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.419985] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.421023] TCP: Hash tables configured (established 16384 bind 16384) [ 0.421986] TCP: reno registered [ 0.422388] UDP hash table entries: 1024 (order: 3, 32768 bytes) [ 0.423123] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) [ 0.424023] NET: Registered protocol family 1 [ 0.424560] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.425485] Trying to unpack rootfs image as initramfs... [ 0.819265] Freeing initrd memory: 18844K (ffff880003668000 - ffff8800048cf000) [ 0.820317] microcode: CPU0 sig=0x306e4, pf=0x1, revision=0x0 [ 0.821046] microcode: CPU1 sig=0x306e4, pf=0x1, revision=0x0 [ 0.822048] microcode: Microcode Update Driver: v2.00 , Peter Oruba [ 0.823063] Scanning for low memory corruption every 60 seconds [ 0.824107] Initialise system trusted keyring [ 0.824677] audit: initializing netlink socket (disabled) [ 0.825371] type=2000 audit(1409939130.628:1): initialized [ 0.852562] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.854875] zbud: loaded [ 0.855447] VFS: Disk quotas dquot_6.5.2 [ 0.855919] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.857266] fuse init (API version 7.22) [ 0.857914] msgmni has been set to 3998 [ 0.858443] Key type big_key registered [ 0.860405] Key type asymmetric registered [ 0.860927] Asymmetric key parser 'x509' registered [ 0.861539] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.862566] io scheduler noop registered [ 0.863028] io scheduler deadline registered (default) [ 0.863657] io scheduler cfq registered [ 0.864179] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.864844] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.865670] ipmi message handler version 39.2 [ 0.866361] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 0.867209] ACPI: Power Button [PWRF] [ 0.867721] GHES: HEST is not enabled! [ 0.868587] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.890691] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.912833] 00:02: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 0.915010] Linux agpgart interface v0.103 [ 0.916980] brd: module loaded [ 0.918103] loop: module loaded [ 0.918884] blk-mq: CPU -> queue map [ 0.919303] CPU 0 -> Queue 0 [ 0.919664] CPU 1 -> Queue 0 [ 0.920529] vda: vda1 vda2 < vda5 > [ 0.921749] libphy: Fixed MDIO Bus: probed [ 0.922402] tun: Universal TUN/TAP device driver, 1.6 [ 0.923023] tun: (C) 1999-2004 Max Krasnyansky [ 0.924621] PPP generic driver version 2.4.2 [ 0.925283] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.926055] ehci-pci: EHCI PCI platform driver [ 0.926646] ehci-platform: EHCI generic platform driver [ 0.927275] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.927990] ohci-pci: OHCI PCI platform driver [ 0.928506] ohci-platform: OHCI generic platform driver [ 0.929135] uhci_hcd: USB Universal Host Controller Interface driver [ 0.929910] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 2.075369] i8042: No controller found [ 2.075882] tsc: Refined TSC clocksource calibration: 2097.635 MHz [ 2.076085] mousedev: PS/2 mouse device common for all mice [ 2.076232] ACPI Error: Could not enable RealTimeClock event (20131115/evxfevnt-212) [ 2.076234] ACPI Warning: Could not enable fixed event - RealTimeClock (4) (20131115/evxface-628) [ 2.076614] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 [ 2.076672] rtc_cmos 00:03: only 24-hr supported [ 2.076792] device-mapper: uevent: version 1.0.3 [ 2.076865] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com [ 2.076871] ledtrig-cpu: registered to indicate activity on CPUs [ 2.076991] TCP: cubic registered [ 2.077087] NET: Registered protocol family 10 [ 2.077297] NET: Registered protocol family 17 [ 2.077306] Key type dns_resolver registered [ 2.077427] Loading compiled-in X.509 certificates [ 2.078287] Loaded X.509 cert 'Magrathea: Glacier signing key: b1414ae96c1b0ebb7c141fa405c1f6c98e8a66f0' [ 2.078310] registered taskstats version 1 [ 2.089338] Key type trusted registered [ 2.092055] Key type encrypted registered [ 2.094752] AppArmor: AppArmor sha1 policy hashing enabled [ 2.095408] IMA: No TPM chip found, activating TPM-bypass! [ 2.096346] regulator-dummy: disabling [ 2.096898] Magic number: 14:860:945 [ 2.097356] tty tty2: hash matches [ 2.097770] cpu cpu0: hash matches [ 2.098292] /build/buildd/linux-3.13.0/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 2.099468] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 2.100238] EDD information not available. [ 2.101865] Freeing unused kernel memory: 1336K (ffffffff81d1f000 - ffffffff81e6d000) [ 2.102799] Write protecting the kernel read-only data: 12288k [ 2.105576] Freeing unused kernel memory: 808K (ffff880001736000 - ffff880001800000) [ 2.108228] Freeing unused kernel memory: 692K (ffff880001b53000 - ffff880001c00000) Loading, please wait... [ 2.124360] systemd-udevd[98]: starting version 204 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. [ vtblk: ndesc (65535) out of range, driver confused? Assertion failed: (n >= 2 && n <= VTBLK_MAXSEGS + 2), function pci_vtblk_proc, file /usr/src/usr.sbin/bhyve/pci_virtio_block.c, line 174. 2Abort trap (core dumped) From owner-freebsd-virtualization@FreeBSD.ORG Wed Sep 3 05:04:58 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C6E157A for ; Wed, 3 Sep 2014 05:04:58 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3E4BA1B3D for ; Wed, 3 Sep 2014 05:04:57 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id BE678123F7; Wed, 3 Sep 2014 15:04:49 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BYD37672 (AUTH peterg@ptree32.com.au); Wed, 3 Sep 2014 15:04:49 +1000 Message-ID: <5406A16F.9070401@freebsd.org> Date: Tue, 02 Sep 2014 22:04:47 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Rudy Subject: Re: Ubuntu upgrade - bhyve gets confused with vtblk References: <54068FC5.6010905@monkeybrains.net> In-Reply-To: <54068FC5.6010905@monkeybrains.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 03 Sep 2014 05:04:58 -0000 Hi Rudy, > uname: > FreeBSD 10.0-STABLE #1 r264668M: Fri Apr 18 14:50:21 PDT 2014 Was this the previous version, and you've just upgraded to the latest 10-STABLE ? > Upgrading OS to 10-STABLE! > [ 0.000000] Linux version 3.13.0-35-generic (buildd@panlong) (gcc > version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #62-Ubuntu SMP Fri Aug 15 > 01:58:42 UTC 2014 (Ubuntu 3.13.0-35.62-generic 3.13.11.6) A 12.04 upgrade ? I've run 14.04 with a similar kernel without issue on CURRENT, but I'll give this a try on 10-STABLE. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Thu Sep 4 04:35:20 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45BACBF8; Thu, 4 Sep 2014 04:35:20 +0000 (UTC) Received: from mail.monkeybrains.net (mail.monkeybrains.net [208.69.40.19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mail.monkeybrains.net", Issuer "RapidSSL CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 26F2D190E; Thu, 4 Sep 2014 04:35:19 +0000 (UTC) Received: from Rudys-iMac.local (208-90-212-115.PUBLIC.monkeybrains.net [208.90.212.115]) (authenticated bits=0) by mail.monkeybrains.net (8.14.7/8.14.7) with ESMTP id s844ZCxf064337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 3 Sep 2014 21:35:13 -0700 (PDT) (envelope-from crapsh@monkeybrains.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=monkeybrains.net; s=dkim; t=1409805313; bh=NE5DOvkNOHjqffL3PWOjHlMndfHYsM2kB2fEA2Kbv70=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=uflXnRnR4o4VWxcM5HIKChZ5kk0Z+u6liD6dIDlqNKeVv3u3KNOy44GWI7R29s1vN El6IG6MfWwT/LMeJCDhmX0d/QjQmTzGk9XNTZBr+wzQ7OwNVwAWiYQOU+lBty8rpPK tjIsKd02uvE7sCjIndO8htYzgskZlLXOKnqLoXYU= X-Authentication-Warning: mail.monkeybrains.net: Host 208-90-212-115.PUBLIC.monkeybrains.net [208.90.212.115] claimed to be Rudys-iMac.local Message-ID: <5407EBAD.3030208@monkeybrains.net> Date: Wed, 03 Sep 2014 21:33:49 -0700 From: Rudy User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Peter Grehan Subject: Re: Ubuntu upgrade - bhyve gets confused with vtblk References: <54068FC5.6010905@monkeybrains.net> <5406A16F.9070401@freebsd.org> In-Reply-To: <5406A16F.9070401@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.98.3 at mail.monkeybrains.net X-Virus-Status: Clean Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 04 Sep 2014 04:35:20 -0000 On 9/2/14, 10:04 PM, Peter Grehan wrote: > Hi Rudy, > >> uname: >> FreeBSD 10.0-STABLE #1 r264668M: Fri Apr 18 14:50:21 PDT 2014 > > Was this the previous version, and you've just upgraded to the latest > 10-STABLE ? > It is working now, I upgraded to: FreeBSD 10.1-PRERELEASE #4 r270991M: Tue Sep 2 22:18:28 PDT 2014 The guest that failed to boot was the freshest 14.04.1. For some odd reason, nmdb was not part of 10.1-PRERELEASE, so my boot scripts failed. Doh. The fix: cd /usr/src/sys/modules/nmdm/ && make depend && make obj && make install Why in tarnation does 10.1-PRERELEASE have the joy.ko and no nmdm.ko? ;) Rudy From owner-freebsd-virtualization@FreeBSD.ORG Thu Sep 4 06:03:06 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A51D773 for ; Thu, 4 Sep 2014 06:03:06 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31454107E for ; Thu, 4 Sep 2014 06:03:06 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s84636tf033158 for ; Thu, 4 Sep 2014 06:03:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192281] [kern] nmdm with bhyve causes kernel panic Date: Thu, 04 Sep 2014 06:03:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 04 Sep 2014 06:03:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192281 --- Comment #6 from Peter Grehan --- Thanks - yes, easy repro on 10. Doesn't crash on CURRENT, but the bug is still there in that the leading zeros are stripped when the devfs entry is created. This in turn means that it isn't possible to connect to the 'B' end using the same text string. After a chat with Neel, the proposed solution will be to allow any valid devfs character string between the 'nmdm' and trailing 'A' or 'B'. That way you can even encode the VM name in the nmdm device name :) I'll see if I can get this into CURRENT shortly, and then MFC in time for 10.1. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Thu Sep 4 06:31:45 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9A27153 for ; Thu, 4 Sep 2014 06:31:45 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADF113D3 for ; Thu, 4 Sep 2014 06:31:45 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 97D9912570; Thu, 4 Sep 2014 16:31:37 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BYE05245 (AUTH peterg@ptree32.com.au); Thu, 4 Sep 2014 16:31:36 +1000 Message-ID: <54080747.3020108@freebsd.org> Date: Wed, 03 Sep 2014 23:31:35 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Rudy Subject: Re: Ubuntu upgrade - bhyve gets confused with vtblk References: <54068FC5.6010905@monkeybrains.net> <5406A16F.9070401@freebsd.org> <5407EBAD.3030208@monkeybrains.net> In-Reply-To: <5407EBAD.3030208@monkeybrains.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 04 Sep 2014 06:31:45 -0000 Hi Rudy, > It is working now, I upgraded to: > FreeBSD 10.1-PRERELEASE #4 r270991M: Tue Sep 2 22:18:28 PDT 2014 Good to hear. > For some odd reason, nmdb was not part of 10.1-PRERELEASE, so my boot > scripts failed. Doh. The fix: > > cd /usr/src/sys/modules/nmdm/ && make depend && make obj && make install > > Why in tarnation does 10.1-PRERELEASE have the joy.ko and no nmdm.ko? ;) I just had a look at the bootonly ISO and it's there. Was this the memstick image, or another ? later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Thu Sep 4 23:10:21 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D328DE1 for ; Thu, 4 Sep 2014 23:10:21 +0000 (UTC) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA9DE1324 for ; Thu, 4 Sep 2014 23:10:20 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id v10so2281450pde.31 for ; Thu, 04 Sep 2014 16:10:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mzQSbsALqJhvoH339wXtc5c1Gm1kgTDi3oDtVxD9kS4=; b=JNxv6oAkJ7AKthFRY9izB40chRT9PHqEKADxG9FLEET9PgHOGa1SqCBii89Wu40Nqr teAmUQlRsKHi0ecfjQS4SfnFRpFuuSu4joDFh/eJVRvtXgLq6Gy64gB9rXc2BPsCwjrS RNsgu6TvBCacwAJEZEsek+E3PRmqo4a4gshxWQB7624n3DM8QU4JoVWD3upRy5YHNDX1 /38s9T1U0qOmyyWcIiaYRDdwAaB7qXJ8/6CUVg+qDMG9mWgbkKoMVpaa0GnjFPwpB0NF /V6TTIijQn4cmPtmbnXKJ9rwc2B/XOZRr5fJp0V4MbVNEzV3WxydGParEzZA+8jLMhkj 65nQ== X-Gm-Message-State: ALoCoQmb/2VZvoJj1dLM/WbW2aj2Hnjkz6KBYEdgQBy7Cyv7uRzGhd06vO3sRxrPgSbE97twusYv MIME-Version: 1.0 X-Received: by 10.66.124.136 with SMTP id mi8mr13790315pab.89.1409872213852; Thu, 04 Sep 2014 16:10:13 -0700 (PDT) Sender: bsd-src@helfman.org Received: by 10.70.22.68 with HTTP; Thu, 4 Sep 2014 16:10:13 -0700 (PDT) In-Reply-To: References: Date: Thu, 4 Sep 2014 16:10:13 -0700 X-Google-Sender-Auth: O7QE2gYBftaZ-I0pgTyfQrtLrEg Message-ID: Subject: Re: Patch to virt-manager port for bhyve From: Jason Helfman To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Jason Helfman , "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 04 Sep 2014 23:10:21 -0000 On Fri, Aug 15, 2014 at 4:26 PM, Craig Rodrigues wrote: > Jason, > > Can you apply this patch to the virt-manager port: > > https://people.freebsd.org/~rodrigc/libvirt/patch-virtmanager-bhyve.txt > > > This allows using virt-manager to start a bhyve VM. I gave a > presentation on this > at Bay Area FreeBSD Users Group (BAFUG) recently: > > http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve > > Roman Bogorodskiy has pushed a similar patch upstream, but the upstream > virt-manager code now depends on gtk3, and we don't fully have that > supported > in ports yet. Getting the newer virt-manager in ports with gtk3 > supported is a big job, that > I don't have the bandwidth for right now, but this patch helps a lot. > > Thanks! > -- > Craig > > Until there is a way to get virt-manager updated to at least a more current version, I am reluctant to add any additional patches to it. -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve From owner-freebsd-virtualization@FreeBSD.ORG Fri Sep 5 22:07:00 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6363A15; Fri, 5 Sep 2014 22:07:00 +0000 (UTC) Received: from borg.macktronics.com (borg.macktronics.com [209.181.253.68]) by mx1.freebsd.org (Postfix) with ESMTP id B1D4F14E9; Fri, 5 Sep 2014 22:07:00 +0000 (UTC) Received: from olive.macktronics.com (olive.macktronics.com [209.181.253.67]) by borg.macktronics.com (Postfix) with ESMTP id 632C62AA; Fri, 5 Sep 2014 16:57:44 -0500 (CDT) Date: Fri, 5 Sep 2014 16:57:44 -0500 (CDT) From: Dan Mack To: Peter Grehan Subject: Re: [HOW-TO] CentOS on bhyve In-Reply-To: <531ACF85.8040305@freebsd.org> Message-ID: References: <531ABCC5.30801@monkeybrains.net> <531AC763.300@monkeybrains.net> <531ACF85.8040305@freebsd.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-virtualization@freebsd.org, "Rudy \(bulk\)" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 05 Sep 2014 22:07:00 -0000 On Sat, 8 Mar 2014, Peter Grehan wrote: > Hi Rudy, > >> Peter, anyway to get grub-bhyve to automatically load /grub/grub.conf >> from a CentOS install? > CentOS is grub v1 which isn't quite compatible with grub2 (e.g. linux -> > kernel). > > grub-bhyve can pick up a config file from the host system: use "-r host" to > force that, and the -d option to change the default path for grub.conf. No > need to redirect input. > > Then, in grub.conf on the host, put in the absolute path with the grub > commands e.g. > (the console=ttyS0 isn't needed: grub-bhyve auto-inserts that). > Let me resucitate this thread ... I just tried this on Centos7 and expeience the same lack of grub menu. I was able to work around it by manually entering the manual paths for linux and initrd but wouldn't it be nice ... However, on the Centos7 install, there appears to be both a grub/ and grub2/ configuration directory: | | grub> ls (hd0,msdos1)/ | Possible files are: | grub/ grub2/ ... | and in the grub2 folder there exists a seemling grub2 compatible grub.cfg file: | grub> cat (hd0,msdos1)/grub2/grub.cfg | # | # DO NOT EDIT THIS FILE | # | # It is automatically generated by grub2-mkconfig using templates | # from /etc/grub.d and settings from /etc/default/grub | # | Is there a way to direct grub-bhyve to use the centos:/boot/grub2/grub.cfg file ala some argument -- I scanned the source and couldn't find a simple over-ride. I'll test/rebuild the suite if you can point me in the general direction. Thanks, dan -- Dan Mack From owner-freebsd-virtualization@FreeBSD.ORG Fri Sep 5 22:10:50 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FEAFD2C for ; Fri, 5 Sep 2014 22:10:50 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id E34751520 for ; Fri, 5 Sep 2014 22:10:49 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 3F20B454B4 for ; Fri, 5 Sep 2014 22:10:48 +0000 (UTC) Message-ID: <540A3502.8090108@freebsd.org> Date: Fri, 05 Sep 2014 18:11:14 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: [HOW-TO] CentOS on bhyve References: <531ABCC5.30801@monkeybrains.net> <531AC763.300@monkeybrains.net> <531ACF85.8040305@freebsd.org> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5PkSdnhpLFAVsWhVpqINtNl7C0XIVxKrn" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 05 Sep 2014 22:10:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5PkSdnhpLFAVsWhVpqINtNl7C0XIVxKrn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-09-05 17:57, Dan Mack wrote: > On Sat, 8 Mar 2014, Peter Grehan wrote: >=20 >> Hi Rudy, >> >>> Peter, anyway to get grub-bhyve to automatically load /grub/grub.conf= >>> from a CentOS install? >=20 > >=20 >> CentOS is grub v1 which isn't quite compatible with grub2 (e.g. linux >> -> kernel). >> >> grub-bhyve can pick up a config file from the host system: use "-r >> host" to force that, and the -d option to change the default path for >> grub.conf. No need to redirect input. >> >> Then, in grub.conf on the host, put in the absolute path with the grub= >> commands e.g. >=20 > >=20 >> (the console=3DttyS0 isn't needed: grub-bhyve auto-inserts that). >> >=20 >=20 > Let me resucitate this thread ... >=20 > I just tried this on Centos7 and expeience the same lack of grub menu. > I was able to work around it by manually entering the manual paths for > linux and initrd but wouldn't it be nice ... >=20 > However, on the Centos7 install, there appears to be both a grub/ and > grub2/ configuration directory: >=20 > | > | grub> ls (hd0,msdos1)/ > | Possible files are: > | grub/ grub2/ ... > | >=20 > and in the grub2 folder there exists a seemling grub2 compatible > grub.cfg file: >=20 > | grub> cat (hd0,msdos1)/grub2/grub.cfg > | # > | # DO NOT EDIT THIS FILE > | # > | # It is automatically generated by grub2-mkconfig using templates > | # from /etc/grub.d and settings from /etc/default/grub > | # > | >=20 > Is there a way to direct grub-bhyve to use the > centos:/boot/grub2/grub.cfg file ala some argument -- I scanned the > source and couldn't find a simple over-ride. >=20 > I'll test/rebuild the suite if you can point me in the general > direction. >=20 > Thanks, >=20 > dan > --=20 > Dan Mack >=20 > _______________________________________________ > 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" There CentOS goes being annoying... grub-bhyve loads the grub config file on ubuntu because it is in the expected place /boot/grub but because CentOS 6 has a grub 1 config in /boot/grub they put the grub 2 config in /boot/grub2... note: you can do: source /boot/grub2/grub.conf or is it 'script' or something there is some interactive command in grub-bhyve to load a config file from inside the VM image. --=20 Allan Jude --5PkSdnhpLFAVsWhVpqINtNl7C0XIVxKrn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUCjUFAAoJEJrBFpNRJZKf8psQAIFKLpPDJUJCr4L2hv35jrQl wz0jn87Mk8nYiSJjo+8aYzijvQyNPIbcbcU4T6bxi3gEeAbtmxCObyKJRVot2KXe wXErvL/S9/0selknUb6RNO1qMa4bVS9d3duffB4mOeZEcdLgDPN+DMI91gBsts0u mE6Y50uEdaMeCDVPbsrXEobmBQ3osCxy5nuJ17gj7gqRxAk3nUgAIvA8LC+6IyYM dOypdWdlPTkZ2E8tL4/9f6n15dV+f4FxEK2S47ZFs4YFmY7ndd1zVZl/PBD0QENg C+l5q/zip2VtFMSyRMMR1sPWLtxvSVvZ1w73Sh1k0lYia4orUVQy21jSmdedrdIh x0zU18EMpyV89Rp+Q+PfizyDW/os+nDUkye/9R7l97x8ttH+EloNExP0m/p7bIvd o4iZi3zGiuDI/ycHcbUJUs5lWRut1yQtm9mo7LMgevR4iAI2k1vs3Di/JvLrILMH moJ3nfYWQDuXdY67ISI3npxG/msNCjXPWzzGCRaL45+H5iQZEh7d0QEu+EM5IpL5 /Jdc3gGhC5Q8pCxTGkrpsWHZr3uiwRTS+3kdcr6ELdsyPN6GZT00t7cFSTOJvCry T10O9F2WkM8+j6o4yXzoiQszyNC6ss49YLxzC03omTyw+kpXu6ezaDDA2FmX1+8S mAlg7JkcIcGQJ1SozGwi =doOS -----END PGP SIGNATURE----- --5PkSdnhpLFAVsWhVpqINtNl7C0XIVxKrn-- From owner-freebsd-virtualization@FreeBSD.ORG Fri Sep 5 22:34:16 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F39183B3 for ; Fri, 5 Sep 2014 22:34:15 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id B46CB1927 for ; Fri, 5 Sep 2014 22:34:15 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 8A9E6127D3; Sat, 6 Sep 2014 08:34:06 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BYE81628 (AUTH peterg@ptree32.com.au); Sat, 6 Sep 2014 08:34:05 +1000 Message-ID: <540A3A5B.1060502@freebsd.org> Date: Fri, 05 Sep 2014 15:34:03 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Dan Mack Subject: Re: [HOW-TO] CentOS on bhyve References: <531ABCC5.30801@monkeybrains.net> <531AC763.300@monkeybrains.net> <531ACF85.8040305@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org, "Rudy \(bulk\)" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 05 Sep 2014 22:34:16 -0000 Hi Dan, > Is there a way to direct grub-bhyve to use the > centos:/boot/grub2/grub.cfg file ala some argument -- I scanned the > source and couldn't find a simple over-ride. The Centos7 install I did put the grub2 config into /grub2/grub.cfg grub-bhyve can be told to search in this directory with the "-d" option i.e. -d /grub2 later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Fri Sep 5 23:00:01 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9EB6B06; Fri, 5 Sep 2014 23:00:01 +0000 (UTC) Received: from borg.macktronics.com (borg.macktronics.com [209.181.253.68]) by mx1.freebsd.org (Postfix) with ESMTP id 9492C1B4B; Fri, 5 Sep 2014 23:00:01 +0000 (UTC) Received: from olive.macktronics.com (olive.macktronics.com [209.181.253.67]) by borg.macktronics.com (Postfix) with ESMTP id BA4192C4; Fri, 5 Sep 2014 18:00:00 -0500 (CDT) Date: Fri, 5 Sep 2014 18:00:00 -0500 (CDT) From: Dan Mack To: Peter Grehan Subject: Re: [HOW-TO] CentOS on bhyve In-Reply-To: <540A3A5B.1060502@freebsd.org> Message-ID: References: <531ABCC5.30801@monkeybrains.net> <531AC763.300@monkeybrains.net> <531ACF85.8040305@freebsd.org> <540A3A5B.1060502@freebsd.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-virtualization@freebsd.org, "Rudy \(bulk\)" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 05 Sep 2014 23:00:01 -0000 On Fri, 5 Sep 2014, Peter Grehan wrote: > Hi Dan, > >> Is there a way to direct grub-bhyve to use the >> centos:/boot/grub2/grub.cfg file ala some argument -- I scanned the >> source and couldn't find a simple over-ride. > > The Centos7 install I did put the grub2 config into /grub2/grub.cfg > > grub-bhyve can be told to search in this directory with the "-d" option i.e. > > -d /grub2 > > later, > > Peter. That worked perfectly. Thank you! dan From owner-freebsd-virtualization@FreeBSD.ORG Sat Sep 6 20:50:51 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2BB3BC5 for ; Sat, 6 Sep 2014 20:50:51 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C942E148A for ; Sat, 6 Sep 2014 20:50:51 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s86Kop6l096388 for ; Sat, 6 Sep 2014 20:50:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192281] [kern] nmdm with bhyve causes kernel panic Date: Sat, 06 Sep 2014 20:50:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rodrigc@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 06 Sep 2014 20:50:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192281 --- Comment #7 from Craig Rodrigues --- +1 Being able to put the VM name in the nmdm device name is super useful. -- You are receiving this mail because: You are the assignee for the bug.