From owner-freebsd-virtualization@FreeBSD.ORG Thu May 1 17:29:36 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 5C2DFFEC for ; Thu, 1 May 2014 17:29:36 +0000 (UTC) Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) (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 18ED9162A for ; Thu, 1 May 2014 17:29:36 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id w7so2085145qcr.20 for ; Thu, 01 May 2014 10:29:34 -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=5e0/JFj6ZBzOtz3uPXCl94wI0RaSwd2/CmIDs/nQ7Y8=; b=A1n39tpl0GioFFUSVGZMzF2DGMez8wmFN8f2OXsqOwJwsCPm9raU1z4lRdf1fg5AoM 5YhRB8kpVpHOLkF2Ymjtru6vanKMO4VNBvwqbXkfepuUXkTVANZwY7ft6Q1w1BAfLA0H tbJAapBvdEDUGH9lCXczx+xZbvustZzNky3UTAmA9JFcwx79/cRAcvuDZUJH0qnUxW5E QLUbGw5Gx+J+6Lws2WLRZNRQvLte+Qh2C7LPfcqW0oESIK5Ykxc+I4f7CTDzxeli8ymV l+neVA+mvTbIIEdIOyL2HVvnqEd8eSOiWDjMDFOGZKYwIWhSkj/H/uBDWaqqaKe8bHpz sxdA== MIME-Version: 1.0 X-Received: by 10.224.72.12 with SMTP id k12mr15693293qaj.81.1398965374233; Thu, 01 May 2014 10:29:34 -0700 (PDT) Received: by 10.140.47.201 with HTTP; Thu, 1 May 2014 10:29:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 May 2014 10:29:34 -0700 Message-ID: Subject: Re: bhyve and serial port emulation problem From: Neel Natu To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Content-Type: text/plain; charset=UTF-8 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, 01 May 2014 17:29:36 -0000 Hi Olivier, On Wed, Apr 30, 2014 at 3:28 PM, Olivier Cochard-Labb=C3=A9 wrote: > On Wed, Apr 30, 2014 at 7:33 PM, Neel Natu wrote: >> >> Hi Olivier, >> >> >> Can you share the command line options you pass the bhyve(8)? >> > > Hi Neel, > > sure, here it is: > > bhyveload -m 256M -d /tmp/BSDRP/BSDRP_1 -c /dev/nmdm1A BSDRP_1 > bhyve -c 1 -m 256M -A -H -P -s 0:0,hostbridge -s 0:1,lpc -s > 2:0,virtio-net,tap0,mac=3D58:9c:fc:01:00:01 -s > 1:0,virtio-blk,/tmp/BSDRP/BSDRP_1 -l com1,/dev/nmdm1A BSDRP_1 > The UPDATING entry in r264175 describes how to fix this: http://svnweb.freebsd.org/base?view=3Drevision&revision=3D264175 Briefly, you will now need to change your /etc/ttys to look like this: ttyu0 "/usr/libexec/getty 3wire" vt100 on secure If your virtual machine has an older world then your /etc/gettytab will not have the entry for "3wire" and you may want to use "3wire.9600" instead. best Neel > Regards, > > Olivier