Page 1 of 1

Ubuntu10.04 "freezing" on RHEL 5.6 with VBox 4.0

Posted: 18. Jan 2011, 17:19
by mbc0920
Hello,

So, my VM has been "freezing" on me. I'm not sure exactly when this started since I initially wasn't using the VM much. However, it has now happened on both VBox 3.2.12 and also on 4.0. Basically, it will be running fine and then I'll come back in a few minutes, and it will be frozen. It won't accept any mouse or keyboard input, and it seems to completely freeze up (looking at the Ubuntu logs you can see that no activity occurs after the freeze). Looking through the Ubuntu log's accessible in the Log Viewer, I don't see any errors being logged. I don't know much about the VB Logs (attached), but nothing is glaring at me as an error. The VBox GUI seems fine though, and can function... just the VM freezes. I tried to creating a new machine in 4.0 and reinstalling ubuntu10.04 and have the same problem. I haven't seen any correlation between my activity and when it freezes. It has frozen while copying files. It has frozen right after booting at the login screen. It has frozen after the virtual display goes to sleep. Has anyone else experienced this? I didn't see any other posts with the same situation. It seems that when people have had freezes though they start turning on and off VBox options.... is that the next step? Or is there a known solution to this problem?

Thanks!

Mark

Re: Ubuntu10.04 "freezing" on RHEL 5.6 with VBox 4.0

Posted: 18. Jan 2011, 18:03
by wotan
What version of kernel is being used on the guest?

Re: Ubuntu10.04 "freezing" on RHEL 5.6 with VBox 4.0

Posted: 19. Jan 2011, 13:13
by Technologov
Your vbox log looks fine.

1. Try to disable "nested paging": VM->Settings->System->Acceleration

2. Disable USB

Re: Ubuntu10.04 "freezing" on RHEL 5.6 with VBox 4.0

Posted: 19. Jan 2011, 16:49
by rondeth
I myself have just went through VBox machines with Ubuntu hanging.

My host OS is Windows 7x64. The host has an Intel Xeon W3570 @ 3.20GHz, 12GB RAM and a Nvidia Quadro FX 580 graphics card.

My (fairly constant) guest settings included 4 CPUs, 4GB RAM on a 30GB constant-sized drive. Guest additions were installed. I also tried disabling/enabling various VTx features (etc) but the hangs kept occurring.

My VM would hang at seemingly random times (like yourself) without much being noticed as a 'smoking gun' in the various system/VBox logs. I could, however, get it to hang consistently when working within Springsource STS, Springsource's branded version of Eclipse. When restarting the internally-managed TC Server instance, the box would hang 3 times out of 4. I prefer to use Linux for development but work mandates Windows on the workstations. Obviously, it was an untenable situation.

I don't recall where or how I stumbled across a note of this (perhaps this board!), but my Ubuntu 10.10 stopped hanging right after I changed the kernel's clocksource to "jiffies".

In my grub (grub2) defaults conf file, I now have this: GRUB_CMDLINE_LINUX_DEFAULT="nolapci_timer clocksource=jiffies elevator=noop"

I can now develop the entire 8+ hour day in my Linux VM with no hangs. YMMV, obviously.

Re: Ubuntu10.04 "freezing" on RHEL 5.6 with VBox 4.0

Posted: 21. Jan 2011, 01:20
by mbc0920
Well... i have tried all of these things so far with no luck. I turned off USB, I turned off nested paging. I tried putting the additional line in the grub config (in ubuntu10.04 i put this in /etc/grub.d/40_custom).

Ohh, and to the person who asked, the kernel of the guest is 2.6.32-27-generic and the kernel of the host is 2.6.18-238.el5.

Any more ideas??

m