[OpenAFS] OpenAFS with future Linux kernel 3.13

Jose Manuel dos Santos Calhariz jose.calhariz@tecnico.ulisboa.pt
Wed, 11 Dec 2013 17:59:39 +0000


Is anyone using OpenAFS with the future Linux kernel 3.13?

I need to use kernel 3.13.0-rc1 and 3.13.0-rc2 with OpenAFS for a=20
OpenAFS fileserver, but I get compile errors:

(...)
   CC [M]=20
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_vm.o
   CC [M]=20
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_export.o
   CC [M]=20
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_nfssrv.o
   CC [M]=20
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_proc.o
   CC [M]=20
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_vnodeops.o
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_vnodeops.c:737:3:=20
error: unknown field =E2=80=98readdir=E2=80=99 specified in initializer
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_vnodeops.c:737:3:=20
warning: initialization from incompatible pointer type [enabled by defaul=
t]
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_vnodeops.c:737:3:=20
warning: (near initialization for =E2=80=98afs_dir_fops.write=E2=80=99) [=
enabled by default]
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_vnodeops.c:=20
In function =E2=80=98afs_linux_rename=E2=80=99:
/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/os=
i_vnodeops.c:1651:27:=20
error: =E2=80=98struct dentry=E2=80=99 has no member named =E2=80=98d_cou=
nt=E2=80=99
make[4]: ***=20
[/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP/o=
si_vnodeops.o]=20
Error 1
make[3]: ***=20
[_module_/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-=
dsi-SP]=20
Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.13.0-rc2-dsi'
rm .makelog
echo "Packaging Friendly Build Complete"
Packaging Friendly Build Complete
make[2]: Leaving directory=20
`/var/lib/dkms/openafs/1.6.5/build/src/libafs/MODLOAD-3.13.0-rc2-dsi-SP'
make[1]: Leaving directory `/var/lib/dkms/openafs/1.6.5/build/src/libafs'=


I am using Debian stable, the package openafs-module-dkms is for=20
compiling the openafs module for the running kernel.

The kernel is 3.13.0-rc2 compiled from git repository and packaged into=20
a Debian package using kernel-package.  The idea is
to setup a OpenAFS fileserver using SSD and bache for accelerating HDD=20
disks in RAID6. The bcache module is much more stable
in kernel 3.13.0-rc1, than is in previous kernels.

Jose Calhariz

--=20
--=20
Hoje destrui o espelho do meu quarto. N=C3=A3o preciso mais de =C3=ADdolo=
s.