VirtualBox

Opened 17 years ago

Closed 17 years ago

#643 closed defect (fixed)

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

Reported by: kaasgaard Owned by:
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 (4)

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

Download all attachments as: .zip

Change History (15)

comment:1 by Frank Mehnert, 17 years ago

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?

by kaasgaard, 17 years ago

Attachment: VBoxSVC.log added

VBoxSVC.log

in reply to:  1 comment:2 by kaasgaard, 17 years ago

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

by kaasgaard, 17 years ago

Attachment: VBoxSDL-1.log added

VBoxSDL.log part 1

by kaasgaard, 17 years ago

Attachment: VBoxSDL-2.log added

VBoxSDL.log part 2

by kaasgaard, 17 years ago

Attachment: VBoxSDL-3.log added

VBoxSDL.log part 3

comment:3 by kaasgaard, 17 years ago

Hi

VBoxSDL.log

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

Martin

comment:4 by Frank Mehnert, 17 years ago

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 by kaasgaard, 17 years ago

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 by Frank Mehnert, 17 years ago

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 by Frank Mehnert, 17 years ago

Could you try

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

comment:8 by kaasgaard, 17 years ago

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 by Frank Mehnert, 17 years ago

Summary: Guests not starting after upgrd. (1.4->1.5)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 by Sander van Leeuwen, 17 years ago

priority: blockermajor

comment:11 by Sander van Leeuwen, 17 years ago

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

© 2023 Oracle
ContactPrivacy policyTerms of Use