[OpenAFS-devel] Re: having trouble compiling openafs kernel module in kernel 4.5

Stephan Wiesand stephan.wiesand@desy.de
Fri, 3 Jun 2016 21:13:16 +0200


On Jun 3, 2016, at 20:31 , Gary Gatling wrote:

> Has there been any progress on kernel 4.5? fedora 23
> shipped 4.5.5-201.fc23.x86_64 today and my openafs is broke. This =
makes me
> very sad.
>=20
> When I try to compile it I get these errors:
>=20
> https://paste.fedoraproject.org/374192/14649784/
>=20
> I am using:
>=20
> 0001-Linux-3.13-Check-return-value-from-bdi_init.patch
> 0002-Linux-4.5-no-highmem-in-symlink-ops.patch
> 0003-Linux-4.5-get_link-instead-of-follow_link-put_link.patch
> 0005-Linux-4.5-don-t-access-i_mutex-directly.patch
>=20
> with openafs-1.6.18-src.tar.bz2
>=20
> Am I missing some patches?
>=20
> Thanks for any ideas anyone may have on how to compile openafs on 4.5
> kernel. I know its possible since Arch Linux pulled it off.

Alas, if so, they haven't bothered submitting the magic patch to =
gerrit.openafs.org. The changes under =
https://gerrit.openafs.org/#/q/status:open+project:openafs+branch:master+t=
opic:linux45 are all we have. I'll take your message as a report that =
those changes are not sufficient to cope with Linux 4.5. It makes me =
very sad.

> On Wed, Apr 6, 2016 at 1:24 PM, Gary Gatling <gsgatlin@ncsu.edu> =
wrote:
>=20
>> Here is my build log:
>>=20
>> http://fpaste.org/350505/99628291/
>>=20
>> This is in fedora 24 alpha version which will be released in June.
>>=20
>> It seems to have problems with symlinks somehow.
>>=20
>> Any one have any ideas about how it could be patched? The kernel =
version
>> is 4.5.0-302.fc24.x86_64.
>>=20
>> Thanks,