VirtualBox

Opened 17 years ago

Closed 16 years ago

#1240 closed defect (fixed)

VM crash while installing AsteriskNOW -> fixed in SVN

Reported by: David Clymer Owned by:
Component: VMM/RAW Version: VirtualBox 2.1.0
Keywords: rPath Anaconda installation crash Cc: david@…
Guest type: Linux Host type: other

Description

When attempting to install AsteriskNOW (rPath linux + Anaconda), I always reach a point (seemingly random) where the VM crashes. I have little indication of the problem source other than what the Logs contain.

Host info


OS: Debian GNU/Linux "Lenny" Kernel: 2.6.22-3-686

I've attached the VM sesssion log.

Attachments (10)

AsteriskNOW-2008-02-25-11-51-20.log (154.8 KB ) - added by David Clymer 17 years ago.
VM Session Log
AsteriskNOW-2008-02-29-17-30-35.log (33.2 KB ) - added by David Clymer 17 years ago.
Successful boot log
VBox.log (141.8 KB ) - added by Sean 17 years ago.
Log File from SKrause
VBox.png (11.4 KB ) - added by Sean 17 years ago.
PNG File from SKrause
AsteriskNOW-2008-04-11-15-39-13.log (156.4 KB ) - added by David Clymer 17 years ago.
Continued failure using virtualbox svn r7848
greggh_1240.tar.gz (56.4 KB ) - added by greggh 16 years ago.
Logs with VT and without VT enabled.
AsteriskNOW-2008-07-11-15-54-35.log (154.8 KB ) - added by David Clymer 16 years ago.
failure using version 1.6.2 OSE with AMD-V enabled.
Screenshot-1.png (146.8 KB ) - added by David Clymer 16 years ago.
AMD-V enabled, according to GUI
VBox.2.log (171.9 KB ) - added by Daniel Baum 16 years ago.
Crash log with VB 2.0.0 while installing AsteriskNOW-1.0.2.1-x86 on Vista
VBox.2.png (54.5 KB ) - added by Daniel Baum 16 years ago.
Crash log with VB 2.0.0 while installing AsteriskNOW-1.0.2.1-x86 on Vista

Download all attachments as: .zip

Change History (39)

by David Clymer, 17 years ago

VM Session Log

comment:1 by David Clymer, 17 years ago

The installer seems to be running kernel version 2.6.22.16-0.1.gcc3.4.x86.i686. The crash occurs in graphical and text mode installers, and it seems to happen at one of two places; while loading the installer, or right after (or at the end of) installing all software packages. Its unclear what is happening on the guest OS at those points.

comment:2 by David Clymer, 17 years ago

A friend of mine was able to install AsteriskNOW using vbox 1.5.6, but he also got the crashes most of the time. He claimed to have got it to work (the installer kernel at least) using kernel options: noacpi noapic nofb text

When I attempt to run the installed system on my virtualbox (v1.5.4), it (virtualbox) continues to crash every time it tries to boot - at one of 2 places: following "Initializing hardware..." or following "Checking for new hardware" regardless of what kernel options i supply

comment:3 by David Clymer, 17 years ago

The vm _does_ boot occasionally. I was just able to boot, having changed nothing from the last attempt.

by David Clymer, 17 years ago

Successful boot log

by Sean, 17 years ago

Attachment: VBox.log added

Log File from SKrause

by Sean, 17 years ago

Attachment: VBox.png added

PNG File from SKrause

comment:4 by Sean, 17 years ago

I am also experiencing random crashes, mostly at the begging of the install. I have attached the log/pic files.

in reply to:  description comment:5 by David Clymer, 17 years ago

Just to be clear, this issue DOES apply to the latest version of virtualbox (1.5.6). The problem is very consistent.

I am using an AMD64 processor with virtualization extensions. The problem occurs regardless of whether VT-x/AMD-V is turned on or off.

by David Clymer, 17 years ago

Continued failure using virtualbox svn r7848

comment:6 by Frank Mehnert, 17 years ago

This problem is reproducible and even 1.6.0 does not contain a fix, sorry.

comment:7 by Frank Mehnert, 17 years ago

Version: VirtualBox 1.5.4VirtualBox 1.6.0

comment:8 by Frank Mehnert, 17 years ago

This should work fine with 1.6.2 and VT-x or AMD-V enabled.

comment:9 by greggh, 16 years ago

