Page 1 of 1

VB fails to run/install VMs (qcow write on demand).

Posted: 30. Apr 2015, 18:09
by bryanf
yosemite 10.10.3 + virtualbox 4.3.26 fresh install
create new and builds directory structure.
Start and fails with error
Failed to open a session for virtual machine _x_.
Uninstalled with VB tool, rebooted, reinstalled, checked permissions using disk utility and corrected errors.
Name _x_ used with a "-" character. Tried again with an "_" character. No install or run.

Failed to open a session for virtual machine _x_.

Could not open the medium
"/Users/user_name/VirtualBox VMs/_path_/ Using qcow.

QCow: Reding the L1 table for image
.... (VERR_OEF).

VD: error VERR EOF operating image file
... (VERR_OEF).

Result Code NS_ERROR_FAILURE (0x80004005)
Component Medium
Interface IMediam { ...}

SSD on MacBook Pro showing permissions as user_name staff group.
Cannot say I've noticed "staff" group previously on Mac permissions and thought it would be wheel but appears consistent with another Mac running OS X Yosemite. Both using apple install upgrades though not manufacture installed.

Re: VB fails to run/install VMs (qcow write on demand).

Posted: 30. Apr 2015, 18:44
by bryanf
Following up. This is a MacBook Pro mid 2011 with known logic board issue.
SSD and Logic board just replaced by Apple following secure erase destroying firmware driver vs blanking disk only... Yeah Apple...

Below is the Machine that fails to launch/install log data.
VirtualBox VM 4.3.26 r98988 darwin.amd64 (Mar 16 2015 17:58:09) release log
00:00:11.666607 Log opened 2015-04-30T15:52:07.289065000Z
00:00:11.666608 Build Type: release
00:00:11.666623 OS Product: Darwin
00:00:11.666628 OS Release: 14.3.0
00:00:11.666633 OS Version: Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64
00:00:11.666780 DMI Product Name: MacBookPro10,1
00:00:11.666833 DMI Product Version: 1.0
00:00:11.666842 Host RAM: 16384MB total, 9133MB available
00:00:11.666845 Executable: /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM
00:00:11.666845 Process ID: 739
00:00:11.666846 Package type: DARWIN_64BITS_GENERIC
00:00:11.668166 Installed Extension Packs:
00:00:11.668174 None installed!
00:00:11.674703 Power up failed (vrc=VINF_SUCCESS, rc=NS_ERROR_FAILURE (0X80004005))
00:00:12.306719 UIMachineView::storeGuestSizeHint: Storing guest size-hint for screen 0 as 640x480

However, was able to get a machine to install and launch now. It logs show.
00:22:00.468802 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8a
00:22:00.469338 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8a
00:22:00.469777 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8b
00:22:00.470188 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8b
00:22:00.470645 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8c
00:22:00.471057 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8c
00:22:00.471498 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8d
00:22:00.471911 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8d
00:22:00.472347 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8e
00:22:00.472745 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8e
00:22:00.473172 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8f
00:22:00.473591 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8f
00:22:00.684460 PIT: mode=2 count=0x4a9 (1193) - 1000.15 Hz (ch=0)
00:22:00.897599 PIT: mode=0 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:22:00.942893 OHCI: Software reset
00:22:01.180901 OHCI: USB Reset
00:22:01.232883 OHCI: Software reset
00:22:01.233004 OHCI: USB Operational
00:22:01.343825 OHCI: USB Suspended
00:22:02.413140 AHCI#0: Reset the HBA
00:22:02.414109 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:22:02.414165 PIIX3 ATA: Ctl#0: finished processing RESET
00:22:02.414449 PIIX3 ATA: Ctl#1: RESET, DevSel=0 AIOIf=0 CmdIf0=0xa0 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:22:02.414501 PIIX3 ATA: Ctl#1: finished processing RESET
00:22:02.415442 AHCI#0: Port 0 reset
00:22:05.113722 Audio: set_record_source ars=0 als=0 (not implemented)
00:22:05.114163 Audio: set_record_source ars=0 als=0 (not implemented)
00:22:05.121142 Audio: set_record_source ars=0 als=0 (not implemented)
00:22:05.316430 IEM: rdmsr(0x619) -> GP(0)
00:22:07.389182 NAT: link up



The one file permission issue that seems to recur with reboot is displaypolicyd.
An Example noted here but requires longer membership to include...
Hack at - h t t p s discussions. apple. com /thread/6624349
See "wihereK' note on Nov 13, 2014 for reset of PRAM.
The permissions can be repaired using tool but revert back with reboot.

Appears possible that VirtualBox will install and run Centos 7 Linux without any X-Windows components.

____ Update
Ubuntu 15.04 Desktop downloaded.
Installing image launches and Gui processes through install.
Reboot is then required and performed.
Machine halts and does not start up with following displayed
Ubuntu 15.04
. . . . [ 14.729343] pilx4_smbus 0000:0007.0: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr [ 14.867151] intel_rapl: no valid rapl domains found in package 0

No access to machine. Force power off. Start the machine from VB and comes up with screen size changing and eventually at login prompt. Can login to the machine.

____ Update
Fedora 21
Download and install Fedora 21 following another failed attempt with CentOS. Fedora installs and works fine. CentOS - went to get new ISO and site down....