General TC > Tiny Core on Virtual Machines

software wanted: vmware player and/or virtualbox

<< < (7/19) > >>

Arslan S.:
I gave a quick shot and successfully compiled vbox kernel modules for 64 bit tiny core kernel

first open up a toolchain64-shell through menu entry
or open up a standart terminal and run toolchain64-shell

prepare linux source before compiling modules

--- Code: ---LINUX_SRC=$PWD/linux-2.6.33.3

[ -d linux-2.6.33.3 ] && sudo rm -rf linux-2.6.33.3

tar xf linux-2.6.33.3-patched.tbz2

cd linux-2.6.33.3

cp -f ../config-2.6.33.3-tinycore64 .config

make oldconfig CROSS_COMPILE=x86_64-unknown-linux-gnu-

make modules_prepare CROSS_COMPILE=x86_64-unknown-linux-gnu-

if [ ! -e /usr/src/linux ]; then
sudo mkdir -p /usr/src
sudo ln -s $LINUX_SRC /usr/src/linux
fi

if [ ! -e /lib/modules/2.6.33.3-tinycore64/build ]; then
sudo ln -s /usr/src/linux /lib/modules/2.6.33.3-tinycore64/build
fi
--- End code ---

and then compiling modules from vbox src directory is as simple as


--- Code: ---make CROSS_COMPILE=x86_64-unknown-linux-gnu-
--- End code ---

tested on microcore64 3.0

ricky:
Hallo Arslan S.,
if I followed your last advice and run the "make" command in toolchain64-shell, without loading compile.tcz, I received "make: command not found".
What was wrong ?

Arslan S.:
of course you need to load compiletc just use toolchain64 instead of gcc to compile

ricky:
Hurrah! Now I compiled the vbox kernel modules in 64 bit sucessfully. Thank you for help!
The next problem will be to include it in VirtualBox-3.2.6. But modprobe will be not enough. After a try I got already the message "modprobe is not supported" . But in terminal it worked with sudo.
So let's work and do some "trial and error".

ricky:
VirtualBox-3.2.6-Linux_amd64.run wouldn't start in tinycore64 because of following dmesg:

"ioctl32(aterm:10310): Unknown cmd fd(5) cmd(00005302){t:'S';sz:0} arg(080606ae) on /dev/pts/0"

What means this ? It's to hard for me. Can anyone help ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version