Opened 16 years ago
Closed 16 years ago
#2381 closed defect (fixed)
virtualbox 2.0.2 is unable to "reboot -f" an opensolaris snv_100 guest
Reported by: | jkeil | Owned by: | |
---|---|---|---|
Component: | VMM/HWACCM | Version: | VirtualBox 2.0.2 |
Keywords: | Cc: | ||
Guest type: | Solaris | Host type: | Solaris |
Description
There's a new "fast reboot" feature in opensolaris build 100: http://www.opensolaris.org/os/community/on/flag-days/pages/2008092201/
Problem: virtualbox 2.0.2 is unable to "reboot -f" an opensolaris snv_100 guest (64-bit and 32-bit). The guest shuts down, but virtualbox 2.0.2 guest hangs while trying to start / reboot into the new kernel.
HW: AMD64 X2 cpu, AMD-V enabled in virtualbox. Host OS: SXCE build 96, bfu'ed to current opensolaris bits (2008-10-2)
The guest hangs in fb_swtch_src.s when the kernel switch page tables are installed.
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/i86pc/ml/fb_swtch_src.s#209
usr/src/uts/i86pc/ml/fb_swtch_src.s: 209 /* 210 * Load top pagetable base address into cr3 211 */ 212 movl FI_PAGETABLE_PA(%esp), %eax 213 movl %eax, %cr3 214 215 movl %cr0, %eax 216 orl $_CONST(CR0_PG | CR0_WP | CR0_AM), %eax 217 andl $_BITNOT(CR0_NW | CR0_CD), %eax 218 movl %eax, %cr0
Workaround: Boot Solaris guest with "-B disablePAE=true", and strip the PAE feature mask (0x200) from the kernel variable x86_feature.
Fixed in 2.0.6.