I also have this problem. I am running VirtualBox 1.6.2. with Suse 10.3 (2.6.22.5-31-bigsmp #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i386 GNU/Linux).

I have tried VT-x or AMD-V enabled without success. I have tried changing many of the settings. Recreated new VM's, but no luck.

comment:10 by Frank Mehnert, 16 years ago

Are you sure that your host supports VT-x or AMD-V? Please attach a VBox.log file of 1.6.2 when you enabled hardware virtualization.

by greggh, 16 years ago

Attachment: greggh_1240.tar.gz added

Logs with VT and without VT enabled.

comment:11 by Frank Mehnert, 16 years ago

gregh, actually VT-x was not enabled (this can be clearly seen in the logs). Please could you check your BIOS settings if VT-x is disabled?

comment:12 by Eduardo Castillo, 16 years ago

I also have this problem. No solution yet?

comment:13 by Frank Mehnert, 16 years ago

Did you actually read the last comments? You should be fine if you are able to enable VT-x/AMD-V for that VM.

comment:14 by greggh, 16 years ago

Okay ... I did a bit of research. It looks like although my Laptop bios allows me to set this in the bios, it is still disabled. So it looks like I shall not get it right no matter not. I am using an HP nc6400. I shall have to do the installation of Asterisk manually ... install bit by bit myself :-(

thanks

comment:15 by Frank Mehnert, 16 years ago

Component: otherVMM
Guest type: otherLinux

comment:16 by David Clymer, 16 years ago

I'd like to confirm that this is still an issue for me. I'm running Virtualbox v1.6.2 OSE, _with_ VT-x/AMD-V enabled according to the virtualbox interface.

Host:

david@gorilla:~$ uname -r 2.6.25-2-amd64 david@gorilla:~$ aptitude search '~i' |grep virtualbox i virtualbox-ose - x86 virtualization solution - binaries i virtualbox-ose-modules-2.6-amd6 - PC virtualization solution modules for Lin i A virtualbox-ose-modules-2.6.25-2 - PC virtualization solution modules for Lin

by David Clymer, 16 years ago

failure using version 1.6.2 OSE with AMD-V enabled.

by David Clymer, 16 years ago

Attachment: Screenshot-1.png added

AMD-V enabled, according to GUI

comment:17 by David Clymer, 16 years ago

More host information. Processor has support for virtualization extensions:

david@gorilla:/vm/VirtualBox/Machines/AsteriskNOW/Logs$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 107
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping	: 1
cpu MHz		: 1000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips	: 2006.21
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 107
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping	: 1
cpu MHz		: 1000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips	: 2006.21
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

comment:18 by Frank Mehnert, 16 years ago

vezult, please attach the VBox.log file of your VM session here.

comment:19 by David Clymer, 16 years ago

I attached the log along with my report. Please refer to the attachment named AsteriskNOW-2008-07-11-15-54-35.log

comment:20 by Frank Mehnert, 16 years ago

vezult, sorry, I somehow missed your log file the first time. Unfortunately, your host CPU is a Pentium 4 which lacks of support for VT-x and AMD-V. The VM info dialog only shows the desired setting for that VM. But during startup it was detected that your host CPU actually does not have a VT-x / AMD-V capable CPU and therefore such support was not activated. Silently not enabling VT-x / AMD-V is a bug which has to be fixed. AsteriskNOW currently requires support for hardware virtualization. We will try to make it work in the normal mode as well but again, this will currently not work with 1.6.2.

comment:21 by David Clymer, 16 years ago

Um...Perhaps you'll want to reread the document I referred you to; the lines 399 to 453 inclusively. You may even find the /proc/cpuinfo dump that I posted to be instructive.

I do apreciate that someone is monitoring this issue, but am beginning to feel as if effort to provide useful information is being wasted. I'm quite certain that I am running a dual-core, 64 bit AMD processor with AMD-V, and am even pretty sure that it is enabled, according to the VM session log that I posted.

comment:22 by Frank Mehnert, 16 years ago

Next try. You provided four log files, I investigated the first two (AsteriskNOW-2008-02-25-11-51-20.log and AsteriskNOW-2008-02-29-17-30-35.log) which indeed show a Pentium 4. The third and the fourth log, AsteriskNOW-2008-04-11-15-39-13.log show the log for and AMD processor. However, AMD-V is not enabled as one can clearly seen:

00:00:07.258 HWACCM: No VMX or SVM CPU extension found. Reason VERR_SVM_DISABLED
00:00:07.258 HWACCM: VMX MSR_IA32_FEATURE_CONTROL=0

So AMD-V is either disabled in your BIOS, by your Linux host or VirtualBox is not able to enable AMD-V for some other reason. Please make 100% sure that you didn't disable AMD-V in the BIOS.

comment:23 by Frank Mehnert, 16 years ago

Component: VMMVMM/RAW

by Daniel Baum, 16 years ago

Attachment: VBox.2.log added

Crash log with VB 2.0.0 while installing AsteriskNOW-1.0.2.1-x86 on Vista

by Daniel Baum, 16 years ago

Attachment: VBox.2.png added

Crash log with VB 2.0.0 while installing AsteriskNOW-1.0.2.1-x86 on Vista

comment:24 by Daniel Baum, 16 years ago

Installing of AsteriskNOW (1.0.2.1-x86 on Vista) still crashes with VB 2.0.0. Crash log is attached.

comment:25 by Frank Mehnert, 16 years ago

phasemaster, the priority for improving the support for VT-x / AMD-V is currently higher than fixing the raw mode (VT-x/AMD-V disabled). You should be able to run Asterisk if you enable the VT-x mode for that VM, your processor is capable of this mode. Enable VT-x in the VM settings check if it is actually used when the VM is running (check the session information dialog, HostKey+N).

comment:26 by Daniel Baum, 16 years ago

Frank, thank you for that tip. It works indeed if VT-x/AMD-V is enabled!

I am a laymen with respect to VM, but if VT-x/AMD-V mode is your priority, I wonder why VT-x/AMD-V is not enabled by default in case a CPU supporting that mode is detected? Anyhow, I am happy now. This is a great piece of software!

comment:27 by Sander van Leeuwen, 16 years ago

Version: VirtualBox 1.6.0VirtualBox 2.1.0

comment:28 by Sander van Leeuwen, 16 years ago

Summary: VM crash while installing AsteriskNOWVM crash while installing AsteriskNOW -> fixed in SVN

comment:29 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette