Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Getting FUSE to work...
PostPosted: Fri Oct 09, 2009 10:53 am 
Offline
Senior Newbie

Joined: Fri Oct 09, 2009 12:41 am
Posts: 11
My Linode is a Gentoo box. Which means tons of Portage, tons of Kernel source, etc. I would like to install FUSE, and use a Compressed FUSE FS Mount to store Portage and the Kernel Sources. I chose Gentoo because I wanted all my binaries as small and optomized as possible for my 'Node (I'm doing streaming audio and a bit of transcoding, so it needs to be streamlined)... but I'm not concerned about Portage "performance." If it takes a bit longer to emerge a program, that's a price I'll happily pay for Portage taking half it's normal space on the disk (leaving more room for audio).

But, when I try to emerge sys-fs/fuse, I get:

Code:
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.
 *
 * ERROR: sys-fs/fuse-2.7.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *       fuse-2.7.4.ebuild, line   29:  Called linux-mod_pkg_setup
 *        linux-mod.eclass, line  579:  Called linux-info_pkg_setup
 *       linux-info.eclass, line  846:  Called check_extra_config
 *       linux-info.eclass, line  698:  Called linux_chkconfig_present 'FUSE_FS'
 *       linux-info.eclass, line  277:  Called require_configured_kernel
 *       linux-info.eclass, line  264:  Called die
 * The specific snippet of code:
 *              die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
 *  The die message:
 *   Kernel not configured; no .config found in /usr/src/linux
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-fs/fuse-2.7.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/fuse-2.7.4/temp/die.env'.


I remember having this problem before, wayback when I was running a Linode in the past. I'm using the stock Kernel with the stock Gentoo image from Linode, but apparently a .config isn't provided with the image, and therefore trying to get fuse installed won't work.

I might be missing a step, this is the first time I've tried to get FUSE to work on Gentoo.

(Also note: Gentoo helpfully installed gentoo-sources for the kernel source; I think there's a xen specific kernel sources available, but didn't want to interrupt Gentoo while it was doing it's thing. Do I need to do anything here?)


Top
   
 Post subject:
PostPosted: Fri Oct 09, 2009 12:20 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
.config files for all the kernels we supply can be found in the source tarballs we distribute in this directory. I'm not sure where you'd tell Gentoo to find that, but if you can figure it out you can use those .configs.
Code:
Kernel not configured; no .config found in /usr/src/linux

...sounds promising.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Sat Oct 10, 2009 10:59 am 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
If you are using the Linode kernel, then I would suggest downloading the linode kernel sources from the link that Jed supplied and extracting them to /usr/src. Then symlink to /usr/src/linux as you would with the normal gentoo sources. In the past I have needed to do a "make prepare" on the kernel when I had similar problems, but I'm not sure if you'll need that or not.

Another option if you are on xen is to use pv-grub and then you can build and run the stock gentoo kernel. See here and here.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group