LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2455|回复: 6

[解决]编译2.6.23后,module fuse not found!

[复制链接]
发表于 2007-11-2 10:46:39 | 显示全部楼层 |阅读模式
如题,尝试emerge -av sys-fs/fuse
发现如下错误:
*   You need to build the FUSE module from the kernel source, because your kernel is too new
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
*
* ERROR: sys-fs/fuse-2.7.1 failed.
* Call stack:
*           ebuild.sh, line 1711:  Called dyn_setup
*           ebuild.sh, line  762:  Called qa_call 'pkg_setup'
*           ebuild.sh, line   44:  Called pkg_setup
*   fuse-2.7.1.ebuild, line   29:  Called linux-mod_pkg_setup
*    linux-mod.eclass, line  465:  Called linux-info_pkg_setup
*   linux-info.eclass, line  576:  Called check_extra_config
*   linux-info.eclass, line  475:  Called die
* The specific snippet of code:
*              die "Incorrect kernel configuration options"
*  The die message:
*   Incorrect kernel configuration options
*
* 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.1/temp/build.log'.
*
不知道编译内核选项中哪里有fuse模块?
发表于 2007-11-2 12:47:31 | 显示全部楼层
make menuconfig有个搜索功能
按/
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-2 15:48:47 | 显示全部楼层
Post by zhllg
make menuconfig有个搜索功能
按/

File systems --->
    Filesystem in Userspace support
或者直接编辑.config也行。
找到了,谢谢!
不过编译的时候出来一个提示:
Should I make a bootdisk? (y/N)

我选y。

Insert a floppy diskette into your boot drive, and press <Return>.

Creating a lilo bootdisk...
Could not stat /dev/fd0 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
mount: special device /dev/fd0 does not exist
Kernel is at /boot/vmlinuz-2.6.23-gentoo in /boot
/usr/sbin/mkboot: line 107: /etc/lilo.conf: No such file or directory
Could not find the requested kernel in your
   current /etc/lilo.conf .
The mkboot script can probably do better.

Here is the proposed lilo.conf:

# floppy lilo.conf
        boot = /dev/fd0
        install = boot.b
        map = map
root = /dev/hda9

You can install the boot-loader from this best guess,
or you can try to install from a `vanilla\' lilo.conf .

Which do you choose? (Enter B for best, V for vanilla): umount: /dev/fd0: not found
rmdir: /tmp/boot6596: Directory not empty


这个是要装lilo吗?我怕了,没见过这玩意
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-2 15:57:40 | 显示全部楼层
这两个命令是一样的吗?
make modules_install
make modules install?
回复 支持 反对

使用道具 举报

发表于 2007-11-2 16:05:17 | 显示全部楼层
不需要bootdisk
make modules_install是安装模块
make modules install是make modules && make install,就是编译模块和安装内核
回复 支持 反对

使用道具 举报

发表于 2007-11-2 18:23:14 | 显示全部楼层
make modules 在新内核(2.6系列)中已经被废弃了,目前标准的编译内核过程是:
  1. make mrproper #清理上次编译的现场
  2. make menuconfig #配置内核
  3. make #编译内核及内核模块
  4. make modules_install #将内核模块安装到 /lib/modules
  5. make install #将内核 vmlinuz 安装到 /boot/
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-11-2 19:13:32 | 显示全部楼层
grep -rHn ^modules: /usr/src/linux/Makefile

如果你想只编译模块还是可以的
我们不是在讨论2.6内核的正确编译步骤
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表