Puppy guest Virtualbox guest addition install -solution

Booting, installing, newbie
Post Reply
Message
Author
robert1968
Posts: 9
Joined: Thu 10 Dec 2009, 12:45

Puppy guest Virtualbox guest addition install -solution

#1 Post by robert1968 »

Hi,

Environment:
WindowsXPSP3 host Puppy LUPU-510.iso guest in Oracle Virtualbox 3.2.6.

problem:
When you try to install VBOX guest addition you get error messages.

Steps
1. Install lupu_devx_510.sfs.
2. download kernel source sfs for puppy kernel_src-2.6.33.2-patched.sfs
from here: http://bkhome.org/sources/kernel-2.6.33.2/ (usrname:puppy password linux)
3. make -C /usr/src/linux oldconfig prepare scripts - in a console
4. attach virtualboxguestaddition.iso to virtualbox
5. open sr0 cd drive,
6 run vboxlinuxaddition x86.sh

I hope that is helps.
Robert
Quester
Posts: 1
Joined: Sat 25 Sep 2010, 13:27

#2 Post by Quester »

Hi,

Environment:
Windows 7 Pro host, Puppy Lupu-511.iso guest in Oracle Virtualbox 3.2.8 r64453

Problem:
Still unable to install Vbox guest additions

I have followed the instructions posted here ... however, I am still unable to install the guest addition into Puppy Linux 5.1.1.

1. I have loaded lupu_devx_511.sfs and kernel_src-2.6.33.2-patched.sfs via the BootManager.
2. I have also execute the command "make -C /usr/src/linux oldconfig prepare scripts" in a console.
3. Run "VBoxLinuxAdditions-x86.run" located in the virtualboxguestaddition.iso.

However, I encounter the following error in the /var/log/vboxadd-install.log:
"ERROR: Kernel configuration is invalid."

Can someone advise what have I done incorrectly?
Kiwinuck
Posts: 20
Joined: Wed 24 Nov 2010, 00:59

#3 Post by Kiwinuck »

followed instructions but get the following: (clicked on VBoxLinuxAdditions-x86.run)


<start log>

Unable to build kernel module....see log which is

Installing VirtualBox 3.0.12 Guest Additions, built Tue Nov 10 11:38:07 CET 2009

Testing the setup of the guest system

Building test kernel module vboxadd_test...

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.33.2/build SUBDIRS=/tmp/selfgz9514283/module/test SRCROOT=/tmp/selfgz9514283/module/test modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz9514283/module/test/.tmp_versions ; rm -f /tmp/selfgz9514283/module/test/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz9514283/module/test


<<< abridged by author >>>

Inserting the test module module/test/vboxadd_test.ko into the kernel.
Building test kernel module vboxadd_test_drm...

/tmp/selfgz9514283/module/test_drm/Makefile.include.header:97: Using BUILD_TYPE='release' from the environment.
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.33.2/build SUBDIRS=/tmp/selfgz9514283/module/test_drm SRCROOT=/tmp/selfgz9514283/module/test_drm modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz9514283/module/test_drm/.tmp_versions ; rm -f /tmp/selfgz9514283/module/test_drm/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz9514283/module/test_drm


<<< abridged by author >>>

Building the VirtualBox Guest Additions kernel module.

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.33.2/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0

<<< abridged by author >>>
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:38,
from /tmp/vbox.0/cmc.c:21:
/tmp/vbox.0/include/iprt/types.h:87:30: error: linux/autoconf.h: No such file or directory
make[2]: *** [/tmp/vbox.0/cmc.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxadd] Error 2

</end log>
Last edited by Kiwinuck on Wed 01 Dec 2010, 00:28, edited 1 time in total.
noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#4 Post by noryb009 »

Kiwinuck: You would have to have the dev .sfs
Kiwinuck
Posts: 20
Joined: Wed 24 Nov 2010, 00:59

#5 Post by Kiwinuck »

I've added both kernel source and devx sfs files in the Bootmanager Configure Bootup app. Do I need to do something else to use them?
noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#6 Post by noryb009 »

Did you reboot?
If you open console (on the desktop), and type "cc", does it say something about invalid files, or need more files (or something)?
Kiwinuck
Posts: 20
Joined: Wed 24 Nov 2010, 00:59

#7 Post by Kiwinuck »

yes I've rebooted.

ran cc in console and just says it needs an input file.

Last few lines of the script log, say:
"In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:38,
from /tmp/vbox.0/cmc.c:21:
/tmp/vbox.0/include/iprt/types.h:87:30: error: linux/autoconf.h: No such file or directory
make[2]: *** [/tmp/vbox.0/cmc.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxadd] Error 2 "

so I'm guessing I either don't have autoconf.h or it's not in the right place.
Kiwinuck
Posts: 20
Joined: Wed 24 Nov 2010, 00:59

same results with 5.2.239

#8 Post by Kiwinuck »

Should have included environment description earlier.

Environment: Mac OS X 10.4, Puppy lupu.511.iso (and test of 5.2.239 iso), in VirtualBox 3.0.12 (max ver for Mac OS X 10.4)

Results are identical running 5.1.1 or luci.239
========================================


Installed 5.2.239, did sfs get for kernel source, installed devx sfs and rebooted.

Ran the "make -C /usr/src/linux oldconfig prepare scripts", noticed a few warnings, specifically "ignoring returned value of fgets". However the make command appeared to finish ok and then I ran the vboxadd script from the "guest additions" cd image and got basically the same log file as when run in 5.11.

"In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:38,
from /tmp/vbox.0/cmc.c:21:
/tmp/vbox.0/include/iprt/types.h:87:30: error: linux/autoconf.h: No such file or directory
make[2]: *** [/tmp/vbox.0/cmc.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxadd] Error 2"

I like 5.2 and would really like to get Virtual Box with Guest Additions running. If I can't I'll have to start all over again with something else.
Kiwinuck
Posts: 20
Joined: Wed 24 Nov 2010, 00:59

#9 Post by Kiwinuck »

Did some further checking and discovered that VirtualBox 3.0.14 was last upgrade available for Mac OS X 10.4, so upgraded to 3.0.14. Installed DKMS package, reran the make -C command and then the vboxadditions script.

IT WORKED!

That was with luci-239. Will test on puppy511 but should work.

Just some fine tuning and a few questions but I'll put those in separate posts.
Post Reply