Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Oct 2011 12:06:39 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Hub- FreeBSD <freebsd@hub.org>
Cc:        freebsd-emulation@FreeBSD.org, "Sean C. Farley" <scf@FreeBSD.org>
Subject:   =?windows-1252?q?Re=3A_VirtualBox=3A_64bit_FreeBSD_guest_on_64bi?= =?windows-1252?q?t_FreeBSD_host_=85_=22Long_Mode=22=3F?=
Message-ID:  <4E8764BF.8090206@FreeBSD.org>
In-Reply-To: <7F4C681F-098D-4C2F-81F7-6A20BDA9B282@hub.org>
References:  <FF4A7997-77DA-4B74-926B-18A8462C768C@hub.org> <87FBE966-B70F-48F2-9771-796DA8D3032D@hub.org> <CA%2BtpaK3BzYAQZxJCi3vAc1NidQ7AkANyHHeo-rt5bxsBQo5%2Btw@mail.gmail.com> <156697DC-0D33-46A8-A719-096EED0EE699@hub.org> <alpine.BSF.2.00.1109301749070.32221@wonkity.com> <BF8A9711-EC9C-4C41-B500-9FACD59041D7@hub.org> <alpine.BSF.2.02.1109302049070.5298@thor.farley.org> <7F4C681F-098D-4C2F-81F7-6A20BDA9B282@hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
FWIW I have 64-bit guests working fine on my still-9-current (r225756)
amd64 host with the latest ports vbox. I'm running it with the gui in X,
not sure if that makes a difference.

On 10/01/2011 10:58, Hub- FreeBSD wrote:

> PAE:             on

I have PAE off for all hosts, but I just tried turning it on for my
FreeBSD 64 bit guest and it didn't make a difference.

> Reading through the section on Hardware vs Software Virtualization,
> apparently VT-X has to be enabled for 64bit guests

Yes, it will not work otherwise.

> … now, on the
> server I'm using, looking at dmesg for ny CPU Features:
> 
> CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (2500.10-MHz
> K8-class CPU) Origin = "GenuineIntel"  Id = 0x1067a  Family = 6
> Model = 17  Stepping = 10 
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>
> Features2=0x40ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE>
> AMD Features=0x20100800<SYSCALL,NX,LM> AMD Features2=0x1<LAHF> TSC:
> P-state invariant Cores per package: 4
> 
> 
> I don't see VTX in there … *should* I? 

I don't think so, my equivalent lines are identical to yours except that
I have and SMX in Features2 which seems to be a "safe mode" extension.

> Is this a case of, unbeknownst to me, it isn't enabled in the BIOS? 

This is (unfortunately) likely. The relevant stuff wasn't enabled in
mine by default. Also, the name for the option may not be
straightforward. On my Dell the option is called VMM, Virtual Machine
Monitor. I had to do a bit of trial and error before I found the right
knob.

> This is a remote
> server, so a quick reboot / check isn't the easiest to do, so would
> alike to confirm before I go down that route … can someone that does
> have 64bit guests working check their CPU Features and let me know if
> I am missing that Feature here? :(


hth,

Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E8764BF.8090206>