WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: could we have virtualbox 5.1.2 updates for guest modules/applications?  (Read 3189 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 832
There were a lot of bug fixed (improvements?) if you believe Oracle change.log
Version 5.1.2 (2016-07-21)
Version 5.1.0 (2016-07-12)
Version 5.0.24 (2016-06-28)
Version 5.0.22 (2016-06-16)
Version 5.0.20 (2016-04-28)
Version 5.0.18 (2016-04-18)

I tried and I can not re-compile the kernel modules myself. But we have them on tinycore site...
So I cheated and extracted from VBoxGuestAdditions_5.1.2.iso the VBoxGuestAdditions-x86.tar and from there I replaced the main programs and exit/enter Xorg.
VboxClient, VboxControl, VboxService. (no need for VboxGreeter -> Ubuntu lightLM, or pax_vbox.so for Fedora SElinux)
And of course all the /lib/VboxOGL*.so & vboxvideo_drv.so (Xorg 1.18.0)

Bottom line: In a running VirtualBox 5.1.2 machine for Tinycore 7.2 I installed the (actual) Guest additions 5.018. Then replaced all files with the new versions.
All are OK. Except just the same SOFTWARE acceleration in 5.1.2 like in 5.018.

I tried also to do like in Archlinux (virtualbox-guest-utils-5.1.2-2-i686.pkg.tar), to simlink the VboxOGL.so -> vboxvideo_dri.so
 in both /lib/dri and /lib/Xorg/module/dri. but no improvement.

Latest Virualbox 5.1.2 runs on Windows 10 ver 1511, with AMD A6-310 APU & AMD Radeon R4 1.8 GHz
Any idea why is no hardware acceleration even in Xorg 1.18.4?

Edit: /dev/dri/card0 -> no such directory, hm.. a missing/not loaded dependency maybe some OGL
« Last Edit: August 14, 2016, 05:22:56 PM by nick65go »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: could we have virtualbox 5.1.2 updates for guest modules/applications?
« Reply #1 on: August 16, 2016, 03:54:42 AM »
I tried and I can not re-compile the kernel modules myself.

What happened when you tried - did you get any error messages?

Offline nick65go

  • Hero Member
  • *****
  • Posts: 832
Re: could we have virtualbox 5.1.2 updates for guest modules/applications?
« Reply #2 on: August 16, 2016, 02:52:50 PM »
VirtualBox machine is type linu4.x (32 bits). I mounted on /mnt/sr1/ the iso labeled VboxAdditions_5.1.2_108956
cd /mnt/sr1 and run the script ./VBoxLinuxAdditions.run (with sudo)
the sucker complains about /usr/src does not exist

I install compiletc.tcz; and perl5.tcz
hm.. still I need to create myself /usr/src, with sudo
in the mean time I saw /opt/VBoxGuestAdditions-5.1.2/ is populated with file extracted from iso.
now the script "Fail to set up service vboxadd"...wtf
I check /var/log/VboxGuestAddtions.log

a lot of msg like
ln: /etc/rc0.d/K90vboxadd: No such file or directory
..
ln: /etc/rc0.d/K65vboxadd-service: No such file or directory
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..

and in the /var/log/vboxadd-install.log is:
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

So basically, I just unpacked the iso file, not even started the compilation. Sigh.
« Last Edit: August 16, 2016, 02:59:13 PM by nick65go »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: could we have virtualbox 5.1.2 updates for guest modules/applications?
« Reply #3 on: August 16, 2016, 03:02:45 PM »
To prepare the kernel sources you need to load compiletc, perl5, bash, ncurses-dev and bc.

Then you need to unpack the patched tinycore kernel in /usr/src and:
Code: [Select]
$ make mrproper
$ cp config-4.2.9-tinycore .config
$ make oldconfig
$ make prepare
$ make modules_prepare
$ gunzip Module.symvers-4.2.9-tinycore.gz
$ cp Module.symvers-4.2.9-tinycore Module.symvers
$ make SUBDIRS=scripts/mod

Offline nick65go

  • Hero Member
  • *****
  • Posts: 832
Re: could we have virtualbox 5.1.2 updates for guest modules/applications?
« Reply #4 on: August 16, 2016, 03:43:40 PM »
Many Thanks Juanito for the detailed instructions!
I will try later, my VM is not properly prepared for storage. Is bed-test for booting GPT-UEFI...
I dislike Win10, but until I have a proper USB/VM with linux tools ready M$ will stays, then RIP.
I do not want to download many time the same info. I also read the script linux-kernel-sources-env.tcz and try to digest it.