Ubuntu Server 12.04.2 64-bit guest install reboots host

Discussions about using Linux guests in VirtualBox.

Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby rousseauhk » 15. May 2013, 12:25

I have Win7 32-bit installed under bootcamp on my MacBook Pro (i7).

Trying to install Ubuntu 12.04.2 64-bit guest, the guest starts, and lets me select the language, shows the install menu, but then the host system reboots when i start the installation. This is always reproducible at the same point. The last line in the log is:

00:00:03.720147 Guest Log: BIOS: Booting from CD-ROM...
00:00:03.771204 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=06440000 w=640 h=480 bpp=16 cbLine=0x500, flags=0x1

All VM settings are the defaults for a Ubuntu 64-bit install (I just created the new VM and attached the downloaded ISO).
VT-x is enabled, and works fine with other VMs.
Video memory is set to 12MB, 1 Monitor, 2D/3D acceleration both disabled.

Any ideas?

thx
Steve
Last edited by rousseauhk on 15. May 2013, 18:06, edited 1 time in total.
rousseauhk
 
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server

Re: Ubuntu 12.04.2 64-bit guest install reboots host

Postby rousseauhk » 15. May 2013, 12:43

OK I enabled PAE/NX, and now it works (wasnt enabled by default).

[EDIT - spoke too soon - see below]

thx
Steve
Last edited by rousseauhk on 25. Aug 2013, 04:43, edited 1 time in total.
rousseauhk
 
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server

Re: Ubuntu 12.04.2 64-bit guest install reboots host

Postby loukingjr » 15. May 2013, 13:30

The default settings for a Ubuntu guest are not sufficient for 12.0.4 LTS. You should have at least 32MB for video, 2GB for ram etc. Without 3D acceleration it will be slow and if you happen to have a Retina display there will be other issues.
there are three kinds of people in the world, those that can count, and those that can't.
iMac 3.4 GHz Intel Core i7 32GB NVIDIA GeForce GTX 680MX 2048 MB... Mac OSX 10.8.4 & 10.9.2
loukingjr
Volunteer
 
Posts: 1516
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Ubuntu 12.04.2 64-bit guest install reboots host

Postby rousseauhk » 15. May 2013, 18:06

Apologies.. I realised that I forgot to mention this is Ubuntu Server (the console only version). The install file is: ubuntu-12.04.2-server-amd64.iso

In fact setting PAE didnt help things, and it killed my host shortly after. Trying a few different memory combinations didnt yield any improvements. Bumping up video ram to 32mb didnt make any difference.

The 32-bit version of the same release of Ubuntu Server with the default settings (even as low as 512mb ram) works perfectly fine on the same host.

FWIW running the install of the 32-bit release (ubuntu-12.04.2-server-i386.iso) gives the following log from boot:
Code: Select all   Expand viewCollapse view
00:00:04.264916 Guest Log: BIOS: Booting from CD-ROM...
00:00:04.301381 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=06330000 w=640 h=480 bpp=16 cbLine=0x500, flags=0x1
00:00:06.946228 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=00000000 w=720 h=400 bpp=0 cbLine=0x0, flags=0x1
00:00:06.947084 Guest Log: BIOS: KBD: unsupported int 16h function 03
00:00:06.947346 Guest Log: BIOS: AX=0305 BX=0000 CX=0000 DX=0000
00:00:07.012754 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=06330000 w=800 h=600 bpp=16 cbLine=0x640, flags=0x1
00:00:07.113080 PIT: mode=2 count=0x12a5 (4773) - 249.98 Hz (ch=0)
00:00:07.362072 PIT: mode=0 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:07.440384 OHCI: Software reset
00:00:07.512422 AHCI#0: Reset the HBA
00:00:07.519773 AHCI#0: Port 0 reset
00:00:07.523713 OHCI: USB Reset
00:00:07.524069 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:07.524128 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:07.569049 PIIX3 ATA: Ctl#1: RESET, DevSel=0 AIOIf=0 CmdIf0=0xa0 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:07.569106 PIIX3 ATA: Ctl#1: finished processing RESET
00:00:07.616483 OHCI: Software reset
00:00:07.616552 OHCI: USB Operational
etc...


Not sure if this points to something wierd in the display driver when running the 64-bit guest on 32-bit host, given that it happens around these two lines:

00:00:04.301381 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=06330000 w=640 h=480 bpp=16 cbLine=0x500, flags=0x1
00:00:06.946228 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=00000000 w=720 h=400 bpp=0 cbLine=0x0, flags=0x1

thx
Steve
rousseauhk
 
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server

Re: Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby noteirak » 15. May 2013, 20:12

Please read Minimum information needed for assistance and also provide the guest config output.
HyperBox - Open-source Entreprise Virtualization Manager - http://hyperbox.altherian.org
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 3372
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby rousseauhk » 16. May 2013, 02:19

VirtualBox Version: 4.2.10
Extension Packs: No.
Guest Additions: No.

HW: MacBook Pro 2012 under Bootcamp. Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz. 256GB SSD. AMD Radeon HD 6750M. VT-x Enabled

Host: Windows 7 Home Pro, 32-bit (Windows NT 6.1.7601 Service Pack 1) 2216MB RAM
Guest: Ubuntu Server 12.04.2 64-bit. 1024MB RAM

Log attached.

thx
Steve
Attachments
ubuntu64-2013-05-15-23-55-41.log
(54.78 KiB) Downloaded 13 times
rousseauhk
 
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server

Re: Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby rousseauhk » 16. May 2013, 02:23

Here are the guest settings.
Attachments
ubuntu64.txt
(3.16 KiB) Downloaded 97 times
rousseauhk
 
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server

Re: Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby noteirak » 16. May 2013, 10:45

00:00:01.337329 Host RAM: 2216MB total, 1055MB available
00:00:01.514561 RamSize <integer> = 0x0000000040000000 (1 073 741 824, 1 024 MB)
00:00:01.514934 VRamSize <integer> = 0x0000000002000000 (33 554 432, 32 MB)

You are overcomiting your host's RAM, and this will cause the VM to crash. Either reduce the amount given to the VM or close programs in the host to free some RAM.
Bear in mind that there is an overhead with Virtualization so make sure you release with a nice maring.
HyperBox - Open-source Entreprise Virtualization Manager - http://hyperbox.altherian.org
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 3372
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby rousseauhk » 16. May 2013, 19:14

Right - I've seen that occasionally the VM crashes with an out of memory error. But it's never affected the host before. Also, even if I set guest memory to 512mb, I get the same host reboot.

As a workaround, I've built the virtual machine on a spare 64-bit host (which worked fine). I'm still curious as to what is causing this issue though, since VirtualBox has otherwise been very solid.

thx
Steve
rousseauhk
 
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server

Re: Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby Perryg » 16. May 2013, 19:28

I would think that the fact that you can build this on a different host still using VirtualBox you have proved that VirtualBox is working properly. Maybe you just have a bad memory stick on the one that crashes. It could also be a corrupt package on the host. I would look at the hosts syslog, or other logs in the /var/log and see what is really happening.
Perryg
Site Moderator
 
Posts: 25964
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby rousseauhk » 17. May 2013, 18:53

The other box has a 64-bit host, so I'm not sure if it is a valid comparison.

If I have time I'll try to repeat under a different 32-bit host, which should indicate whether its a hardware/driver error, or something more general.

thx
Steve
rousseauhk
 
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server

Re: Ubuntu Server 12.04.2 64-bit guest install reboots host

Postby Perryg » 17. May 2013, 19:06

Also keep in mind that running 64-bit guests on 32-bit hosts have a considerable amount of overhead. Over-committing in that scenario will happen faster.
Perryg
Site Moderator
 
Posts: 25964
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 18 guests