Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]VirtualBox - Error ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 98
Location: Bradford, UK

PostPosted: Wed Dec 20, 2017 9:11 pm    Post subject: [SOLVED]VirtualBox - Error ? Reply with quote

Hi
my virtualbox stopped working . When I launch an os in it say F27(fedora 27) it complains
Code:
The virtual machine 'F27' has terminated unexpectedly during startup because of signal 5.


I suspect it might be kernel configuration coz I installed docker yesterday and configured followed the advise on the gentoo page.

Any one to help


Last edited by klas on Tue Jan 02, 2018 3:51 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13490

PostPosted: Thu Dec 21, 2017 1:58 am    Post subject: Reply with quote

According to man 7 signal, signal 5 is SIGTRAP. This can happen if the program tried to trap to a debugger, but no debugger was present to catch the trap. If you suspect a kernel configuration change, why not reboot back to the kernel that lacks that change? What change(s) did you make? Exactly what page did you read?
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 98
Location: Bradford, UK

PostPosted: Thu Dec 21, 2017 9:57 pm    Post subject: Reply with quote

Thanks for your response.
yeah
I think I have the same kernel 4.12.12
I uninstall the vm and reinstall a stable virtualbox . I have this error

Code:
 Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/sbin/vboxconfig'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.


I am trying to sort it out slowly.
Any idea is welcome
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6957
Location: Saint Amant, Acadiana

PostPosted: Thu Dec 21, 2017 10:06 pm    Post subject: Reply with quote

Code:
emerge @module-rebuild

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 98
Location: Bradford, UK

PostPosted: Thu Dec 21, 2017 10:20 pm    Post subject: Reply with quote

thanks ,
even after that it s not working , there might be some error with the virtualbox because it s not working on my fedora27 too
in gentoo it complains
Code:
 Error in sublibOsInit
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6957
Location: Saint Amant, Acadiana

PostPosted: Thu Dec 21, 2017 10:35 pm    Post subject: Reply with quote

Do the modules load now or not?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 98
Location: Bradford, UK

PostPosted: Fri Dec 22, 2017 11:54 am    Post subject: Reply with quote

oh
How can I see if they are loaded or not . Just can not work. I think it s virtualbox problem . it still can not work whatever I do. I am now feeling like using an alternative when I need. The problem started when I configured the kernel and installed docker. :roll:
Code:

jules@grodos ~ $ VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.12.12-gentoo) or it failed to
         load. Please recompile the kernel module and install it by

           for m in vbox{drv,netadp,netflt}; do modprobe $m; done

         You will not be able to start VMs until this problem is fixed.
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
^C
jules@grodos ~ $ su
Password:
grodos /home/jules # modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Unknown symbol in module, or unknown parameter (see dmesg)
grodos /home/jules # modprobe vboxnetadp
modprobe: ERROR: could not insert 'vboxnetadp': Unknown symbol in module, or unknown parameter (see dmesg)
grodos /home/jules # modprobe vboxnetflt
modprobe: ERROR: could not insert 'vboxnetflt': Unknown symbol in module, or unknown parameter (see dmesg)
grodos /home/jules #

I might have mixed lot of stuff
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5801

PostPosted: Sat Dec 23, 2017 11:37 am    Post subject: Reply with quote

"Unknown symbol" is usually from upgrading your kernel without upgrading modules. (or similarly some sort of mismatch between the modules and the running kernel)

You can try "depmod -a" but I don't think it would help here much.
Back to top
View user's profile Send private message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 98
Location: Bradford, UK

PostPosted: Tue Jan 02, 2018 3:50 am    Post subject: Reply with quote

I just remove uninstall virtualbox with all its modules .
then
Code:

cd /usr/src/linux
make clean
make
make modules_install
make install
mount /dev/sda1
grub-mkconfig -o /boot/grub/grub.cfg


and bingo :) 8) :)
Back to top
View user's profile Send private message
skarab
n00b
n00b


Joined: 18 Jun 2017
Posts: 35

PostPosted: Fri Feb 22, 2019 3:53 pm    Post subject: Reply with quote

yes need to do it at each gentoo kernel update, pretty annoying, any workaround for this ?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13490

PostPosted: Sat Feb 23, 2019 2:18 am    Post subject: Reply with quote

skarab wrote:
yes need to do it at each gentoo kernel update, pretty annoying, any workaround for this ?
Use a virtualization product with in-kernel drivers, like Qemu.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum