Graham Menhennitt
2015-May-13 12:57 UTC
VirtualBox hangs on FreeBSD 10-stable and then reports error
I've been successfully running VirtualBox for some time. Last week I
updated my /usr/src/ and /usr/ports, built & installed world and kernel,
and did portupgrade -a. Now VirtualBox won't start - it doesn't even
show the window with the list of VMs. I've tried as root and as myself.
I've also tried removing my .virtualbox directory. kldstat shows
vboxdrv.ko is loaded. I've rebooted after building and installing
everything.
I've run it in truss as root and the bzipped output file is at
http://menhennitt.com.au/truss.bz2. It runs for a few seconds and then
gets to the point in the truss output (around line 2890) where it does
the stuff shown below. It repeats the last poll() line at 5 second
intervals for about 5 minutes. It then shows a dialog:
Failed to create the VirtualBox COM object.
The application will now terminate.
Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)
When I click Ok in the dialog, it exits.
It's virtualbox-ose-4.3.26 and virtualbox-ose-kmod-4.3.26 on FreeBSD
10-stable from last week on amd64.
Does anybody please have any clues?
Thanks,
Graham
open("/etc/spwd.db",O_CLOEXEC,00) = 16 (0x10)
fstat(16,{ mode=-rw------- ,inode=33147405,size=40960,blksize=32768 }) 0 (0x0)
read(16,"\0\^F\^Ua\0\0\0\^B\0\0\^D\M-R\0"...,260) = 260 (0x104)
pread(0x10,0x801e89000,0x1000,0x6000,0x1,0x0) = 4096 (0x1000)
pread(0x10,0x801e8a000,0x1000,0x4000,0x1,0x0) = 4096 (0x1000)
close(16) = 0 (0x0)
connect(15,{ AF_UNIX "/tmp/.vbox-root-ipc/ipcd" },106) ERR#61
'Connection refused'
close(15) = 0 (0x0)
pipe(0x7fffffff4570) = 0 (0x0)
fcntl(15,F_SETFD,FD_CLOEXEC) = 0 (0x0)
fcntl(16,F_SETFD,FD_CLOEXEC) = 0 (0x0)
fcntl(15,F_GETFD,) = 1 (0x1)
fcntl(15,F_GETFL,) = 2 (0x2)
fcntl(15,F_SETFL,O_NONBLOCK|0x2) = 0 (0x0)
fcntl(16,F_GETFD,) = 1 (0x1)
fcntl(16,F_GETFL,) = 2 (0x2)
fcntl(16,F_SETFL,O_NONBLOCK|0x2) = 0 (0x0)
fcntl(16,F_SETFD,0x0) = 0 (0x0)
openat(0xffffff9c,0x81054f561,0x2,0x0,0x80,0xfe1bfed8) = 17 (0x11)
fcntl(17,F_GETFD,) = 0 (0x0)
openat(0xffffff9c,0x7fffffff2a80,0x100000,0x0,0x7ff7fed5c75a,0x8080808080808080)
ERR#2 'No such file or directory'
openat(0xffffff9c,0x7fffffff2f20,0x100000,0x0,0x7ff7fed5c75a,0x8080808080808080)
ERR#2 'No such file or directory'
openat(0xffffff9c,0x7fffffff2a80,0x100000,0x0,0x7ff7fed5c75a,0x8080808080808080)
ERR#2 'No such file or directory'
openat(0xffffff9c,0x7fffffff2f20,0x100000,0x0,0x7ff7fed5c75a,0x8080808080808080)
ERR#2 'No such file or directory'
access("/usr/local/lib/virtualbox/VBoxXPCOMIPCD",1) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,SIGALRM)
= 0 (0x0)
fork() = 51627 (0xc9ab)
sigprocmask(SIG_SETMASK,SIGALRM,0x0) = 0 (0x0)
SIGNAL 20 (SIGCHLD)
sigprocmask(SIG_SETMASK,SIGALRM|SIGCHLD,0x0) = 0 (0x0)
write(11,"\0",1) = 1 (0x1)
sigreturn(0x7fffffff2b60,0x7fffffff2b60,0x301,0x0,0xfffffffffffffbc0,0x7fffffff3278)
= 0 (0x0)
wait4(51627,{ EXITED,val=0 },0x0,0x0) = 51627 (0xc9ab)
close(17) = 0 (0x0)
close(16) = 0 (0x0)
read(15,0x7fffffff45af,1) ERR#35 'Resource
temporarily unavailable'
poll({15/POLLIN|POLLPRI},1,5000) = 0 (0x0)
Kubilay Kocak
2015-May-13 13:03 UTC
VirtualBox hangs on FreeBSD 10-stable and then reports error
On 13/05/2015 10:57 PM, Graham Menhennitt wrote:> I've been successfully running VirtualBox for some time. Last week I > updated my /usr/src/ and /usr/ports, built & installed world and kernel, > and did portupgrade -a. Now VirtualBox won't start - it doesn't even > show the window with the list of VMs. I've tried as root and as myself. > I've also tried removing my .virtualbox directory. kldstat shows > vboxdrv.ko is loaded. I've rebooted after building and installing > everything. > > I've run it in truss as root and the bzipped output file is at > http://menhennitt.com.au/truss.bz2. It runs for a few seconds and then > gets to the point in the truss output (around line 2890) where it does > the stuff shown below. It repeats the last poll() line at 5 second > intervals for about 5 minutes. It then shows a dialog: > Failed to create the VirtualBox COM object. > The application will now terminate. > Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) > When I click Ok in the dialog, it exits. > > It's virtualbox-ose-4.3.26 and virtualbox-ose-kmod-4.3.26 on FreeBSD > 10-stable from last week on amd64. > > Does anybody please have any clues? > > Thanks, > GrahamHi Graham, you may also want to try the freebsd-emulation list and #freebsd-vbox on IRC [1] [1] https://wiki.freebsd.org/VirtualBox
Tobias Kortkamp
2015-May-13 13:12 UTC
VirtualBox hangs on FreeBSD 10-stable and then reports error
On 05/13/2015 14:57, Graham Menhennitt wrote:> I've been successfully running VirtualBox for some time. Last week I > updated my /usr/src/ and /usr/ports, built & installed world and kernel, > and did portupgrade -a. Now VirtualBox won't start - it doesn't even > show the window with the list of VMs. I've tried as root and as myself. > I've also tried removing my .virtualbox directory. kldstat shows > vboxdrv.ko is loaded. I've rebooted after building and installing > everything. > > I've run it in truss as root and the bzipped output file is at > http://menhennitt.com.au/truss.bz2. It runs for a few seconds and then > gets to the point in the truss output (around line 2890) where it does > the stuff shown below. It repeats the last poll() line at 5 second > intervals for about 5 minutes. It then shows a dialog: > Failed to create the VirtualBox COM object. > The application will now terminate. > Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) > When I click Ok in the dialog, it exits. > > It's virtualbox-ose-4.3.26 and virtualbox-ose-kmod-4.3.26 on FreeBSD > 10-stable from last week on amd64. > > Does anybody please have any clues? > > Thanks, > GrahamHi Graham, see this thread on the forums: https://forums.freebsd.org/threads/virtualbox-4-3-26-wont-start.51341/