[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: how to debug this fuse problem



Hi

  I met the same error message today and got it fixed in following way:

root@myhost01 grub]# dmesg |grep fuse
[5174104.384024] fuse: disagrees about version of symbol iov_iter_get_pages
[5174104.384027] fuse: Unknown symbol iov_iter_get_pages (err -22)
[5174118.853162] fuse: disagrees about version of symbol iov_iter_get_pages
[5174118.853166] fuse: Unknown symbol iov_iter_get_pages (err -22)
...

[root@myhost01 grub]# modprobe fuse
ERROR: could not insert 'fuse': Invalid argument

[root@myhost01 grub]# uname -r
3.16.0-0.bpo.4-amd64

[root@myhost01 grub]# dpkg-query -W 'linux-image-3.16.0-0.bpo.4-amd64'
linux-image-3.16.0-0.bpo.4-amd64    3.16.7-ckt4-3~bpo70+1

The following command shows that we should not concern about what is ckt4, which can be considered a group of package
[root@myhost01 grub]# dpkg -l |grep 3.16.7-ckt4-3
ii linux-compiler-gcc-4.6-x86 3.16.7-ckt4-3~bpo70+1 amd64 Compiler for Linux on x86 (meta-package) ii linux-headers-3.16.0-0.bpo.4-amd64 3.16.7-ckt4-3~bpo70+1 amd64 Header files for Linux 3.16.0-0.bpo.4-amd64 ii linux-headers-3.16.0-0.bpo.4-common 3.16.7-ckt4-3~bpo70+1 amd64 Common header files for Linux 3.16.0-0.bpo.4 ii linux-image-3.16.0-0.bpo.4-amd64 3.16.7-ckt4-3~bpo70+1 amd64 Linux 3.16 for 64-bit Pcs


[root@myhost01 grub]# strace modprobe fuse
execve("/sbin/modprobe", ["modprobe", "fuse"], [/* 18 vars */]) = 0
brk(0)                                  = 0x7fb341646000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb340dcb000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=37031, ...}) = 0
mmap(NULL, 37031, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb340dc1000
close(3)                                = 0
...
open("/sys/module/fuse/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/sys/module/fuse", 0x7fffd899d190) = -1 ENOENT (No such file or directory) open("/sys/module/fuse/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/sys/module/fuse", 0x7fffd899d190) = -1 ENOENT (No such file or directory) open("/lib/modules/3.16.0-0.bpo.4-amd64/kernel/fs/fuse/fuse.ko", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=164264, ...}) = 0
mmap(NULL, 164264, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb3405e4000
init_module(0x7fb3405e4000, 164264, "") = -1 EINVAL (Invalid argument)
munmap(0x7fb3405e4000, 164264)          = 0
close(3)                                = 0
write(2, "ERROR: could not insert 'fuse': "..., 49ERROR: could not insert 'fuse': Invalid argument
) = 49
munmap(0x7fb340d42000, 505175)          = 0
munmap(0x7fb340c6f000, 863489)          = 0
munmap(0x7fb340bee000, 524731)          = 0
munmap(0x7fb340dc9000, 4256)            = 0
exit_group(1)                           = ?

[root@myhost01 ~]# dpkg -l |grep fuse
ii libfuse2:amd64 2.9.0-2+deb7u1 amd64 Filesystem in Userspace (library)

Above two commands show the package fuse is not installed, only libfuse2 package is installed. This is the problem!

[root@myhost01 module]# aptitude install  fuse

[root@myhost01 module]# dpkg -l |grep fuse
ii  fuse 2.9.0-2+deb7u1                amd64        Filesystem in Userspace
ii libfuse2:amd64 2.9.0-2+deb7u1 amd64 Filesystem in Userspace (library)

You must reboot the server to make it work

[root@myhost01 module]# shutdown -r now

[root@myhost01 ~]# modprobe fuse
[root@myhost01 ~]# echo $?
0

[root@myhost01 ~]# lsmod |grep fuse
fuse                   87557  1


Reply to: