From owner-freebsd-virtualization@FreeBSD.ORG Wed Dec 3 18:50:07 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0EA861A; Wed, 3 Dec 2014 18:50:07 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D511B3E; Wed, 3 Dec 2014 18:50:06 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id sB3Io5dE008656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Dec 2014 10:50:05 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id sB3Io5xS008655; Wed, 3 Dec 2014 10:50:05 -0800 (PST) (envelope-from jmg) Date: Wed, 3 Dec 2014 10:50:05 -0800 From: John-Mark Gurney To: Peter Grehan Subject: Re: FreeBSD i386 guest doesn't see console... Message-ID: <20141203185005.GJ99957@funkthat.com> References: <20141203024112.GF99957@funkthat.com> <547E8319.9070509@freebsd.org> <20141203174947.GG99957@funkthat.com> <547F56A8.6020607@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <547F56A8.6020607@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 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? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Wed, 03 Dec 2014 10:50:06 -0800 (PST) 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 Dec 2014 18:50:07 -0000 Peter Grehan wrote this message on Wed, Dec 03, 2014 at 10:30 -0800: > >> It may be possible that this file isn't being populated in your image, > >>or being read in by bhyveload. > > > >show from loader: > >OK show > >LINES=24 > >boot_serial=1 > >console=userboot > >currdev=disk0p3: > >interpret=OK > >kernelname=/boot/kernel/kernel > >loaddev=disk0p3: > >prompt=${interpret} > >smbios.bios.vendor=BHYVE > > > >Any ideas? > > Looks like device.hints isn't being sourced in by the loader (aka > bhyveload in this case). This is done on a stock system from: > > % grep device.hints /boot/defaults/loader.conf > loader_conf_files="/boot/device.hints /boot/loader.conf > /boot/loader.conf.local" > > Any chance on your system that you've overridden loader_conf_files, or > are using a custom setup for loader config ? Nope, my /boot/loader.conf looks like: aesni_load="YES" That's all... And /boot/defaults/loader.conf had the line: loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" and, no, I don't have a loader.conf.local file.. Hmmm... I just realized that my i386 system doesn't have the beastie menu when it boots, but my amd64 system does... This image was recently built using installworld/distribution w/ -DNO_ROOT, but the steps to produce the image are exactly the same wrt amd64... Ok, if I do a: set hint.uart.0.flags="0x10" in loader, and boot... serial console still doesn't work, but the flag is now seen by uart0: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 So, it's not just that flag that's the issue.. I also just did a diff between the amd64 and i386 /boot dir, and besides the expected, boot blocks and loader differing, the only differences are if_faith_load got removed and ata and apm hints are now present.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."