Page 6 of 7

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 20. Nov 2013, 14:26
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.

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 20. Nov 2013, 14:28
by birdie
It happens in 4.3.2 for a guest OS having just one virtual CPU.

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 21. Nov 2013, 15:53
by birdie
4.3.3 build 90796 also crashes my host. :(

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 21. Nov 2013, 16:51
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.

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 21. Nov 2013, 17:04
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

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 23. Nov 2013, 01:21
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

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 26. Nov 2013, 14:32
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

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 26. Nov 2013, 14:58
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?

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 27. Nov 2013, 11:04
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

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 27. Nov 2013, 11:12
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?

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 27. Nov 2013, 14:06
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

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 27. Nov 2013, 16:07
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?

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 27. Nov 2013, 17:42
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.

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 27. Nov 2013, 22:25
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.

Re: Virtualbox-4.3.0 - multiple hard crashes

Posted: 28. Nov 2013, 00:47
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.