[OpenAFS] RHEL 7.5 beta / 3.10.0-830.el7.x86_66 kernel lock up

Gary Gatling gsgatlin@ncsu.edu
Fri, 2 Mar 2018 17:11:19 -0500


--001a1142c43882522e05667541cf
Content-Type: text/plain; charset="UTF-8"

I tried to copy/paste the patch at:


http://git.openafs.org/?p=openafs.git;a=blobdiff;f=src/afs/LINUX/osi_vnodeops.c;h=969a27b271ed3b809f1ddaa462099a5cc09d7886;hp=c1acca962337dff1cf66916c1e3e876bd8468e54;hb=a72dafafddaaa5bfe86c067a605aeffa16572c51;hpb=6d74e3d6a1becf86cec30efc2d01a5692167afe1

But it failed for me with openafs-1.6.22.2-src.tar.bz2

patching file src/afs/LINUX/osi_vnodeops.c
Hunk #1 FAILED at 53.
Hunk #2 succeeded at 296 (offset -6 lines).
Hunk #3 succeeded at 378 (offset -7 lines).
Hunk #4 FAILED at 455.
Hunk #5 FAILED at 475.
Hunk #6 FAILED at 798.
4 out of 6 hunks FAILED -- saving rejects to file
src/afs/LINUX/osi_vnodeops.c.rej


So I made my own patch based on that one.

https://pastebin.com/NZsUz9Jg

In RHEL 7.5 beta edition vm on kernel 3.10.0-830.el7.x86_64 openafs Works
like a CHAMP. :) Can list directories again. Can also edit files in afs.
Whew.

Did further testing to be paranoid. Testing listing directories and editing
a file in afs path.

Patch was applied across all distros below...

centos 6 32 bit kernel 2.6.32-696.20.1.el6.i686: works
centos 6 64 bit kernel 2.6.32-696.20.1.el6.x86_64: works
centos 7.4 64 bit kernel 3.10.0-693.17.1.el7.x86_64: works
fedora 26 64 bit kernel 4.15.6-200.fc26.x86_64: works
fedora 27 64 bit kernel  4.15.6-300.fc27.x86_64: works

Since all tests succeeded I went ahead and committed and pushed to
github.com for my packages.

https://github.com/gsgatlin/openafs-rpms/commit/fd61c9ff2c21404fba5276d7f3919ef1e6ab545d

Thank you very much!





On Fri, Mar 2, 2018 at 11:05 AM, Stephan Wiesand <stephan.wiesand@desy.de>
wrote:

>
> > On 02.Mar 2018, at 12:40, Gary Gatling <gsgatlin@ncsu.edu> wrote:
> >
> >> On Fri, Mar 2, 2018 at 4:14 AM, Stephan Wiesand <
> stephan.wiesand@desy.de> wrote:
> >>
> >>
> >> Once we have a change confirmed to fix the EL7.5 issue and not break
> other platforms, yes. Whether it will be available quite in time for 7.5 GA
> is hard to say. You can help...
> >>
> >>
> >> I will test this patch out later today and let you guys know what I
> find out. Thanks a lot.
>
> Make sure you grab the patch from set 3 (the latest revision). It might be
> the final solution.
>
> --
> Stephan Wiesand
> DESY - DV -
> Platanenallee 6
> 15738 Zeuthen, Germany
>
>
>

--001a1142c43882522e05667541cf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I tried to copy/paste the patch at:</div><div><br></d=
iv><div><br></div><div><a href=3D"http://git.openafs.org/?p=3Dopenafs.git;a=
=3Dblobdiff;f=3Dsrc/afs/LINUX/osi_vnodeops.c;h=3D969a27b271ed3b809f1ddaa462=
099a5cc09d7886;hp=3Dc1acca962337dff1cf66916c1e3e876bd8468e54;hb=3Da72dafafd=
daaa5bfe86c067a605aeffa16572c51;hpb=3D6d74e3d6a1becf86cec30efc2d01a5692167a=
fe1">http://git.openafs.org/?p=3Dopenafs.git;a=3Dblobdiff;f=3Dsrc/afs/LINUX=
/osi_vnodeops.c;h=3D969a27b271ed3b809f1ddaa462099a5cc09d7886;hp=3Dc1acca962=
337dff1cf66916c1e3e876bd8468e54;hb=3Da72dafafddaaa5bfe86c067a605aeffa16572c=
51;hpb=3D6d74e3d6a1becf86cec30efc2d01a5692167afe1</a><br></div><div><br></d=
iv><div>But it failed for me with=C2=A0openafs-1.6.22.2-src.tar.bz2</div><d=
iv><br></div><div>patching file src/afs/LINUX/osi_vnodeops.c</div><div>Hunk=
 #1 FAILED at 53.</div><div>Hunk #2 succeeded at 296 (offset -6 lines).</di=
v><div>Hunk #3 succeeded at 378 (offset -7 lines).</div><div>Hunk #4 FAILED=
 at 455.</div><div>Hunk #5 FAILED at 475.</div><div>Hunk #6 FAILED at 798.<=
/div><div>4 out of 6 hunks FAILED -- saving rejects to file src/afs/LINUX/o=
si_vnodeops.c.rej</div><div><br></div><div><br></div><div>So I made my own =
patch based on that one.</div><div><br></div><div><a href=3D"https://pasteb=
in.com/NZsUz9Jg">https://pastebin.com/NZsUz9Jg</a><br></div><div><br></div>=
<div>In RHEL 7.5 beta edition vm on kernel=C2=A03.10.0-830.el7.x86_64 opena=
fs Works like a CHAMP. :) Can list directories again. Can also edit files i=
n afs.=C2=A0 Whew.</div><div><br></div><div>Did further testing to be paran=
oid. Testing listing directories and editing a file in afs path.</div><div>=
<br></div><div>Patch was applied across all distros below...</div><div><br>=
</div><div>centos 6 32 bit kernel=C2=A02.6.32-696.20.1.el6.i686: works</div=
><div>centos 6 64 bit kernel=C2=A02.6.32-696.20.1.el6.x86_64: works</div><d=
iv>centos 7.4 64 bit kernel=C2=A03.10.0-693.17.1.el7.x86_64: works</div><di=
v>fedora 26 64 bit kernel=C2=A04.15.6-200.fc26.x86_64: works</div><div>fedo=
ra 27 64 bit kernel=C2=A0=C2=A04.15.6-300.fc27.x86_64: works</div><div><br>=
</div><div>Since all tests succeeded I went ahead and committed and pushed =
to <a href=3D"http://github.com">github.com</a> for my packages.</div><div>=
<br></div><div><a href=3D"https://github.com/gsgatlin/openafs-rpms/commit/f=
d61c9ff2c21404fba5276d7f3919ef1e6ab545d">https://github.com/gsgatlin/openaf=
s-rpms/commit/fd61c9ff2c21404fba5276d7f3919ef1e6ab545d</a><br></div><div><b=
r></div><div>Thank you very much!</div><div><br></div><div><br></div><div><=
br></div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">On Fri, Mar 2, 2018 at 11:05 AM, Stephan Wiesand <span dir=3D"=
ltr">&lt;<a href=3D"mailto:stephan.wiesand@desy.de" target=3D"_blank">steph=
an.wiesand@desy.de</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt; On 02.Mar 2018, at 12:40, Gary Gatling &lt;<a href=3D"mailto:gsgatlin@=
ncsu.edu">gsgatlin@ncsu.edu</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; On Fri, Mar 2, 2018 at 4:14 AM, Stephan Wiesand &lt;<a href=3D"mai=
lto:stephan.wiesand@desy.de">stephan.wiesand@desy.de</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Once we have a change confirmed to fix the EL7.5 issue and not bre=
ak other platforms, yes. Whether it will be available quite in time for 7.5=
 GA is hard to say. You can help...<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I will test this patch out later today and let you guys know what =
I find out. Thanks a lot.<br>
<br>
</div></div>Make sure you grab the patch from set 3 (the latest revision). =
It might be the final solution.<br>
<span class=3D"im HOEnZb"><br>
--<br>
Stephan Wiesand<br>
DESY - DV -<br>
</span><div class=3D"HOEnZb"><div class=3D"h5">Platanenallee 6<br>
15738 Zeuthen, Germany<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--001a1142c43882522e05667541cf--