Date: Wed, 3 Dec 2014 10:50:05 -0800 From: John-Mark Gurney <jmg@funkthat.com> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: FreeBSD i386 guest doesn't see console... Message-ID: <20141203185005.GJ99957@funkthat.com> In-Reply-To: <547F56A8.6020607@freebsd.org> References: <20141203024112.GF99957@funkthat.com> <547E8319.9070509@freebsd.org> <20141203174947.GG99957@funkthat.com> <547F56A8.6020607@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141203185005.GJ99957>