From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 23 17:07:19 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 D22DE16A for ; Thu, 23 Jan 2014 17:07:19 +0000 (UTC) Received: from mail-qa0-x22b.google.com (mail-qa0-x22b.google.com [IPv6:2607:f8b0:400d:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 84FE313A4 for ; Thu, 23 Jan 2014 17:07:19 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id o15so2551888qap.30 for ; Thu, 23 Jan 2014 09:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=QWFlyW/kY+pxwpRJ+AN6MSwOpOJOXfn66CVdCSCMMkI=; b=YEhG7UDWg6VQSL+HzdJ067d1L61OsiNTFRaOYo6NQXNzcktYRZaAIca2qt8tcUiqUG Yjy0Av/JctnJUQ2X4Tbi/cZA+3hcZsOhdM+W2njvQsKDiqRT9VCUelpM8RPUe2WrRaz4 PHJTdgqsHqOez3WoFijLAASfKGErL6bUHk8xOb1LDYoeynCkUGW+GaLEENmwaexLgXAG +RZGPUXum5gufrgIOXox3PaXTw6yYmJLMGB59Su0HdsSKH3EVToMd6vB+4VQLgBQAvE8 1LZVzhZETj7GKb1vS1OrqorcHqtnIjZ+ZJ80o+yrbuFGiCR3avyyKeSQDqtnScBx8Wv7 Lfrg== MIME-Version: 1.0 X-Received: by 10.224.38.137 with SMTP id b9mr13396193qae.38.1390496836991; Thu, 23 Jan 2014 09:07:16 -0800 (PST) Received: by 10.140.87.71 with HTTP; Thu, 23 Jan 2014 09:07:16 -0800 (PST) In-Reply-To: References: <52E0C1D4.9000304@freebsd.org> <52E0D1BB.2050807@callfortesting.org> Date: Thu, 23 Jan 2014 09:07:16 -0800 Message-ID: Subject: Re: Linux on BHyVe in 10.0-RELEASE From: Neel Natu To: =?ISO-8859-1?Q?Jonas_B=FClow?= Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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, 23 Jan 2014 17:07:19 -0000 Hi Jonas, On Thu, Jan 23, 2014 at 8:00 AM, Jonas B=FClow wrot= e: > I will describe the steps when I manage to reproduce the installation. > Right now I get stuck with undestroyable vm instances: > > root@bulow:/mnt/bhyve-script # ls /dev/vmm/ > > lin0 > > root@bulow:/mnt/bhyve-script # bhyvectl --destroy --vm=3Dlin0 > > errno =3D 22 > Hmm=85 can you tell what the bhyve process associated with lin0 is doing from 'top' or 'ps'? What happens if you send a SIGTERM to the bhyve process? best Neel > > On Thu, Jan 23, 2014 at 3:44 PM, Matthias Gamsjager wrote: > >> Could you elaborate what you did to get it working? >> >> >> On Thu, Jan 23, 2014 at 3:41 PM, Jonas B=FClow wr= ote: >> >>> Success. I have a working ubuntu 13.10 running under bhyve on FreeBSD >>> 10.0-RELEASE. >>> >>> >>> >>> /J >>> >>> >>> On Thu, Jan 23, 2014 at 11:37 AM, Aryeh Friedman >>> wrote: >>> >>> > >>> > >>> > >>> > On Thu, Jan 23, 2014 at 5:05 AM, Jonas B=FClow >> >wrote: >>> > >>> >> I do use the precanned bhyve-script "vm0" (if that is what you mean)= . >>> It >>> >> explicitly mentions linux support. bhyveload can't be user for other >>> images >>> >> than FreeBSD so I don't know how to use your script for a linux OS >>> >> >>> > >>> > Since I have not used bhyve-grub personally yet I can not recommend w= hat >>> > the correct loader command line but if bhyve-script is in anyway >>> related to >>> > vmrun.sh I would be highly suspicious of any command lines you manage= to >>> > extract from it since they are often not the ones actual called. >>> > >>> > >>> >> >>> >> I assume the image is file backed as I have not assigned a dedicated >>> >> partition to the vm (and I don't know how to do that). >>> >> >>> > >>> > You can keep them anywhere no need for a special volume (mater of fac= t I >>> > was just reusing the name of one of the diretoriess that PC creates >>> during >>> > install even without it being a different vol [just assumes any FS >>> > boundaries are the host OS's problem)... you can put the disk image a= ny >>> > where (your home directory would be fine for example) >>> > >>> _______________________________________________ >>> 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" >>> >> >> > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@free= bsd.org"