VirtualBox/fbsd9/amd64 + Ubuntu11.04 guest = crash on install

m irya xmirya at gmail.com
Wed Aug 3 06:51:55 UTC 2011


Hello,

I'm trying to install the Ubuntu 11.04 amd64 guest into the Virtualbox
built from ports on amd64 machine. The virtualbox itself (not the
guest OS) crashes at a random points of time during installation on
SIGILL, e.g. the only message in the console is

Illegal instruction: 4

uname -a is

FreeBSD localhost 9.0-BETA1 FreeBSD 9.0-BETA1 #9: Mon Aug  1 19:34:33
EEST 2011     root at miryanote2:/sys/amd64/compile/MY-LITE  amd64

The CPU is i5, the whole CPUID is at the bottom of the message, and
i've tried to build the port with
- -O2
- -O2 -march=native
- -O2 -march=core2

with no luck (all with the stock system gcc 4.2.2pre). Enabling
debugging in port options doesn't help either - no extra info is
output. Neither helps --norawr0 --norawr1 --nohwvirtex --nopatm
--nocsam, it still crashes. In contrast, Ubuntu amd64 10.04.03
installs and runs w/o problems, but after the recent Ubuntu updates
are applied (perhaps including the more recent linux kernel version),
Vbox crashes the same way when booting it.

So,
1) anyone familiar with the problem, are there any workarounds?
2) how could i at least get the virtualbox processes coredumps to
somehow analyze the problem (whatever i do, i can't find any after it
dies)?

my CPUID:
Vendor ID: "GenuineIntel"; CPUID level 13

Intel-specific functions:
Version 000206a7:
Type 0 - Original OEM
Family 6 - Pentium Pro
Model 42 -
Stepping 7
Reserved 0

Extended brand string: "       Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz"
CLFLUSH instruction cache line size: 8
Initial APIC ID: 2
Hyper threading siblings: 16

Feature flags: bfebfbff:
FPU    Floating Point Unit
VME    Virtual 8086 Mode Enhancements
DE     Debugging Extensions
PSE    Page Size Extensions
TSC    Time Stamp Counter
MSR    Model Specific Registers
PAE    Physical Address Extension
MCE    Machine Check Exception
CX8    COMPXCHG8B Instruction
APIC   On-chip Advanced Programmable Interrupt Controller present and enabled
SEP    Fast System Call
MTRR   Memory Type Range Registers
PGE    PTE Global Flag
MCA    Machine Check Architecture
CMOV   Conditional Move and Compare Instructions
FGPAT  Page Attribute Table
PSE-36 36-bit Page Size Extension
CLFSH  CFLUSH instruction
DS     Debug store
ACPI   Thermal Monitor and Clock Ctrl
MMX    MMX instruction set
FXSR   Fast FP/MMX Streaming SIMD Extensions save/restore
SSE    Streaming SIMD Extensions instruction set
SSE2   SSE2 extensions
SS     Self Snoop
HT     Hyper Threading
TM     Thermal monitor
31     Pending Break Enable

Feature flags set 2: 15bae3bf:
SSE3     SSE3 extensions
PCLMULDQ PCLMULDQ instruction
DTES64   64-bit debug store
MONITOR  MONITOR/MWAIT instructions
DS-CPL   CPL Qualified Debug Store
VMX      Virtual Machine Extensions
EST      Enhanced Intel SpeedStep Technology
TM2      Thermal Monitor 2
SSSE3    Supplemental Streaming SIMD Extension 3
CX16     CMPXCHG16B
xTPR     Send Task Priority messages
PDCM     Perfmon and debug capability
17 - unknown feature
SSE4.1   Streaming SIMD Extension 4.1
SSE4.2   Streaming SIMD Extension 4.2
x2APIC   Extended xAPIC support
POPCNT   POPCNT instruction
24 - unknown feature
XSAVE    XSAVE/XSTOR states
AVX      AVX extensions

Extended feature flags: 28100800:
SYSCALL   SYSCALL/SYSRET instructions
XD-bit    Execution Disable bit
RDTSCP    RDTSCP and IA32_TSC_AUX are available
EM64T     Intel Extended Memory 64 Technology

Extended feature flags set 2: 00000001:
LAHF      LAHF/SAHF available in IA-32e mode

TLB and cache info:
5a: Data TLB: 2MB or 4MB pages, 4-way set associative, 32 entries
03: Data TLB: 4KB pages, 4-way set assoc, 64 entries
76: unknown TLB/cache descriptor
ff: unknown TLB/cache descriptor
b2: Instruction TLB: 4-KB Pages, 4-way set associative, 64 entries
f0: 64-byte prefetching
ca: Shared 2nd-level TLB: 4-KB Pages, 4-way set associative, 512 entries


More information about the freebsd-emulation mailing list