From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 1 17:58:36 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E4401065700 for ; Sat, 1 Oct 2011 17:58:36 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id D492D8FC14 for ; Sat, 1 Oct 2011 17:58:35 +0000 (UTC) Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by hub.org (Postfix) with ESMTP id 3EBC91D33003; Sat, 1 Oct 2011 14:58:34 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 08046-05; Sat, 1 Oct 2011 17:58:33 +0000 (UTC) Received: from [192.168.1.4] (24-246-4-43.cable.teksavvy.com [24.246.4.43]) by hub.org (Postfix) with ESMTPA id 4BE5F1D33002; Sat, 1 Oct 2011 14:58:33 -0300 (ADT) Mime-Version: 1.0 (Apple Message framework v1244.3) From: Hub- FreeBSD In-Reply-To: Date: Sat, 1 Oct 2011 13:58:32 -0400 Message-Id: <7F4C681F-098D-4C2F-81F7-6A20BDA9B282@hub.org> References: <87FBE966-B70F-48F2-9771-796DA8D3032D@hub.org> <156697DC-0D33-46A8-A719-096EED0EE699@hub.org> To: Sean C. Farley X-Mailer: Apple Mail (2.1244.3) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@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?= X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2011 17:58:36 -0000 On 2011-09-30, at 8:54 PM, Sean C. Farley wrote: > On Fri, 30 Sep 2011, Hub- FreeBSD wrote: >=20 >> 'k, I'm doing everything from the command line, and when I did the = createvm, and according to the docs = (https://www.virtualbox.org/manual/ch08.html#idp12400368), there eis no = option to set 64 vs 32bit =85 even the modifyvm section only seems to = have the --ostype option, and in this case, I had set it to FreeBSD_64, = based on what is displayed when you do a 'list ostypes', as what should = be for a 64bit environment =85 >>=20 >> So, either something is broken, or I'm missing an argument / setting = here :( >=20 > The only difference between a 32-bit and 64-bit VM according to the = XML files generated is whether I/O APIC is enabled. You could create a = VM then use modifyvm to enable the I/O APIC: > VBoxManage modifyvm --ioapic on 'k, that didn't help any =85 still get told no long mode, use a 32bit = distro =85 showvminfo shows: Name: vbox.hub.org Guest OS: Linux 2.6 (64 bit) UUID: cd5424cc-4fd3-40b3-8745-c2c4f5583639 Config file: /vm/1/vbox.hub.org/vbox.hub.org.vbox Snapshot folder: /vm/1/vbox.hub.org/Snapshots Log folder: /vm/1/vbox.hub.org/Logs Hardware UUID: cd5424cc-4fd3-40b3-8745-c2c4f5583639 Memory size: 512MB Page Fusion: off VRAM size: 8MB HPET: off Chipset: piix3 Firmware: BIOS Number of CPUs: 1 Synthetic Cpu: off CPUID overrides: None Boot menu mode: message and menu Boot Device (1): Floppy Boot Device (2): DVD Boot Device (3): HardDisk Boot Device (4): Not Assigned ACPI: on IOAPIC: on PAE: on Time offset: 0 ms RTC: local time Hardw. virt.ext: on Hardw. virt.ext exclusive: on Nested Paging: on Large Pages: on VT-x VPID: on State: powered off (since 2011-10-01T17:44:25.000000000) Tried also --chipset ich9 --hwvirtex of Reading through the section on Hardware vs Software Virtualization, = apparently VT-X has to be enabled for 64bit guests =85 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 =3D "GenuineIntel" Id =3D 0x1067a Family =3D 6 Model =3D 17 = Stepping =3D 10 = Features=3D0xbfebfbff = Features2=3D0x40ce3bd AMD Features=3D0x20100800 AMD Features2=3D0x1 TSC: P-state invariant Cores per package: 4 I don't see VTX in there =85 *should* I? Is this a case of, = unbeknownst to me, it isn't enabled in the BIOS? 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 =85 can someone that does = have 64bit guests working check their CPU Features and let me know if I = am missing that Feature here? :( Thx =85