Opened 14 years ago
Closed 14 years ago
#7286 closed defect (fixed)
OVF import allows invalid XML fields in Appliance
Reported by: | steve jenkin | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.2.6 |
Keywords: | OVF import Audio driver | Cc: | |
Guest type: | other | Host type: | Linux |
Description
I exported an Appliance (.ovf + vmdk) from my Mac (OS/X 10.5, 64-bit) and imported into a new appliance on Linux Ubuntu 10.04 (KDE, 32-bit). [Export from VBox 3.2.4, import into VBox 3.2.6]
The Appliance failed in "Power UP" with a misleading error message [end of log at end], "VERR_CFGM_VALUE_NOT_FOUND" Google produced no useful help.
The fault was an invalid audio "driver" settings ('CoreAudio' valid on Mac, not on Linux [Null, ALSA, ...]).
<AudioAdapter controller="AC97" driver="CoreAudio" enabled="true"/>
Fault reproduced on Ubuntu with VirtualBox editions: 3.2.6 PUEL 3.2.4 PUEL 3.1.8 PUEL OSE 3.1.6 [Ubuntu repository] [unable to get version 2.2 working]
This behaviour the result of THREE faults:
- Import OVF allowed invalid Audio "driver" field in XML.
- Sanity Check of XML at Boot allowed invalid Audio "driver"
- Error reporting to User yielded no useful information.
Extract from log file:
00:00:08.499 PDM: Failed to construct 'ichac97'/0! VERR_CFGM_VALUE_NOT_FOUND (-2103) - Value not found. 00:00:08.557 NAT: zone(nm:mbuf, used:0) 00:00:08.557 NAT: zone(nm:mbuf_cluster, used:0) 00:00:08.558 NAT: zone(nm:mbuf_packet, used:0) 00:00:08.558 NAT: zone(nm:mbuf_jumbo_pagesize, used:0) 00:00:08.558 NAT: zone(nm:mbuf_jumbo_9k, used:0) 00:00:08.558 NAT: zone(nm:mbuf_jumbo_16k, used:0) 00:00:08.562 VMSetError: /home/vbox/vbox-3.2.6/src/VBox/VMM/VM.cpp(316) int VMR3Create(uint32_t, void (*)(VM*, void*, int, const char*, unsigned int, const char*, const char*, char*), void*, int (*)(VM*, void*), void*, VM); rc=VERR_CFGM_VALUE_NOT_FOUND 00:00:08.562 VMSetError: Unknown error creating VM 00:00:08.563 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={6375231a-c17c-464b-92cb-ae9e128d71c3} aComponent={Console} aText={Unknown error creating VM (VERR_CFGM_VALUE_NOT_FOUND)} aWarning=false, preserve=false 00:00:08.696 Power up failed (vrc=VERR_CFGM_VALUE_NOT_FOUND, rc=NS_ERROR_FAILURE (0X80004005))
Attachments (2)
Change History (5)
by , 14 years ago
Attachment: | DSL-faulty_VBox.log added |
---|
comment:1 by , 14 years ago
Fault reproduced on Ubuntu with VirtualBox editions:
- 3.2.6 PUEL
- 3.2.4 PUEL
- 3.1.8 PUEL
- 3.1.6 OSE [Ubuntu repository]
Hint in log file was "Failed to construct 'ichac97' ". Nothing useful found using 'strace' (and wasn't that a lot of work!)
Searched for:
- VERR_CFGM_VALUE_NOT_FOUND
- NS_ERROR_FAILURE
- SUPR3HardenedMain (found through 'strace')
Apologies for log file segment in initial post
comment:2 by , 14 years ago
Apologies again.
Guest was DamnSmallLinux, linux 2.4 kernel. It failed before boot.
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This issue was fixed in VirtualBox 3.2.8. Please reopen in case it still doesn't work with 3.2.8.
Log file