id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	guest	host
2258	Solaris 10u5 guest hangs and consumes 100% CPU	shjorth		Running Virtualbox 2.0.2 on a Sun Ultra 24 running Ubuntu 8.04 (64bit) and I am finding stability to be a real problem when Intel VT-x is enabled which in turn allows me to run Solaris 10u5 x86 in 64-bit mode.\r\n\r\nRunning with VT-x disabled (same guest no running in 32-bit mode) is however stable.\r\n\r\nAfter a period of time (30minutes+ depends on activity on the guest itself) when VT-x is enabled the Solaris 10u5 (64-bit) VirtualBox process will become non-responsive (hang) and CPU usage will shoot up to 100%.\r\n\r\nThe spinning thread is looping in the following call:\r\n{{{\r\n(gdb) where\r\n#0  0x00007f727cbab3c7 in ioctl () from /lib/libc.so.6\r\n#1  0x00007f727c414adf in ?? () from /usr/lib/virtualbox/VBoxRT.so\r\n#2  0x00007f72744409ee in VMMR3HwAccRunGC ()\r\n   from /usr/lib/virtualbox/VBoxVMM.so\r\n#3  0x00007f727446ee6e in EMR3ExecuteVM () from /usr/lib/virtualbox/VBoxVMM.so\r\n#4  0x00007f72744445d8 in ?? () from /usr/lib/virtualbox/VBoxVMM.so\r\n#5  0x00007f727c3eee2c in ?? () from /usr/lib/virtualbox/VBoxRT.so\r\n#6  0x00007f727c410c62 in ?? () from /usr/lib/virtualbox/VBoxRT.so\r\n#7  0x00007f727d3523f7 in start_thread () from /lib/libpthread.so.0\r\n#8  0x00007f727cbb2b2d in clone () from /lib/libc.so.6\r\n#9  0x0000000000000000 in ?? ()\r\n}}}\r\n'''strace output'''\r\n{{{\r\nioctl(33, 0x56c1, 0)                    = 0\r\nioctl(33, 0x56c1, 0)                    = 0\r\nioctl(33, 0x56c1, 0)                    = 0\r\nioctl(33, 0x56c1, 0)                    = 0\r\nioctl(33, 0x56c1, 0)                    = 0\r\nioctl(33, 0x56c1, 0)                    = 0\r\n}}}\r\n'''lsof output'''\r\n{{{\r\nCOMMAND     PID  USER   FD   TYPE             DEVICE       SIZE     NODE NAME\r\nVirtualBo 13331 shane   33u   CHR              10,63               24235 /dev/vboxdrv\r\n}}}\r\nI have tried a number of troubleshooting steps to solve this issue:\r\n * patched the Ultra 24 bios to the latest available.\r\n * Upgraded virtualbox from 2.0.0 -> 2.0.2\r\n * Ran the Solaris 10u5 system with and without VBox tools installed on the guest.\r\n * Installed a fresh copy of Solaris 10u5 (64bit).\r\n\r\nNothing has helped so far.\r\n\r\nThis issue appears to be triggered by load within the guest itself. For example I had to re-attempt the installation of Sun Communication Suite 5 three times before it would complete without the VM hanging half-way through the process. Installing the same product when the same OS is running in 32bit mode completes without a problem.\r\n\r\nI currently have 3 Solaris 10u5 guests running.\r\n{{{\r\n  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND\r\n13413 shane     20   0 1329m 1.1g  16m S    5 18.6  10:07.66 VirtualBox\r\n13331 shane     20   0 1313m 1.1g  15m S   94 18.3  44:35.35 VirtualBox\r\n13362 shane     20   0  775m 540m  15m S    4  9.1   8:24.34 VirtualBox\r\n}}}\r\n13331 => problem Solaris 10u5 64-bit instance with a small amount of application load\r\n13413 => no-problem running Solaris 10u5 64-bit with no application load\r\n13362 => no-problem running Solaris 10u5 32-bit with same level of application load as 13331\r\n\r\n13331 Session Information (Runtime Attributes):\r\n{{{\r\nScreen Resolution 720x400\r\nVT-x/AMD-V        Enabled\r\nNested Paging     Disabled\r\nGuest Additions   Version 1.4\r\n\r\nGuest OS Type     Solaris\r\n\r\nHard Disk Statistics\r\nIDE Primary Master\r\nDMA Transfers      79,145\r\n\r\nPIO Transfers      2,873\r\nData Read          576,124,416 B\r\nData Written       1,436,581,888 B\r\n\r\nCD/DVD-ROM Statistics\r\nDMA Transfers\r\nPIO Transfers      4,094\r\nData Read          7,942,144 B\r\nData Written       0 B\r\n\r\nNetwork Adapter Statistics\r\nAdapter 0\r\nData Transmitted  476,950 B\r\nData Received     66,507,622 B\r\n}}}	defect	closed	critical	VMM/HWACCM	VirtualBox 2.0.6	fixed			Solaris	Linux
