You are not logged in.

#1 2010-01-13 16:16:35

DavidR
Member
Registered: 2009-09-17
Posts: 34

[Solved by moving to Ubuntu] VirtualBox freezes the entire system

Hello everyone,

I have some major issues with VirtualBox, I have recently installed it for the first time, but it just randomly freezes my entire system. There shouldn't be any load on the processor for this to happen. I don't really know what the cause is. I tried both Windows XP and Windows 7 as guest systems with the same sad outcome. The host and guest freeze and I have to do a hard restart. There always is some noise that comes from the sound card and, in the case of VMWare, from the case speaker.

I tried disabling AMD-V - using a Phenom II x4 955 - but it didn't work. I also tried adding nohz=off to the grub line but it also didn't work. I have recompiled the kernel modules after the last kernel update - 2.6.32. I can't really say whether it's only related to the last kernel update or not as I only started using it after the update.

It seems that I have similar issues with VMWare player.

Here's my system information:
Arch64
Kernel 2.6.32
Phenom II x4 955
4 GB of ram
Virtualbox 3.1.2-2 from the AUR

This only issue occurs with VirtualBox and VMWare, I did test the memory and it's okay. I also have plenty of fans - 2x120mm + 2x80mm - and my system temperature (using k10temp) never goes above 48 c under load. So, it isn't an issue with overheating.

Does anyone have any similar issues? Do you have any suggestions for this?

Thanks!

Last edited by DavidR (2010-01-21 23:54:22)

Offline

#2 2010-01-13 16:44:39

PaulStogov
Member
From: Saint-Petersburg, Russia
Registered: 2009-12-26
Posts: 26

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Same thing. But I do believe that this thing started just after 2.6.31->2.6.32 update. Yet not tried to resolve this.

Try this: http://bbs.archlinux.org/viewtopic.php?id=88643

Last edited by PaulStogov (2010-01-13 16:50:01)


Asus N61J/ATi Radeon HD5730
Toshiba A200/ATi Radeon HD2600

Offline

#3 2010-01-13 19:52:46

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Please check if the vbox modules are loaded.

lsmod | grep vbox

should give you vboxnetflt, vboxnetadp and vboxdrv. if one is missing the freezing can happen.

Offline

#4 2010-01-13 20:45:06

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

vboxnetflt             11471  0
vboxdrv              1724052  2 vboxnetadp,vboxnetflt

Offline

#5 2010-01-13 20:45:57

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

modprobed vboxnetadp, will test. I really think that it must be something with the kernel.

Offline

#6 2010-01-13 21:09:04

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

The issue is still there, my system reliably freezes a few minutes after virtualbox is started.

Offline

#7 2010-01-13 21:12:47

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

PaulStogov wrote:

Same thing. But I do believe that this thing started just after 2.6.31->2.6.32 update. Yet not tried to resolve this.

Try this: http://bbs.archlinux.org/viewtopic.php?id=88643

I rebuilt the module after the upgrade and even rebuilt it one more time, I still have the same freezing issue.

Offline

#8 2010-01-13 21:14:43

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

I just confirmed it on my box. The kernel log is not exactly enlightening...

Jan 13 21:56:13 deskarch kernel: warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)

That was the last entry before reboot. Nowt more in everything.log either. Oh, and I'm running an up-to-date 64 bit system:

Linux deskarch 2.6.32-ARCH #1 SMP PREEMPT Thu Jan 7 22:28:29 CET 2010 x86_64 Intel(R) Core(TM)2 CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux

never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#9 2010-01-13 21:19:33

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)

I also have the same warning. According to this forum post http://forums.virtualbox.org/viewtopic.php?f=7&t=15828 it can be ignored.

I have the second line in my log as well, it just doesn't have the intel part which is understandable. smile

Offline

#10 2010-01-14 02:17:51

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Should I ask to have this thread moved to the 'Pacman & Package Upgrade Issues'? Will anyone be able to help there? I am seriously starting to consider downgrading the kernel once again and seeing whether it will work.

Does anyone have a machine with another 64-bit distro with this kernel version? If so, can the problem be replicated there? I don't know whether this is really related to Arch or the kernel. Should I file a bug report somewhere? and if so, where can I do it?

http://www.archlinux.org/news/477/

May it be related to the xen support that has been added to Arch64?

Last edited by DavidR (2010-01-14 08:18:30)

Offline

#11 2010-01-14 07:32:54

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Andrwe wrote:

Please check if the vbox modules are loaded.

lsmod | grep vbox

should give you vboxnetflt, vboxnetadp and vboxdrv. if one is missing the freezing can happen.

