[Devel] etercifs в Сизифе

Evgeny Sinelnikov sin на etersoft.ru
Пн Окт 31 23:02:34 MSK 2011


Здравствуйте,

обновился до Сизифа, обнаружил вот такую штуку:
$ sudo mount //age/srv ~/mnt/srv/ -onoperm,user=sin
mount: неизвестный тип файловой системы 'cifs'

Заметил файлик:
$ cat /etc/modprobe.d/etersoft.conf
# wine на etersoft
install cifs /sbin/modprobe etercifs
blacklist cifs
$ rpm -qf /etc/modprobe.d/etersoft.conf
etercifs-5.0.1-alt1

Собрал etercifs:
$ sudo service etercifs build

Building etercifs 5.0.1 for 3.0.8-std-def-alt1 Linux kernel (headers
in /lib/modules/3.0.8-std-def-alt1/build)
Use GCC 4.5
/usr/bin/gcc-4.5
Checking the kernel configuration...
OK
Setting etercifs version: OK
make: Entering directory `/usr/src/linux-3.0.8-std-def-alt1'
make: Leaving directory `/usr/src/linux-3.0.8-std-def-alt1'
make: Entering directory `/usr/src/linux-3.0.8-std-def-alt1'
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/cifsfs.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/cifssmb.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/cifs_debug.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/connect.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/dir.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/file.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/inode.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/link.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/misc.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/netmisc.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/smbencrypt.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/transport.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/asn1.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/cifs_unicode.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/nterr.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/xattr.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/cifsencrypt.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/readdir.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/ioctl.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/sess.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/export.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/cifs_spnego.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/dns_resolve.o
  CC [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/cifs_dfs_ref.o
  LD [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/etercifs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/etercifs.mod.o
  LD [M]  /tmp/Etercifs.HEPaMoge/kernel-source-etercifs-3.0-1.74/etercifs.ko
make: Leaving directory `/usr/src/linux-3.0.8-std-def-alt1'
Stripping module etercifs.ko ...
Copying built module to /lib/modules/3.0.8-std-def-alt1/kernel/fs/cifs
Do depmod -Ae for 3.0.8-std-def-alt1 kernel
WARNING: -e needs -E or -F

Получил вот такую проблему:
$ sudo mount //age/srv ~/mnt/srv/ -onoperm,user=sin
mount: wrong fs type, bad option, bad superblock on //age/srv,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       В некоторых случаях полезная информация может быть
       найдена в syslog - попробуйте dmesg | tail или что-то
       в этом роде

$ dmesg |tail
....
[11585.104117] CIFS VFS: cifs_mount failed w/return code = -22

$ uname -r
3.0.8-std-def-alt1


Как быть?


-- 
Sin (Sinelnikov Evgeny)


Подробная информация о списке рассылки Devel