From owner-freebsd-virtualization@freebsd.org Mon Oct 8 21:01:31 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54F7C10CB4C1 for ; Mon, 8 Oct 2018 21:01:31 +0000 (UTC) (envelope-from josiaslg@bsd.com.br) Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1DF57D188 for ; Mon, 8 Oct 2018 21:01:30 +0000 (UTC) (envelope-from josiaslg@bsd.com.br) Received: by mail-pf1-x435.google.com with SMTP id u12-v6so5785011pfn.12 for ; Mon, 08 Oct 2018 14:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Vcs9uBE7qvPOXf30JQwaGSe1lEopms3J4du6ov4m7So=; b=ZOGSa2VWKfpMpoEk6ZjewA5uPZaJLHSJA8yXfiTS7dMh/voB47aLdX8kre5BO9NqMa G7NYqUzb0S71dpfEjEDwXfnl34kLGxMX7/9Al4EQ0VRAvY841TwkfZwumiRPD188aT9m IbcNLPok2s37N1I5k3FUfMxfhJR2iuAxISauA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Vcs9uBE7qvPOXf30JQwaGSe1lEopms3J4du6ov4m7So=; b=OVgdq8ZAkMe4L7gk/pXtNhkLM+l09+m+FiQC8jEFn/gL6HpDzA83nhVlQQqDrBY4EK MGerSIuEnK2OA4LoW+wjV9r0m2L51dmvCK44Jbb9wK3olYAxaBiyaHawhPzabr2uOnIr o5wHaAlO0F9KjfduZ8TNms1Q6YIet3eq38ln9ycB3svzquKw51w9GrMc6vnvOR0zKmig EsZiURDO7NRrEFJNWXw63E7j4+Wtz/PlSDir+fReIWPrRNb4fB+nahVCqh3RKVTlISRy pfUyRu1IZZa8E6rMG8ODl+zUsByWS7a8I9EOfxyc9dfx7PyWw5eWGXVx8nqDL6/LUH6w 97Cw== X-Gm-Message-State: ABuFfogPxkxCp5q6fYaVkOFVtcyYcVJW82qQUEMVBodhzPZ+IVZtsNU3 LmT3N5kMMEKm861Aio1bc9u0cV2BwOw44TmyNjb4lNhvyvI= X-Google-Smtp-Source: ACcGV606xTAUTvCUU7A+zzMN0HB6aDbGiFZJQ7hWveJ8XIR3Xt2RTKbtotx/i5svMlYR9KlLKy60n65gep2sUO6ZrVg= X-Received: by 2002:a63:8a41:: with SMTP id y62-v6mr22413249pgd.420.1539032488969; Mon, 08 Oct 2018 14:01:28 -0700 (PDT) MIME-Version: 1.0 References: <20181006141906.GA10597@admin.sibptus.ru> <20181008133604.GA77358@admin.sibptus.ru> <20181008143806.GA78665@admin.sibptus.ru> <20181008145233.GA78859@admin.sibptus.ru> In-Reply-To: <20181008145233.GA78859@admin.sibptus.ru> From: =?UTF-8?Q?Josias_L=2E_Gon=C3=A7alves?= Date: Mon, 8 Oct 2018 18:01:17 -0300 Message-ID: Subject: Re: [vm-bhyve] Does anyone have a vm template for Linux Mint ? To: vas@mpeks.tomsk.su 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.27 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 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, 08 Oct 2018 21:01:31 -0000 Em seg, 8 de out de 2018 =C3=A0s 11:52, Victor Sudakov escreveu: > Victor Sudakov wrote: > > Victor Sudakov wrote: > > > Josias L. Gon=C3=A7alves wrote: > > > > My ubuntu is something like that: > > > > > > > > uefi=3D"csm" > > > ^^^^^^^^^^^^^^^^^^^ > > > > > > This is supposed to be the key feature! I did not know about UEFI-CSM= . > > > > > > However, when I start the vm: > > > > > > # vm install mint linuxmint-19-cinnamon-64bit-v2.iso > > > Starting mint > > > * found guest in /d02/vm/mint > > > * booting... > > > > > > > > > the TightVNC "console" is just a blank rectangle. Nothing ever > happens. > > > > I get the same blank rectangle with Ubuntu (vm install mint > ubuntu-16.04-desktop-amd64.iso) > > So there must be something amiss in my setup. > > The log: > > > =D0=BE=D0=BA=D1=82. 08 21:46:29: initialising > =D0=BE=D0=BA=D1=82. 08 21:46:29: [loader: none] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [uefi: csm] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [cpu: 1] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [memory: 2G] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [hostbridge: standard] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [com ports: com1] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [uuid: f9bbfaab-cafc-11e8-8d16-5404a6b4= 9a66] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [utctime: yes] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [debug mode: no] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [primary disk: disk0.img] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [primary disk dev: file] > =D0=BE=D0=BA=D1=82. 08 21:46:29: initialising network device tap1 > =D0=BE=D0=BA=D1=82. 08 21:46:29: adding tap1 -> bridge0 (main addm) > =D0=BE=D0=BA=D1=82. 08 21:46:29: bring up tap1 -> bridge0 (main addm) > =D0=BE=D0=BA=D1=82. 08 21:46:29: booting > =D0=BE=D0=BA=D1=82. 08 21:46:29: [bhyve options: -c 1 -m 2G -Hwl > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CSM.fd -U > f9bbfaab-cafc-11e8-8d16-5404a6b49a66 -u] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [bhyve devices: -s 0,hostbridge -s 31,l= pc -s > 4:0,virtio-blk,/d02/vm/mint/disk0.img -s > 5:0,virtio-net,tap1,mac=3D58:9c:fc:08:91:3d -s 6:0,fbuf,tcp=3D0.0.0.0:590= 9 > ,wait] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [bhyve console: -l com1,/dev/nmdm-mint.= 1A] > =D0=BE=D0=BA=D1=82. 08 21:46:29: [bhyve iso device: -s > 3:0,ahci-cd,/d02/vm/.iso/ubuntu-16.04-desktop-amd64.iso] > =D0=BE=D0=BA=D1=82. 08 21:46:29: starting bhyve (run 1) > =D0=BE=D0=BA=D1=82. 08 21:50:08: bhyve exited with status 143 > =D0=BE=D0=BA=D1=82. 08 21:50:08: destroying network device tap1 > =D0=BE=D0=BA=D1=82. 08 21:50:08: stopped > > I waited about 4 minutes before sending "vm mint stop" looking into > the blank VNC console. > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ Verify if everything is installed: pkg install bhyve-firmware-1.0_1 bhyve-rc-3 grub2-bhyve-0.40_5 libhyve-remote-0.1.4.2 uefi-edk2-bhyve-0.1,1 uefi-edk2-bhyve-csm-0.1,1