toad@deskarch 1000\1 ~ > lsmod | grep vbox
vboxnetflt             11471  0
vboxdrv              1724052  1 vboxnetflt

It's always been this afaik and I never had a problem before.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#12 2010-01-14 10:04:36

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Okay, since this seems to be an issue that others have as well, it seems that this topic doesn't belong in the newbie section anymore. I would like to have it moved to the 'Pacman & Package Upgrade Issues'.

Offline

#13 2010-01-14 20:09:41

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Offline

#14 2010-01-14 21:31:40

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Okay, I submitted the bug report as well after having rebuilt the module, did an lsmod to insert it and the system still crashed.

However, after a reboot everything is fine!

As a result I'd be interested if anybody knows how to avoid restarting the system...


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#15 2010-01-14 22:36:48

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Okay, removed and rebuilt vboxdrv. Will restart now to see how it goes.

Offline

#16 2010-01-14 23:34:40

aeroemike
Member
Registered: 2009-10-09
Posts: 21

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

I can confirm that "/etc/rc.d/rc.vboxdrv setup" fixed the freezing on my machine using kernel 2.6.32.  I didn't need to disable VT-x.

Offline

#17 2010-01-15 01:42:40

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

The stability of my system seems to have significantly improved. Windows 7 still froze my system, but Windows 7 isn't that well-supported anyway. I will continue testing my XP virtual machine before confirming that this indeed was a problem with vboxdrv.

The funny thing is that the modules were recompiled before being modprobed. I am somewhat skeptical, but the following couple of hours should allow me to confirm that this fixed it.

Offline

#18 2010-01-15 04:22:20

NeedCoffee2
Member
From: California
Registered: 2009-05-04
Posts: 9

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

I have 64 bit system that started freezing when I ran virtualbox one day last week. My problem fixed itself the next day when did a pacman -Syu AND I installed the kernel26-headers (I think it's new) in addition to kernel-headers.

I ran "vbox_build_module" as root to rebuild the module for the new kernel version.

No problems since then.  Hope this helps.

Offline

#19 2010-01-15 08:57:37

MattSmith
Member
From: Wellington, New Zealand
Registered: 2009-02-08
Posts: 108

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

I to can confirm that Vbox freezes the system some how with 2.6.32 for some reason. I'm not 100% sure that I rebuilt the module after the upgrade, but since I used it 2 days ago I'm assuming I did. I have a feeling it has to do with (like someone said) the new kernel headers. All I had to do was re-rebuild the module, and restart my computer. I tried unloading and reloading the module but it still froze. Something about the restart made it work.

I'm on Arch 64, Intel C2D, running windoze 7 in VM

... thanks to the form I will be able to turn my assignment in on time *hopefully*


A thing of beauty is a joy forever
                         
                               -John Keats

Offline

#20 2010-01-15 09:02:46

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

Yep, the kernel headers have proved a stumbling block for many a person: they are now called kernel26-headers as needcoffee2 said smile


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#21 2010-01-16 00:01:14

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

My computer froze again today with the same thing, after one day of having the virtual machine open. This happened while opening a couple of images for editing in the GIMP. However, it's far more stable than before and that's why I am marking the thread as solved.

Thanks everyone for your help! especially toad. smile

Offline

#22 2010-01-16 01:08:09

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

??? The blind leading the blind???

EDIT:

Apparently I forgot to do an rmmod - thanks wonder

Last edited by toad (2010-01-16 01:15:18)


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#23 2010-01-17 16:33:40

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

toad wrote:

??? The blind leading the blind???

EDIT:

Apparently I forgot to do an rmmod - thanks wonder

Apparently, yes, the error is still there for me. Now it freezes just like before. Recompiling the modules one more time. sad

Last edited by DavidR (2010-01-17 16:34:00)

Offline

#24 2010-01-17 20:57:32

DavidR
Member
Registered: 2009-09-17
Posts: 34

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

I edited the settings of the 64-bit Windows 7 virtual machine to make it use the 4 available cores, and this seems to have alleviated the issue. I have also started using the radeonhd driver - the reason I started considering that it may be the open source ati driver was that Zinio started freezing my system as well. I will continue testing and will then write my results.

Last edited by DavidR (2010-01-17 20:58:40)

Offline

#25 2010-01-17 21:06:20

MattSmith
Member
From: Wellington, New Zealand
Registered: 2009-02-08
Posts: 108

Re: [Solved by moving to Ubuntu] VirtualBox freezes the entire system

If you are using the full driver, you may want to install guest additions as well, It has a lot of features, and better hardware access is one.


A thing of beauty is a joy forever
                         
                               -John Keats

Offline

Board footer

Powered by FluxBB