Date: Tue, 24 Dec 2013 17:28:17 -0700 From: Peter Grehan <grehan@freebsd.org> To: Dennis Glatting <freebsd@pki2.com> Cc: freebsd-virtualization@freebsd.org Subject: Re: nmdm doesn't create entries in /dev (10.0-RC2+) Message-ID: <52BA26A1.10204@freebsd.org> In-Reply-To: <1387926826.71651.129.camel@btw.pki2.com> References: <1387926826.71651.129.camel@btw.pki2.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dennis, > Bhyve newbie trying to get it to start. No problems. > I am getting the FreeBSD loader but it then exits when the loader goes > to boot. I've also found "kldload nmdm" does not create any entries > in /dev. Isn't it suppose to? I'm not sure what I am doing wrong. nmdm(4) is a cloneable device so device nodes won't show up until they're opened. Also, vmrun.sh is hard-coded to use stdio for output. You'll have to modify the script to get bhyveload (the -c option) and bhyve (the "-l com1," option) to use an nmdm device. > System: > > Elmer# uname -a > FreeBSD Elmer 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #0 r259838: Tue > Dec 24 15:21:17 MST 2013 > root@Elmer:/disk-2/obj/usr/src/sys/PENFORD-FreeBSD10-amd64 amd64 > > > I am executing the following instructions: > > kldload nmdm > kldload vmm > kldload if_tap > ifconfig tap0 create > ./vmrun.sh -c 4 -d /disk-2/VMs/nms.img -i > -I /disk-3/tmp/FreeBSD-10.0-RC2-amd64-disc1.iso -m 2G -t /dev/tap0 nms > > > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > CPU: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz (2533.47-MHz > K8-class CPU) This is a Nehalem Xeon - it doesn't have the VT-x feature known as "unrestricted guest" aka 16/32-bit emulation which arrived in Westmere. This won't allow FreeBSD to spin up APs (16-bit emulation required) or to run Linux via grub-bhyve (32-bit paging-disabled emulation). You'll be restricted to single CPU FreeBSD guests on this model :( later, Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52BA26A1.10204>