Virtualbox-4.3.0 - multiple hard crashes

Discussions related to using VirtualBox on Linux hosts.
birdie
Posts: 428
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by birdie »

Crashes here too all the time.

Acceleration is enabled only for 2D video.

CPU: Intel Core i5 2500
RAM: 16GB
32bit host, PAE, kernel 3.12.0, PREEMPT enabled.

Code: Select all

$ grep PREEM .config
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
# CONFIG_DEBUG_PREEMPT is not set
I cannot show you a kernel panic log, since I don't have a serial console, and GUI just freezes.

Sometimes crash takes a few seconds to complete - it first begins with a guest OS gradually freezing, then host also freezes.
birdie
Posts: 428
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by birdie »

It happens in 4.3.2 for a guest OS having just one virtual CPU.
birdie
Posts: 428
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by birdie »

4.3.3 build 90796 also crashes my host. :(
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by Ramshankar »

Code: Select all

#CONFIG_TREE_PREEMPT_RCU is not set
#CONFIG_PREEMPT_RCU is not set
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
# CONFIG_DEBUG_PREEMPT is not set
Does the above configuration work? Namely setting only the RCU preempt stuff to NO while keeping CONFIG_PREEMPT.
Oracle Corp.
MarkKnecht
Posts: 54
Joined: 14. Feb 2010, 22:34
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: Win 7, Win XP, Gentoo 32-bit

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by MarkKnecht »

Ramshankar wrote:

Code: Select all

#CONFIG_TREE_PREEMPT_RCU is not set
#CONFIG_PREEMPT_RCU is not set
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
# CONFIG_DEBUG_PREEMPT is not set
Does the above configuration work? Namely setting only the RCU preempt stuff to NO while keeping CONFIG_PREEMPT.
3.10.20 is out this morning on Gentoo. I'll give that setup a try.

- Mark
MarkKnecht
Posts: 54
Joined: 14. Feb 2010, 22:34
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: Win 7, Win XP, Gentoo 32-bit

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by MarkKnecht »

Ramshankar wrote:

Code: Select all

#CONFIG_TREE_PREEMPT_RCU is not set
#CONFIG_PREEMPT_RCU is not set
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
# CONFIG_DEBUG_PREEMPT is not set
Does the above configuration work? Namely setting only the RCU preempt stuff to NO while keeping CONFIG_PREEMPT.
I'm sorry Ramshankar but I've not been able to figure out exactly how to set the kernel config in make menuconfig to get the configuration you are looking for. If you would give me the specific settings you want me to try then I'll be happy to do so.

I probably could hand edit the settings from above but I'd rather not do that if possible as I suspect that's not how you got there.

Cheers,
Mark
MD25
Posts: 3
Joined: 26. Nov 2013, 14:23

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by MD25 »

I have similar crash problems: VB 4.3.0 on host opensuse 12.3, then VB 4.3.2 on host opensuse 13.1, with NVIDIA driver 331.20, with a Win7 pro VM with 2 virtual CPUs and VT/x enabled. (2D acceleration but no 3D driver installed)
Everything seems to work well until I leave the room for more than 10 minutes. When I come back everything is blocked and I have no other possibility than rebooting the host!
When going back to 4.2.18 no problem any more
skoehler
Posts: 117
Joined: 1. Dec 2008, 12:12

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by skoehler »

MD25 wrote:I have similar crash problems: VB 4.3.0 on host opensuse 12.3, then VB 4.3.2 on host opensuse 13.1, with NVIDIA driver 331.20, with a Win7 pro VM with 2 virtual CPUs and VT/x enabled. (2D acceleration but no 3D driver installed)
Everything seems to work well until I leave the room for more than 10 minutes. When I come back everything is blocked and I have no other possibility than rebooting the host!
When going back to 4.2.18 no problem any more
And the PREEMPT related kernel config is what?
MD25
Posts: 3
Joined: 26. Nov 2013, 14:23

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by MD25 »

skoehler wrote:And the PREEMPT related kernel config is what?
zcat /proc/config.gz | grep PREEMPT
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_PREEMPT_TRACER is not set
skoehler
Posts: 117
Joined: 1. Dec 2008, 12:12

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by skoehler »

MD25 wrote:
skoehler wrote:And the PREEMPT related kernel config is what?
zcat /proc/config.gz | grep PREEMPT
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_PREEMPT_TRACER is not set
And that is OpenSUSE's default kernel? Or did you configure/compile it yourself?
mnaaf
Posts: 1
Joined: 27. Nov 2013, 14:01

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by mnaaf »

I have exactly the same problem as MD25 above. virtualbox 4.3.2 crashes multiple times freezing the host completely (had to reset!).
Host: openSUSE 12.2 with suse standard kernel
PREEMPT settings: sames as MD25 above
virtual clients: Win7, Win 8.1 (no 3D graphics)

Since reinstalling virtualbox 4.2.18 system runs fine again
skoehler
Posts: 117
Joined: 1. Dec 2008, 12:12

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by skoehler »

So basically this means that having a fully preempt kernel is not a borderline case. Did any of the VBox devs manage to reproduce the issue?
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by Ramshankar »

skoehler wrote:So basically this means that having a fully preempt kernel is not a borderline case. Did any of the VBox devs manage to reproduce the issue?
We have several boxes, in fact the one I'm running is a fully preemptible kernel and I've not had such a lockup.

Here are my preempt settings.
3.2.0-56-lowlatency kernel

Code: Select all

CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_PREEMPT_TRACER is not set
So I think there is something else to this then merely just the preempt settings.
Oracle Corp.
daveparrish
Posts: 3
Joined: 24. Mar 2011, 18:52
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: CentOS, Ubuntu, Debian, Windows

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by daveparrish »

I'm using Arch (linux kernel 3.12.1) and I'm seeing the same freezing with Virtualbox 4.3.2. I tried to recompile the kernel with the setting recommend, but I couldn't set CONFIG_TREE_PREEMPT_RCU or CONFIG_PREEMPT_RCU to 'n'. Maybe it is my inexperience with Arch. I'm not sure. I downgraded to Virtualbox 4.2.18 for the time being and I'll report back if I see the crashes on 4.2.18.
skoehler
Posts: 117
Joined: 1. Dec 2008, 12:12

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by skoehler »

daveparrish wrote:I'm using Arch (linux kernel 3.12.1) and I'm seeing the same freezing with Virtualbox 4.3.2. I tried to recompile the kernel with the setting recommend, but I couldn't set CONFIG_TREE_PREEMPT_RCU or CONFIG_PREEMPT_RCU to 'n'. Maybe it is my inexperience with Arch. I'm not sure. I downgraded to Virtualbox 4.2.18 for the time being and I'll report back if I see the crashes on 4.2.18.
A few posts above, I have explained exactly which setting to change. All these variables depend on a single setting in the kernel's menuconfig.
Locked