Re: kernel 5.0.3 openafs issues in fedora linux

Gary Gatling <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.general
Message-ID <CAG5Ck-4tHGWCyryq-hHuTFbBw5YAyyvXoSi1=Td5fjGx1JJYJQ@mail.gmail.com>
Sorry for the trouble. I was able to find that after all. Please disregard.

On Mon, Mar 25, 2019 at 5:23 PM Gary Gatling <[email protected]> wrote:

> I'm really sorry but I'm having trouble finding it on the web site.
>
> I made a patch for e7d8dc01cc1f0592eaecea5b87990097e9e59b88
>
> but I can't find
>
> 804fefa6b46ed75921a1560a9e6b37842eabc94a
> Linux_5.0: replaced current_kernel_time with ktime_get_coarse_real_ts64
>
> and
>
> 25829aaef319728e30fc45895e8945438e4dc719 Linux_5.0:
>  Use super_block flags instead of Mount flags when filling sb
>
> Do you have a link to those 2 patches? Sorry for the trouble.
>
> or
>
>
>
> On Mon, Mar 25, 2019 at 1:56 PM Cheyenne Wills <[email protected]>
> wrote:
>
>> There were three patches needed to get openafs to build on a Linux 5.0
>> kernel.  They were merged into the master openafs-stable-1_8_x branch
>> sometime mid January and are included in 1.8.3-pre1
>>
>> 25829aaef319728e30fc45895e8945438e4dc719 Linux_5.0: Use super_block
>> flags instead of Mount flags when filling sb
>>
>> e7d8dc01cc1f0592eaecea5b87990097e9e59b88 Linux_5.0: replace
>> do_gettimeofday with ktime_get_real_ts64
>>
>> 804fefa6b46ed75921a1560a9e6b37842eabc94a Linux_5.0: replaced
>> current_kernel_time with ktime_get_coarse_real_ts64
>> ------------------------------
>> *From:* [email protected] <[email protected]>
>> on behalf of Gary Gatling <[email protected]>
>> *Sent:* Monday, March 25, 2019 11:21:11 AM
>> *To:* openafs-info
>> *Subject:* [OpenAFS] kernel 5.0.3 openafs issues in fedora linux
>>
>> 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 ‘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.
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.