VirtualBox

Ticket #643 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

Guests not starting after upgrd. (1.4->1.5) => Fixed in SVN / 1.5.2

Reported by: kaasgaard Owned by:
Priority: major Component: other
Version: VirtualBox 1.5.0 Keywords: Failed to open release log (, VERR_NO_MEMORY).
Cc: Guest type: other
Host type: other

Description

After an upgrade from 1.4 to 1.5 (rpm version) I am no longer able to start my machines.

I get the following error: Failed to open release log (, VERR_NO_MEMORY).

Result Code: 0x80004005 Component: Console Interface: IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

Fedora 7, x86_64, kernel 2.6.23

Nothing else changed other than the upgrade, and the previous version (1.4) worked perfectly.

Plenty of memory left as well: Mem: 2037128k total, 1051656k used, 985472k free, 28468k buffers Swap: 4096532k total, 0k used, 4096532k free, 502804k cached

Martin

Attachments

VBoxSVC.log Download (53.5 KB) - added by kaasgaard 7 years ago.
VBoxSVC.log
VBoxSDL-1.log Download (354.1 KB) - added by kaasgaard 7 years ago.
VBoxSDL.log part 1
VBoxSDL-2.log Download (179.5 KB) - added by kaasgaard 7 years ago.
VBoxSDL.log part 2
VBoxSDL-3.log Download (21.7 KB) - added by kaasgaard 7 years ago.
VBoxSDL.log part 3

Change History

comment:1 follow-up: ↓ 2 Changed 7 years ago by frank

Strange problem. Could you try to start your virtual machine with the following commands:

strace -f -s512 -o ~/VBoxSVC.log /usr/lib/virtualbox/VBoxSVC &
strace -f -s512 -o ~/VBoxSDL.log /usr/lib/virtualbox/VBoxSDL -vm <vm_name>

and attach both log files?

Changed 7 years ago by kaasgaard

VBoxSVC.log

comment:2 in reply to: ↑ 1 Changed 7 years ago by kaasgaard

Replying to frank:

Strange problem. Could you try to start your virtual machine with the following commands:

strace -f -s512 -o ~/VBoxSVC.log /usr/lib/virtualbox/VBoxSVC &
strace -f -s512 -o ~/VBoxSDL.log /usr/lib/virtualbox/VBoxSDL -vm <vm_name>

and attach both log files?

Console output:

[mk@workstation1 ~]$ strace -f -s512 -o ~/VBoxSVC.log /usr/lib/virtualbox/VBoxSVC &
[1] 23457
[mk@workstation1 ~]$ *********************************************
innotek VirtualBox XPCOM Server Version 1.5.0
(C) 2004-2007 innotek GmbH
All rights reserved.

Starting event loop....
[press Ctrl-C to quit]

[mk@workstation1 ~]$ strace -f -s512 -o ~/VBoxSDL.log /usr/lib/virtualbox/VBoxSDL -vm WinXpPro
VirtualBox SDL GUI 1.5.0 built Sep  3 2007 12:40:11

Failed to power up VM! Error info:
Failed to open release log (, VERR_NO_MEMORY)

[mk@workstation1 ~]$

Log files attached

Hope this helps

Martin

Changed 7 years ago by kaasgaard

VBoxSDL.log part 1

Changed 7 years ago by kaasgaard

VBoxSDL.log part 2

Changed 7 years ago by kaasgaard

VBoxSDL.log part 3

comment:3 Changed 7 years ago by kaasgaard

Hi

VBoxSDL.log

has been splitted into 3 files due to upload file size limitations

Martin

comment:4 Changed 7 years ago by frank

Thanks Martin for that report. It turned out that an mmap(..., MAP_ANONYMOUS, ...) call failed for some reason with -EPERM. Are there any entries in /var/log/kern.log or security-related log files regarding VirtualBox?

comment:5 Changed 7 years ago by kaasgaard

Hi

No /var/log/kern.log on fedora 7. /var/log/messages & /var/log/security are empty

But /var/log/audit/audit.log has the following:

type=AVC msg=audit(1189452856.148:123): avc:  denied  { execmem } for  pid=26784 comm="VirtualBox" scontext=system_u:system_r:unconfined_t:s0 tcontext=system_u:system_r:unconfined_t:s0 tclass=process
type=SYSCALL msg=audit(1189452856.148:123): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=1000 a2=7 a3=62 items=0 ppid=19072 pid=26784 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="VirtualBox" exe="/usr/lib/virtualbox/VirtualBox" subj=system_u:system_r:unconfined_t:s0 key=(null)

Seems like it's selinux related?

Martin

comment:6 Changed 7 years ago by frank

Yes, it is. Did you change any SELinux settings? I have Fedora7 x86-64 here and the SELinux setting 'Allow unconfined executables to map a region as both executable and writable...' is checked here. Did you change that setting? VirtualBox depends on this to work properly. I'm sure that, for instance java, depends on this setting as well.

comment:7 Changed 7 years ago by frank

Could you try

chcon -t java_exec_t /usr/lib/virtualbox/VirtualBox

comment:8 Changed 7 years ago by kaasgaard

Hi,

chcon made it work like a charm.

Didn't even think of that myself, since it was a "pure" upgrade.

Thanx a bunch.

Martin

comment:9 Changed 7 years ago by frank

  • Summary changed from Guests not starting after upgrd. (1.4->1.5) to Guests not starting after upgrd. (1.4->1.5) => Fixed in SVN / 1.5.2

This fix is included in the next bugfix release which is expected within a few days.

comment:10 Changed 7 years ago by sandervl73

  • Priority changed from blocker to major

comment:11 Changed 6 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use