[28] in arla-drinkers
Re: fs does not work?
daemon@ATHENA.MIT.EDU (Naomaru Itoi)
Tue Jun 23 13:15:40 1998
From arla-drinkers-request@sundance.stacken.kth.se Tue Jun 23 17:15:40 1998
Return-Path: <arla-drinkers-request@sundance.stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 20124 invoked from network); 23 Jun 1998 17:15:39 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 23 Jun 1998 17:15:39 -0000
Received: from soso.eecs.umich.edu (soso.eecs.umich.edu [141.212.99.9])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id TAA20598;
Tue, 23 Jun 1998 19:10:37 +0200 (MET DST)
Received: from soso.eecs.umich.edu (localhost [127.0.0.1])
by soso.eecs.umich.edu (8.9.0/8.9.0) with ESMTP id NAA24451;
Tue, 23 Jun 1998 13:10:27 -0400 (EDT)
Message-Id: <199806231710.NAA24451@soso.eecs.umich.edu>
To: Artur Grabowski <art@stacken.kth.se>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: fs does not work?
In-reply-to: Your message of "23 Jun 1998 09:42:21 +0200."
<lub3ecw5ztu.fsf@nest.stacken.kth.se>
Date: Tue, 23 Jun 1998 13:10:26 -0400
From: Naomaru Itoi <itoi@eecs.umich.edu>
Hello,
> Naomaru Itoi <itoi@eecs.umich.edu> writes:
>
> > if (!(rv = k_hasafs())){
> > printf("no afs %d %d\n", rv, errno);
> > exit -1;
> > } else {
> > printf("yes afs :)\n");
> > }
> >
> > This returns:
> > no afs 0 0
> >
> > The return value and errno are both 0.
> >
> >
> > What do you think is causing a problem?
>
> Are you sure that you linked with libkafs from kth-krb and not OpenBSD 2.2?
>
> type 'ldd /usr/arla/bin/fs' to check that.
Yeah,
% ldd /usr/arla/bin/fs
/usr/arla/bin/fs:
-ledit.0 => /usr/lib/libedit.so.0.0 (0x40033000)
-ltermcap.0 => /usr/lib/libtermcap.so.0.0 (0x40044000)
-lkafs.0 => /usr/athena/lib/libkafs.so.0.9.8 (0x40046000)
-lkrb.0 => /usr/athena/lib/libkrb.so.0.9.8 (0x40049000)
-ldes.0 => /usr/athena/lib/libdes.so.0.9.8 (0x4005c000)
-lkvm.4 => /usr/lib/libkvm.so.4.1 (0x4006a000)
-lc.18 => /usr/lib/libc.so.18.0 (0x4006f000)
And for my program,
% ldd readx
readx:
-lkafs.0 => /usr/athena/lib/libkafs.so.0.9.8 (0x40019000)
-lc.18 => /usr/lib/libc.so.18.0 (0x4001c000)
> And make sure you have the kernel module loaded.
Arla is working for other part, e.g. I can read or write files, so I
assume the kernel module is loaded correctly?
I will look into k_hasafs() code.
> btw. upgrade to 2.3 (and buy a CD). ;)
I'm a poor student ... :)
But do you think this does not happen in OpenBSD-2.3? Then maybe I
should buy one ...
Thanks a lot.
--
Concentration .. Naomaru Itoi