[OpenAFS] kernel 5.0.3 openafs issues in fedora linux
Rich Sudlow
rich@nd.edu
Mon, 25 Mar 2019 14:25:40 -0400
On 3/25/19 1:21 PM, Gary Gatling wrote:
> 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?
As mentioned OpenAFS 1.8.3pre1 worked fine for me. I'd recommend that.
Rich
>
> 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 ‘SRXAFSCB_GetCE’:
> /var/lib/dkms/openafs/1.8.2/build/src/afs/LINUX/osi_machdep.h:101:8: error:
> implicit declaration of function ‘do_gettimeofday’; did you mean
> ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
> do_gettimeofday(&__afs_tv); \
> ^~~~~~~~~~~~~~~
> /var/lib/dkms/openafs/1.8.2/build/src/afs/afs_osi.h:170:25: note: in expansion
> of macro ‘osi_GetTime’
> #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 ‘osi_GetuTime’
> 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 ‘XSTATS_START_CMTIME’
> 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.
>
--
Rich Sudlow
University of Notre Dame
Center for Research Computing - Union Station
506 W. South St
South Bend, In 46601
(574) 631-7258 (office)
(574) 807-1046 (cell)