Fandom

coLinux

CoLinuxBuildingForFuse

237pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This is extremely similar to building a regular kernel, but there are a couple "gotchas". Mostly, cooperative_fs.h must be modified, as explained in http://sourceforge.net/mailarchive/forum.php?thread_id=6615898&forum_id=37489 , and make sure to always use gcc-3.3 (which is the cross-compiler used for the coLinux daemon 2.6.3 (as of 2006-07-8)).

Mostly follow the instructions in Building_a_custom_kernel . Make sure to get kernel version 2.6.11.x, since the coLinux patch hasn't been ported to 2.6.12 yet.

Configure Apt, and prep system Edit

  • Once you've applied the patches, you have to edit /usr/src/linux/include/linux/cooperative_fs.h and enclose the whole file between #ifndef FUSE_KERNEL_VERSION / #endif.

Build the kernel Edit

  • when making vmlinux, make sure to specify the right gcc. For example, on debian unstable: make CC=gcc-3.3 vmlinux (use CC=gcc-3.4 if you're using coLinux 0.6.4)
  • same for the modules

Follow the rest of the instructions without any change.

Building fuse Edit

  • VERY IMPORTANT: /usr/src/linux must not have changed since you built the kernel.
  • ALSO IMPORTANT: Use CC=gcc-3.4 for all steps below if you're using coLinux 0.6.4

1. Get fuse (http://sourceforge.net/project/showfiles.php?group_id=121684&package_id=132802).

2. extract it in ~/fuse

3. run

      cd ~/fuse

4. run

      ./configure CC=gcc-3.3 --with-kernel=/usr/src/linux
   You might want to use --with-auto-modprobe to load the module automatically

5. run

      make CC=gcc-3.3

6. run

      make CC=gcc-3.3 install

That's it! The module is installed. You can try it out by following the instruction at http://fuse.sourceforge.net/, section Trying it out


MassTranslated on Sun Apr 23 17:35:45 UTC 2006

Also on Fandom

Random Wiki