[OpenAFS] Strange Behavior of Openafs-1.1.1

Derek Atkins warlord@MIT.EDU
07 Aug 2001 08:28:52 -0400


You also might need to apply the patch that Derrick sent out the
other day.

-derek

<caldwell@lamar.colostate.edu> writes:

> As an answer to the second question, everything seems to load without error. 
> 
> The first is a bit more difficult, I will recompile and try without the ext3
> patch but I will say this configuration functioned perfectly with the 2.4.3
> kernel...
> 
> Loren 
> 
> On 07-Aug-2001 Derek Atkins wrote:
> > 1) What happens if you try without the ext3 journaling patch?
> > 
> > 2) Are there any kernel log messages when you start AFS (and it fails)?
> > 
> > -derek
> > 
> > <caldwell@lamar.colostate.edu> writes:
> > 
> >> Okay,
> >> 
> >>  I just got back after a short vacation. Let me explain my situation a
> >>  little
> >> more clearly. In my case I had openafs working perfectly under the vanilla
> >> 2.4.3 kernel and due to some other requirement was forced to move to at
> >> least
> >> 2.4.6. At this point I recompiled the openafs-1.0.4 libafs module with
> >> complete
> >> ease and installed it just as before. Upon starting afs I noticed it seemed
> >> to
> >> load much faster than prviously. As a check I kloged into the
> >> slac.stanford.edu
> >> server successfully and did a df to see if the afs directories were truely
> >> mounted. All seemed okay, but upon an attempt to enter any afs directory I
> >> got
> >> the error message, "cd: /afs: Not a directory". At this point I upgraded to
> >> afs-1.1.1 and vanilla kernel 2.4.7 with the same results. The only patch I
> >> am
> >> applying to the kernel source is the ext3 journaling patch.
> >> 
> >> Thanks
> >> 
> >> Loren 
> >> 
> >> > So the 2.4.6-2 kernel was from Mandrake?  I believe that Mandrake
> >> > kernels are not "supported" by OpenAFS (at least until someone
> >> > identifies the actual patch that causes the problem).  I'm not
> >> > surprised it works with the Red Hat 2.4.3-12 kernel; that has been
> >> > tested.  It should also work with a kernel.org kernel, even though you
> >> > never tried it.
> >> > 
> >> > The server doesn't depend on the kernel module; it's all user-space.
> >> > So that should work on just about anything.
> >> > 
> >> > -derek
> >> > 
> >> >> Corey
> >> >> 
> >> >> Derek Atkins wrote:
> >> >> 
> >> >> > So you compiled OpenAFS 1.1.1 from source on your system
> >> >> > against kernel 2.4.7, installed the module, and it still
> >> >> > didn't work?  Does the module actually load properly?
> >> >> > Does AFS actually get mounted?  Did you "mkdir /afs" before
> >> >> > you ran afsd?
> >> >> >
> >> >> > -derek
> >> >> >
> >> >> > <caldwell@lamar.colostate.edu> writes:
> >> >> >
> >> >> > > I forgot to say that I am using a vanilla kernel...
> >> >> > >
> >> >> > > Loren
> >> >> > > On 01-Aug-2001 Derek Atkins wrote:
> >> >> > > > Are you using a kernel.org kernel or a Mandrake kernel?  IIRC there
> >> >> > > > was a problem with the Mandrake kernels where they include some
> >> >> > > > patches that aren't supported by AFS.  Try using a kernel from
> >> >> > > > kernel.org and rebuild your kernel module.
> >> >> > > >
> >> >> > > > -derek
> >> >> > > >
> >> >> > > > Loren Caldwell <caldwell@lamar.colostate.edu> writes:
> >> >> > > >
> >> >> > > >> Anyone,
> >> >> > > >>
> >> >> > > >> I am running Mandrake 8.0, openafs-1.0.4, and kernel 2.4.5
> >> >> > > >> successfully.
> >> >> > > >> Due to other requirements I have been forced to use a 2.4.6->7
> >> >> > > >> kernel
> >> >> > > >> on
> >> >> > > >> one of my server boxes. Installing the rpms and compiling the
> >> >> > > >> kernel
> >> >> > > >> source to generate the correct afs module goes quite nicely. When
> >> >> > > >> I
> >> >> > > >> start the afs services I receive no error messages, and can klog
> >> >> > > >> successfully. When I attempt to access the afs volumes, however, I
> >> >> > > >> get
> >> >> > > >> this message "cd: /afs: Not a directory". I have upgraded to
> >> >> > > >> openafs-1.1.1 and kernel 2.4.7 with the same results. I have also
> >> >> > > >> downloaded the source tarball and compiled and installed from the
> >> >> > > >> source
> >> >> > > >> with the same results. At this point I would appreciate any help
> >> >> > > >> anyone
> >> >> > > >> has to offer.
> >> >> > > >>
> >> >> > > >> Thanks
> >> >> > > >>
> >> >> > > >> Loren Caldwell
> >> >> > > >>
> >> >> > > >> ----
> >> >> > > >> physics network manager
> >> >> > > >> Colorado State University
> >> >> > > >> caldwell@lamar.colostate.edu
> >> >> > > >> _______________________________________________
> >> >> > > >> OpenAFS-info mailing list
> >> >> > > >> OpenAFS-info@openafs.org
> >> >> > > >> https://lists.openafs.org/mailman/listinfo/openafs-info
> >> >> > > >
> >> >> > > > --
> >> >> > > >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >> >> > > >        Member, MIT Student Information Processing Board  (SIPB)
> >> >> > > >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >> >> > > >        warlord@MIT.EDU                        PGP key available
> >> >> > > > _______________________________________________
> >> >> > > > OpenAFS-info mailing list
> >> >> > > > OpenAFS-info@openafs.org
> >> >> > > > https://lists.openafs.org/mailman/listinfo/openafs-info
> >> >> > >
> >> >> > > ----------------------------------
> >> >> > > Loren Caldwell
> >> >> > > Physics Dept. Network Manager Colorado State University
> >> >> > > Phone/Fax  : (970) 491-5683 / (970) 491-7947
> >> >> > > E-Mail     : caldwell@lamar.colostate.edu
> >> >> > > 16:17:51      01-Aug-2001
> >> >> > > ----------------------------------
> >> >> >
> >> >> > --
> >> >> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >> >> >        Member, MIT Student Information Processing Board  (SIPB)
> >> >> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >> >> >        warlord@MIT.EDU                        PGP key available
> >> >> > _______________________________________________
> >> >> > OpenAFS-info mailing list
> >> >> > OpenAFS-info@openafs.org
> >> >> > https://lists.openafs.org/mailman/listinfo/openafs-info
> >> >> 
> >> >> --
> >> >> Corey Kovacs               "I know not with what weapons World War III
> >> >> Computer Science Dept.      will be fought, but World War IV will be
> >> >> DePauw University.          fought with sticks and stones."
> >> >> 765.658.4761                            - Albert Einstein
> >> >> 
> >> >> 
> >> >> 
> >> >> --Boundary_(ID_OZIaTnMjbuj2lfQD6NAXaQ)
> >> >> Content-type: text/html; charset=us-ascii
> >> >> Content-transfer-encoding: 7BIT
> >> >> 
> >> >> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> >> >> <html>
> >> >> This sounds like the problem I had a few days ago. I ended up moving
> >> >> <br>back to a redhat kernel (2.4.3-12) and recompiling the openafs-1.1.1
> >> >> suite
> >> >> <br>from the source rpm. Everything seems to work now.
> >> >> <p>I had started out with OAFS-1.0.4 on the server with a kernel.org
> >> >> 2.4.5.
> >> >> I
> >> >> <br>then tried to upgrade to a 2.4.6-2 rpm kernel and compile OAFS 1.1.1.
> >> >> The
> >> >> <br>server worked as far as I could tell (except for the vos syncvldb
> >> >> core
> >> >> dump)
> >> >> <br>but the client would not recognice the afs directory. It simple gave
> >> >> the error
> >> >> <br>mentioned below.
> >> >> <p>By the way, the 2.4.6-2 kernel rpm was NOT from redhat, but the
> >> >> 2.4.3-12
> >> >> <br>version is. I have not tried it with a virgin kernel.org kernel. Nor
> >> >> have I had
> >> >> <br>time to go through the redhat patches one by one to see what breaks
> >> >> it. I just
> >> >> <br>wanted to mention this since his is not an isolated incident.
> >> >> <p>Corey
> >> >> <p>Derek Atkins wrote:
> >> >> <blockquote TYPE=CITE>So you compiled OpenAFS 1.1.1 from source on your
> >> >> system
> >> >> <br>against kernel 2.4.7, installed the module, and it still
> >> >> <br>didn't work?&nbsp; Does the module actually load properly?
> >> >> <br>Does AFS actually get mounted?&nbsp; Did you "mkdir /afs" before
> >> >> <br>you ran afsd?
> >> >> <p>-derek
> >> >> <p>&lt;caldwell@lamar.colostate.edu> writes:
> >> >> <p>> I forgot to say that I am using a vanilla kernel...
> >> >> <br>>
> >> >> <br>> Loren
> >> >> <br>> On 01-Aug-2001 Derek Atkins wrote:
> >> >> <br>> > Are you using a kernel.org kernel or a Mandrake kernel?&nbsp;
> >> >> IIRC
> >> >> there
> >> >> <br>> > was a problem with the Mandrake kernels where they include some
> >> >> <br>> > patches that aren't supported by AFS.&nbsp; Try using a kernel
> >> >> from
> >> >> <br>> > kernel.org and rebuild your kernel module.
> >> >> <br>> >
> >> >> <br>> > -derek
> >> >> <br>> >
> >> >> <br>> > Loren Caldwell &lt;caldwell@lamar.colostate.edu> writes:
> >> >> <br>> >
> >> >> <br>> >> Anyone,
> >> >> <br>> >>
> >> >> <br>> >> I am running Mandrake 8.0, openafs-1.0.4, and kernel 2.4.5
> >> >> successfully.
> >> >> <br>> >> Due to other requirements I have been forced to use a 2.4.6->7
> >> >> kernel on
> >> >> <br>> >> one of my server boxes. Installing the rpms and compiling the
> >> >> kernel
> >> >> <br>> >> source to generate the correct afs module goes quite nicely.
> >> >> When
> >> >> I
> >> >> <br>> >> start the afs services I receive no error messages, and can klog
> >> >> <br>> >> successfully. When I attempt to access the afs volumes, however,
> >> >> I get
> >> >> <br>> >> this message "cd: /afs: Not a directory". I have upgraded to
> >> >> <br>> >> openafs-1.1.1 and kernel 2.4.7 with the same results. I have
> >> >> also
> >> >> <br>> >> downloaded the source tarball and compiled and installed from
> >> >> the source
> >> >> <br>> >> with the same results. At this point I would appreciate any help
> >> >> anyone
> >> >> <br>> >> has to offer.
> >> >> <br>> >>
> >> >> <br>> >> Thanks
> >> >> <br>> >>
> >> >> <br>> >> Loren Caldwell
> >> >> <br>> >>
> >> >> <br>> >> ----
> >> >> <br>> >> physics network manager
> >> >> <br>> >> Colorado State University
> >> >> <br>> >> caldwell@lamar.colostate.edu
> >> >> <br>> >> _______________________________________________
> >> >> <br>> >> OpenAFS-info mailing list
> >> >> <br>> >> OpenAFS-info@openafs.org
> >> >> <br>> >> <a
> >> >> href="https://lists.openafs.org/mailman/listinfo/openafs-info">https://lis
> >> >> ts.
> >> >> openafs.org/mailman/listinfo/openafs-info</a>
> >> >> <br>> >
> >> >> <br>> > --
> >> >> <br>> >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Derek Atkins, SB '93
> >> >> MIT EE, SM '95 MIT Media Laboratory
> >> >> <br>> >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Member, MIT Student
> >> >> Information
> >> >> Processing Board&nbsp; (SIPB)
> >> >> <br>> >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URL: <a
> >> >> href="http://web.mit.edu/warlord/">http://web.mit.edu/warlord/</a>&nbsp;&n
> >> >> bsp
> >> >> ;&nbsp;
> >> >> PP-ASEL-IA&nbsp;&nbsp;&nbsp;&nbsp; N1NWH
> >> >> <br>> >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> >> >> warlord@MIT.EDU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
> >> >> ;&n
> >> >> bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
> >> >> p;
> >> >> PGP key available
> >> >> <br>> > _______________________________________________
> >> >> <br>> > OpenAFS-info mailing list
> >> >> <br>> > OpenAFS-info@openafs.org
> >> >> <br>> > <a
> >> >> href="https://lists.openafs.org/mailman/listinfo/openafs-info">https://lis
> >> >> ts.
> >> >> openafs.org/mailman/listinfo/openafs-info</a>
> >> >> <br>>
> >> >> <br>> ----------------------------------
> >> >> <br>> Loren Caldwell
> >> >> <br>> Physics Dept. Network Manager Colorado State University
> >> >> <br>> Phone/Fax&nbsp; : (970) 491-5683 / (970) 491-7947
> >> >> <br>> E-Mail&nbsp;&nbsp;&nbsp;&nbsp; : caldwell@lamar.colostate.edu
> >> >> <br>> 16:17:51&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01-Aug-2001
> >> >> <br>> ----------------------------------
> >> >> <p>--
> >> >> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Derek Atkins, SB '93 MIT EE, SM
> >> >> '95 MIT Media Laboratory
> >> >> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Member, MIT Student Information
> >> >> Processing Board&nbsp; (SIPB)
> >> >> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URL: <a
> >> >> href="http://web.mit.edu/warlord/">http://web.mit.edu/warlord/</a>&nbsp;&n
> >> >> bsp
> >> >> ;&nbsp;
> >> >> PP-ASEL-IA&nbsp;&nbsp;&nbsp;&nbsp; N1NWH
> >> >> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> >> >> warlord@MIT.EDU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
> >> >> ;&n
> >> >> bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
> >> >> p;
> >> >> PGP key available
> >> >> <br>_______________________________________________
> >> >> <br>OpenAFS-info mailing list
> >> >> <br>OpenAFS-info@openafs.org
> >> >> <br><a
> >> >> href="https://lists.openafs.org/mailman/listinfo/openafs-info">https://lis
> >> >> ts.
> >> >> openafs.org/mailman/listinfo/openafs-info</a></blockquote>
> >> >> 
> >> >> <pre>--&nbsp;
> >> >> Corey
> >> >> Kovacs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
> >> >> bsp
> >> >> ;&nbsp;&nbsp; "I know not with what weapons World War III
> >> >> Computer Science Dept.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; will be fought, but
> >> >> World War IV will be
> >> >> DePauw University.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> >> >> fought with sticks and stones."
> >> >> 765.658.4761&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
> >> >> bsp
> >> >> ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
> >> >> nbs
> >> >> p;&nbsp;&nbsp;&nbsp; - Albert Einstein</pre>
> >> >> &nbsp;</html>
> >> >> 
> >> >> --Boundary_(ID_OZIaTnMjbuj2lfQD6NAXaQ)--
> >> > 
> >> > -- 
> >> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >> >        Member, MIT Student Information Processing Board  (SIPB)
> >> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >> >        warlord@MIT.EDU                        PGP key available
> >> > _______________________________________________
> >> > OpenAFS-info mailing list
> >> > OpenAFS-info@openafs.org
> >> > https://lists.openafs.org/mailman/listinfo/openafs-info
> >> 
> >> ----------------------------------
> >> Loren Caldwell 
> >> Physics Dept. Network Manager Colorado State University
> >> Phone/Fax  : (970) 491-5683 / (970) 491-7947
> >> E-Mail     : caldwell@lamar.colostate.edu
> >> 05:44:33      07-Aug-2001
> >> ----------------------------------
> > 
> > -- 
> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >        Member, MIT Student Information Processing Board  (SIPB)
> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >        warlord@MIT.EDU                        PGP key available
> 
> ----------------------------------
> Loren Caldwell 
> Physics Dept. Network Manager Colorado State University
> Phone/Fax  : (970) 491-5683 / (970) 491-7947
> E-Mail     : caldwell@lamar.colostate.edu
> 06:04:38      07-Aug-2001
> ----------------------------------

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available