[OpenAFS] kernel 5.0.3 openafs issues in fedora linux
Gary Gatling
gsgatlin@ncsu.edu
Mon, 25 Mar 2019 13:21:11 -0400
--000000000000f5c6400584ee6e04
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hello,
I'm having trouble getting openafs to work in fedora 29 with
kernel 5.0.3-200.fc29.x86_64
This is how it fails on kernel module build. Does anyone know if there is a
patch to get around this error?
CC [M]
/var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-=
MP/afs_callback.o
In file included from
/var/lib/dkms/openafs/1.8.2/build/src/afs/afs_osi.h:440,
from
/var/lib/dkms/openafs/1.8.2/build/src/rx/rx_clock.h:46,
from /var/lib/dkms/openafs/1.8.2/build/src/rx/rx.h:57,
from
/var/lib/dkms/openafs/1.8.2/build/src/afs/afsincludes.h:30,
from
/var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-=
MP/afs_callback.c:21:
/var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-=
MP/afs_callback.c:
In function =E2=80=98SRXAFSCB_GetCE=E2=80=99:
/var/lib/dkms/openafs/1.8.2/build/src/afs/LINUX/osi_machdep.h:101:8: error:
implicit declaration of function =E2=80=98do_gettimeofday=E2=80=99; did you=
mean
=E2=80=98do_settimeofday64=E2=80=99? [-Werror=3Dimplicit-function-declarati=
on]
do_gettimeofday(&__afs_tv); \
^~~~~~~~~~~~~~~
/var/lib/dkms/openafs/1.8.2/build/src/afs/afs_osi.h:170:25: note: in
expansion of macro =E2=80=98osi_GetTime=E2=80=99
#define osi_GetuTime(x) osi_GetTime(x)
^~~~~~~~~~~
/var/lib/dkms/openafs/1.8.2/build/src/afs/afs_stats.h:61:3: note: in
expansion of macro =E2=80=98osi_GetuTime=E2=80=99
osi_GetuTime(&opStartTime);
^~~~~~~~~~~~
/var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-=
MP/afs_callback.c:113:5:
note: in expansion of macro =E2=80=98XSTATS_START_CMTIME=E2=80=99
XSTATS_START_CMTIME(AFS_STATS_CM_RPCIDX_GETCE);
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:277:
/var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-=
MP/afs_callback.o]
Error 1
make[3]: *** [Makefile:1557:
_module_/var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29=
.x86_64-MP]
Error 2
make[3]: Leaving directory '/usr/src/kernels/5.0.3-200.fc29.x86_64'
FAILURE: make exit code 2
make[2]: *** [Makefile.afs:280: libafs.ko] Error 1
make[2]: Leaving directory
'/var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64=
-MP'
make[1]: *** [Makefile:187: linux_compdirs] Error 2
make[1]: Leaving directory '/var/lib/dkms/openafs/1.8.2/build/src/libafs'
make: *** [Makefile:15: all] Error 2
mv: cannot stat 'src/libafs/MODLOAD-*/libafs.ko': No such file or directory
It was working with a patch in the 4.20 series.
--000000000000f5c6400584ee6e04
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div>Hello,</div><div dir=3D"ltr"><br></d=
iv><div dir=3D"ltr">I'm having trouble getting openafs to work in fedor=
a 29 with kernel=C2=A05.0.3-200.fc29.x86_64</div><div dir=3D"ltr"><br></div=
><div>This is how it fails on kernel module build. Does anyone know if ther=
e is a patch to get around this error?</div><div><br></div><div><div>=C2=A0=
CC [M]=C2=A0 /var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-20=
0.fc29.x86_64-MP/afs_callback.o</div><div>In file included from /var/lib/dk=
ms/openafs/1.8.2/build/src/afs/afs_osi.h:440,</div><div>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /var/lib/dkms/openafs/1.8=
.2/build/src/rx/rx_clock.h:46,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0from /var/lib/dkms/openafs/1.8.2/build/src/rx/r=
x.h:57,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0from /var/lib/dkms/openafs/1.8.2/build/src/afs/afsincludes.h:30,</div=
><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /v=
ar/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-MP=
/afs_callback.c:21:</div><div>/var/lib/dkms/openafs/1.8.2/build/src/libafs/=
MODLOAD-5.0.3-200.fc29.x86_64-MP/afs_callback.c: In function =E2=80=98SRXAF=
SCB_GetCE=E2=80=99:</div><div>/var/lib/dkms/openafs/1.8.2/build/src/afs/LIN=
UX/osi_machdep.h:101:8: error: implicit declaration of function =E2=80=98do=
_gettimeofday=E2=80=99; did you mean =E2=80=98do_settimeofday64=E2=80=99? [=
-Werror=3Dimplicit-function-declaration]</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 do_gettimeofday(&__afs_tv);=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\</div><div>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~~~</div><div>/var/lib/dkms/openafs/1.=
8.2/build/src/afs/afs_osi.h:170:25: note: in expansion of macro =E2=80=98os=
i_GetTime=E2=80=99</div><div>=C2=A0#define osi_GetuTime(x) osi_GetTime(x)</=
div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~</div><div>/var/lib/dkms/openafs/1.8.2/b=
uild/src/afs/afs_stats.h:61:3: note: in expansion of macro =E2=80=98osi_Get=
uTime=E2=80=99</div><div>=C2=A0 =C2=A0osi_GetuTime(&opStartTime);</div>=
<div>=C2=A0 =C2=A0^~~~~~~~~~~~</div><div>/var/lib/dkms/openafs/1.8.2/build/=
src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-MP/afs_callback.c:113:5: note: in =
expansion of macro =E2=80=98XSTATS_START_CMTIME=E2=80=99</div><div>=C2=A0 =
=C2=A0 =C2=A0XSTATS_START_CMTIME(AFS_STATS_CM_RPCIDX_GETCE);</div><div>=C2=
=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~</div><div>cc1: some warnings being tre=
ated as errors</div><div>make[4]: *** [scripts/Makefile.build:277: /var/lib=
/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-MP/afs_c=
allback.o] Error 1</div><div>make[3]: *** [Makefile:1557: _module_/var/lib/=
dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_64-MP] Error=
2</div><div>make[3]: Leaving directory '/usr/src/kernels/5.0.3-200.fc2=
9.x86_64'</div><div>FAILURE: make exit code 2</div><div>make[2]: *** [M=
akefile.afs:280: libafs.ko] Error 1</div><div>make[2]: Leaving directory &#=
39;/var/lib/dkms/openafs/1.8.2/build/src/libafs/MODLOAD-5.0.3-200.fc29.x86_=
64-MP'</div><div>make[1]: *** [Makefile:187: linux_compdirs] Error 2</d=
iv><div>make[1]: Leaving directory '/var/lib/dkms/openafs/1.8.2/build/s=
rc/libafs'</div><div>make: *** [Makefile:15: all] Error 2</div><div>mv:=
cannot stat 'src/libafs/MODLOAD-*/libafs.ko': No such file or dire=
ctory</div></div><div><br></div><div>It was working with a patch in the 4.2=
0 series.</div><div><br></div></div></div>
--000000000000f5c6400584ee6e04--