Ubuntu 10.10 guest freezes randomly

Discussions about using Linux guests in VirtualBox.
rstml
Posts: 1
Joined: 29. May 2011, 23:06
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Fedora

Re: Ubuntu 10.10 guest freezes randomly

Post by rstml »

This worked for me:
add "nohz=off" to the end of your "kernel" line in "/boot/grub/menu.lst" Like this:

Code: Select all

kernel /vmlinuz-2.6.20-16-generic root=UUID=db6c0561-048a-4f13-af4a-4aeec22cc819 ro quiet splash nohz=off
http://ubuntuforums.org/showthread.php?t=690330
SilvrDrgn
Posts: 5
Joined: 25. May 2011, 15:45
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu, Windows XP

Re: Ubuntu 10.10 guest freezes randomly

Post by SilvrDrgn »

So, to refresh, here's my current guest:
Guest and settings - Ubuntu 10.10 Server 64-bit, 1 CPU, AMD-V on, Nested Paging off, ACPI off, 512 MB RAM, 32 MB video, 64 GB HD

My previous update was that it ran for about a day. Well, I decided to try again with the same settings, but after I completely closed down and restarted the VirtualBox main program (which controls all of the VMs) as well. After doing that, my Ubuntu guest has been running without crash ever since May 29. So, the simple restart of the VirtualBox software appears to have helped. If it does crash again, I will try the "nohz=off" kernel boot option.
SilvrDrgn
Posts: 5
Joined: 25. May 2011, 15:45
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu, Windows XP

Re: Ubuntu 10.10 guest freezes randomly

Post by SilvrDrgn »

Still going. Have not had to use the "nohz=off" option yet.
adamf663b
Posts: 13
Joined: 6. Oct 2015, 18:38

Re: Ubuntu 10.10 guest freezes randomly

Post by adamf663b »

I see the occasional ticket for this issue and it is most certainly NOT fixed.

Host: hp xw8600 running windows 7, service pack 1 plus corporate fixes
Guest where behavior is exhibited: ubuntu 12.04, ubuntu 14.04

If IO-APIC is enabled with more than one cpu, the system becomes unstable.
It typically takes 3 boot attempts before the login dialog is displayed.
Another 2-3 attempts before keyboard is permitted to enter login credentials. (otherwise, mouse can move cursor, but no keystrokes are accepted)
Another 2-3 attempts before desktop is properly drawn. Often it lacks the menu bar, or lacks desktop icons (just the background).

At this point the system is useable other than frequent "system error has occurred" messages.

Ubuntu 14 is worse than ubuntu 12.
In any case, virtualbox is not usable with more than 1 cpu.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 10.10 guest freezes randomly

Post by loukingjr »

adamf663b wrote:In any case, virtualbox is not usable with more than 1 cpu.
I beg to differ. I have it installed on six different computers consisting of three different hosts - Linux, OSX and Windows.

Attach the VBox.log (zipped) to a post.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
adamf663b
Posts: 13
Joined: 6. Oct 2015, 18:38

Re: Ubuntu 10.10 guest freezes randomly

Post by adamf663b »

I made too general a statement. How about this: "on my desktop, an hp xw8600 running windows 7", virtualbox is usable with multiple cpus.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 10.10 guest freezes randomly

Post by loukingjr »

still need the VBox.log.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
adamf663b
Posts: 13
Joined: 6. Oct 2015, 18:38

Re: Ubuntu 10.10 guest freezes randomly

Post by adamf663b »

Bootup hang on first attempt with 4 cpus. Log attached.
Attachments
ubuntu14-2015-10-06-13-23-21.log
(68.05 KiB) Downloaded 17 times
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 10.10 guest freezes randomly

Post by loukingjr »

Since your CPU only has 4 cores and no hyperthreading that's not surprising.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
adamf663b
Posts: 13
Joined: 6. Oct 2015, 18:38

Re: Ubuntu 10.10 guest freezes randomly

Post by adamf663b »

It has 4 cores and hyperthreading. It shows as 8 cpus in windows and I can connect all 8 to virtualbox.
I get lockups with any multiple number of cpus. The number 4 is irrelevant. It'll lockup on 2 or 8.

You're wasting my time. I don't think I've seen in any documentation or release notes an indication that one should or shouldn't use exactly 4 cpus if one has a 4core system without hyperthreading.

The issue is the lockup.
Last edited by adamf663b on 6. Oct 2015, 21:32, edited 1 time in total.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 10.10 guest freezes randomly

Post by loukingjr »

00:00:01.987079 Host RAM: 16383MB total, 8397MB available
00:00:02.314441 RamSize <integer> = 0x0000000200000000 (8 589 934 592, 8 GB)
You are over-committing memory. The guest should be using no more than 4GB.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 10.10 guest freezes randomly

Post by loukingjr »

OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
adamf663b
Posts: 13
Joined: 6. Oct 2015, 18:38

Re: Ubuntu 10.10 guest freezes randomly

Post by adamf663b »

Interesting. I would not have thought 4G from a 16G system would be considered "overcommitting."

It seems happier w/ 2G.
thanks;.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 10.10 guest freezes randomly

Post by loukingjr »

NP. sorry I wasted your time.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 10.10 guest freezes randomly

Post by loukingjr »

btw, I did make one error. Your PC has two 4 core non-hyperthreading CPUs. As far as over-commiting memory, you had it set to 8GB not 4GB.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply