[OpenAFS-devel] Re: [OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62 SPARC

William Yang wyang@tjhsst.edu
Tue, 29 May 2007 17:17:54 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0028_01C7A215.4B4A4540
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Then the best idea I can come up with right now is just to add a =
configure script check that determines what kernel version is running =
and to set an independent define for those particular code blocks.

William Yang
TJHSST Student Systems Administrator
wyang@tjhsst.edu
  ----- Original Message -----=20
  From: Dale Ghent=20
  To: William Yang=20
  Cc: Derrick J Brashear ; OpenAFS Devel=20
  Sent: Tuesday, May 29, 2007 4:36 PM
  Subject: Re: [OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62 SPARC



  (moving this to openafs-devel)

  This patch will not fly.

  You're using the new IP Instances netstack_* calls within the all-=20
  encompassing Solaris 10 #ifdef, which means that this code won't =20
  compile on < s10u4.

  /dale

  On May 15, 2007, at 6:13 PM, William Yang wrote:

  > Oops, sorry about that.  I was intending to thread on to http://=20
  > lists.openafs.org/pipermail/openafs-info/2007-May/026189.html, but =20
  > it looks like that didn't quite work the way I was hoping.  Was a =20
  > bit rushed at the time too.
  >
  > I also forgot to mention, I am using OpenAFS 1.4.4 as opposed to =20
  > 1.5.19 (which was being used in the previous thread).
  >
  > I've attached the patch.  FYI, though, I was a bit creative in =20
  > applying it to rx_knet.c since I have very little knowledge of C, =20
  > so hopefully I did it right.  Thus far, AFS has not crashed on the =20
  > machine which is using these patches, but it is a very lightly used  =

  > development-only machine.
  >
  > William Yang
  > TJHSST Student Systems Administrator
  > wyang@tjhsst.edu
  >
  > ----- Original Message -----
  > From: "Derrick J Brashear" <shadow@dementia.org>
  > To: "William Yang" <wyang@tjhsst.edu>
  > Cc: openafs-info@openafs.org
  > Sent: Tuesday, May 15, 2007 2:26:46 PM (GMT-0500) America/New_York
  > Subject: Re: [OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62 SPARC
  >
  > On Sun, 13 May 2007, William Yang wrote:
  >
  > > I'd like to suggest incorporating a good version of this patch =20
  > into the
  >
  > Context is good. Maybe you could quote "this patch", or if you've =20
  > tested
  > one, send it?
  >
  > > main source tree since this bug also affects Solaris 10 Update 4 =20
  > beta
  > > (which probably has backports from snv_6x). I've located one =20
  > location in
  > > afs_server.c and two in rx_knet.c that are affected and which I =20
  > manually
  > > patched based on the patch in the thread (in April).
  >
  > <afs_on_s10u4.patch>



  --
  Dale Ghent
  Coordinator, UNIX and Storage Systems
  UMBC - Office of Information Technology
  ENG 201 - 410-443-1705




------=_NextPart_000_0028_01C7A215.4B4A4540
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3059" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Then the best idea I can come up with =
right now is=20
just to add a configure script check that determines what kernel version =
is=20
running and to set an independent&nbsp;define for those particular code=20
blocks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>William Yang</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>TJHSST Student Systems =
Administrator</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:wyang@tjhsst.edu">wyang@tjhsst.edu</A></FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Ddaleg@umbc.edu href=3D"mailto:daleg@umbc.edu">Dale =
Ghent</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dwyang@tjhsst.edu =

  href=3D"mailto:wyang@tjhsst.edu">William Yang</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A =
title=3Dshadow@dementia.org=20
  href=3D"mailto:shadow@dementia.org">Derrick J Brashear</A> ; <A=20
  title=3Dopenafs-devel@openafs.org=20
  href=3D"mailto:openafs-devel@openafs.org">OpenAFS Devel</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, May 29, 2007 =
4:36 PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [OpenAFS] 1.5.19 =
build fails=20
  on SunOS 5.11 snv62 SPARC</DIV>
  <DIV><BR></DIV><BR>(moving this to openafs-devel)<BR><BR>This patch =
will not=20
  fly.<BR><BR>You're using the new IP Instances netstack_* calls within =
the all-=20
  <BR>encompassing Solaris 10 #ifdef, which means that this code =
won't&nbsp;=20
  <BR>compile on &lt; s10u4.<BR><BR>/dale<BR><BR>On May 15, 2007, at =
6:13 PM,=20
  William Yang wrote:<BR><BR>&gt; Oops, sorry about that.&nbsp; I was =
intending=20
  to thread on to http:// <BR>&gt;=20
  lists.openafs.org/pipermail/openafs-info/2007-May/026189.html, =
but&nbsp;=20
  <BR>&gt; it looks like that didn't quite work the way I was =
hoping.&nbsp; Was=20
  a&nbsp; <BR>&gt; bit rushed at the time too.<BR>&gt;<BR>&gt; I also =
forgot to=20
  mention, I am using OpenAFS 1.4.4 as opposed to&nbsp; <BR>&gt; 1.5.19 =
(which=20
  was being used in the previous thread).<BR>&gt;<BR>&gt; I've attached =
the=20
  patch.&nbsp; FYI, though, I was a bit creative in&nbsp; <BR>&gt; =
applying it=20
  to rx_knet.c since I have very little knowledge of C,&nbsp; <BR>&gt; =
so=20
  hopefully I did it right.&nbsp; Thus far, AFS has not crashed on =
the&nbsp;=20
  <BR>&gt; machine which is using these patches, but it is a very =
lightly=20
  used&nbsp; <BR>&gt; development-only machine.<BR>&gt;<BR>&gt; William=20
  Yang<BR>&gt; TJHSST Student Systems Administrator<BR>&gt; <A=20
  href=3D"mailto:wyang@tjhsst.edu">wyang@tjhsst.edu</A><BR>&gt;<BR>&gt; =
-----=20
  Original Message -----<BR>&gt; From: "Derrick J Brashear" &lt;<A=20
  =
href=3D"mailto:shadow@dementia.org">shadow@dementia.org</A>&gt;<BR>&gt; =
To:=20
  "William Yang" &lt;<A=20
  href=3D"mailto:wyang@tjhsst.edu">wyang@tjhsst.edu</A>&gt;<BR>&gt; Cc: =
<A=20
  =
href=3D"mailto:openafs-info@openafs.org">openafs-info@openafs.org</A><BR>=
&gt;=20
  Sent: Tuesday, May 15, 2007 2:26:46 PM (GMT-0500) =
America/New_York<BR>&gt;=20
  Subject: Re: [OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62=20
  SPARC<BR>&gt;<BR>&gt; On Sun, 13 May 2007, William Yang =
wrote:<BR>&gt;<BR>&gt;=20
  &gt; I'd like to suggest incorporating a good version of this =
patch&nbsp;=20
  <BR>&gt; into the<BR>&gt;<BR>&gt; Context is good. Maybe you could =
quote "this=20
  patch", or if you've&nbsp; <BR>&gt; tested<BR>&gt; one, send=20
  it?<BR>&gt;<BR>&gt; &gt; main source tree since this bug also affects =
Solaris=20
  10 Update 4&nbsp; <BR>&gt; beta<BR>&gt; &gt; (which probably has =
backports=20
  from snv_6x). I've located one&nbsp; <BR>&gt; location in<BR>&gt; &gt; =

  afs_server.c and two in rx_knet.c that are affected and which I&nbsp; =
<BR>&gt;=20
  manually<BR>&gt; &gt; patched based on the patch in the thread (in=20
  April).<BR>&gt;<BR>&gt; =
&lt;afs_on_s10u4.patch&gt;<BR><BR><BR><BR>--<BR>Dale=20
  Ghent<BR>Coordinator, UNIX and Storage Systems<BR>UMBC - Office of =
Information=20
  Technology<BR>ENG 201 - =
410-443-1705<BR><BR><BR><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0028_01C7A215.4B4A4540--