Virtualbox-4.3.0 - multiple hard crashes

Discussions related to using VirtualBox on Linux hosts.

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby birdie » 20. Nov 2013, 14:26

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   Expand viewCollapse view
$ 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: 272
Joined: 2. May 2010, 14:19
Location: Artem S. Tashkinov
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby birdie » 20. Nov 2013, 14:28

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

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby birdie » 21. Nov 2013, 15:53

4.3.3 build 90796 also crashes my host. :(
birdie
 
Posts: 272
Joined: 2. May 2010, 14:19
Location: Artem S. Tashkinov
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby Ramshankar » 21. Nov 2013, 16:51

Code: Select all   Expand viewCollapse view
#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.
Ramshankar
Oracle Corporation
 
Posts: 787
Joined: 7. Jan 2008, 16:17

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby MarkKnecht » 21. Nov 2013, 17:04

Ramshankar wrote:
Code: Select all   Expand viewCollapse view
#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: 51
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

Postby MarkKnecht » 23. Nov 2013, 01:21

Ramshankar wrote:
Code: Select all   Expand viewCollapse view
#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
MarkKnecht
 
Posts: 51
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

Postby MD25 » 26. Nov 2013, 14:32

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
MD25
 
Posts: 3
Joined: 26. Nov 2013, 14:23

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby skoehler » 26. Nov 2013, 14:58

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?
skoehler
 
Posts: 116
Joined: 1. Dec 2008, 12:12

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby MD25 » 27. Nov 2013, 11:04

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
MD25
 
Posts: 3
Joined: 26. Nov 2013, 14:23

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby skoehler » 27. Nov 2013, 11:12

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?
skoehler
 
Posts: 116
Joined: 1. Dec 2008, 12:12

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby mnaaf » 27. Nov 2013, 14:06

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
mnaaf
 
Posts: 1
Joined: 27. Nov 2013, 14:01

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby skoehler » 27. Nov 2013, 16:07

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?
skoehler
 
Posts: 116
Joined: 1. Dec 2008, 12:12

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby Ramshankar » 27. Nov 2013, 17:42

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   Expand viewCollapse view
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.
Ramshankar
Oracle Corporation
 
Posts: 787
Joined: 7. Jan 2008, 16:17

Re: Virtualbox-4.3.0 - multiple hard crashes

Postby daveparrish » 27. Nov 2013, 22:25

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.
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

Postby skoehler » 28. Nov 2013, 00:47

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.
skoehler
 
Posts: 116
Joined: 1. Dec 2008, 12:12

PreviousNext

Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 22 guests