Re: ARLA 0.35.11 on FreeBSD 5.0-RC1

2002-12-18 Thread Love
Garance A Drosihn <[EMAIL PROTECTED]> writes:

> At 4:15 PM +0100 12/15/02, Petr Holub wrote:
>>Hi,
>>
>>I tried to compile arla 0.35.11 on FreeBSD 5.0-RC1. First I got
>>following error:
[...]
>>Then configre and make proceeds until it stops on error shown
>>below my signature. Can anybody help?
>
> I believe arla needs to have some effort put into it to get it
> working on -current.

Some effort was put into it.

Known problem on fbsd5.0RC1 is that arla uses the pioctl syscall (339) but
the built in libkafs in freebsd uses 210 (lkmsys), set AFS_SYSCALL=339 in
your enviroment (including arlad's).

ftp://ftp.stacken.kth.se/pub/arla/snap/arla-0.36pre5.tar.gz

MD5 (arla-0.36pre5.tar.gz) = 48a9955df0e69fac5a323a48b29aec66

(untested) binaries releases for random platforms might be found in

ftp://ftp.stacken.kth.se/pub/arla/binaries/0.36pre5

Feedback is appreciated.

Love

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ARLA 0.35.11 on FreeBSD 5.0-RC1

2002-12-17 Thread Love
Andrea Campi <[EMAIL PROTECTED]> writes:

> On Mon, Dec 16, 2002 at 01:34:35PM -0500, Garance A Drosihn wrote:
>> When I was looking into this, I was talking with Andrea Campi about
>> some changes he had for arla on -current.  He was also very busy at
>> the time, but maybe he still has that around.  (I'm in the middle
>
> I used to have patches that allowed me to compile arla, yes - but that
> was a long time ago, I haven't updated them for more recent versions of Arla.
> More interesting, I had patches to put the xfs layer in the kernel, and I was
> able to run with them linked in or as a module. Locking however was very
> primitive, and I'm not sure it still compiles cleanly.

I added most off the Andrea's patches into current arla, so there is better
hope of getting that working with FreeBSD 5.0 current.

I just downloaded the RC1 images and will see if I can get it working later
today.

Love

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ARLA 0.35.11 on FreeBSD 5.0-RC1

2002-12-17 Thread Andrea Campi
On Mon, Dec 16, 2002 at 01:34:35PM -0500, Garance A Drosihn wrote:
> When I was looking into this, I was talking with Andrea Campi about
> some changes he had for arla on -current.  He was also very busy at
> the time, but maybe he still has that around.  (I'm in the middle

I used to have patches that allowed me to compile arla, yes - but that
was a long time ago, I haven't updated them for more recent versions of Arla.
More interesting, I had patches to put the xfs layer in the kernel, and I was
able to run with them linked in or as a module. Locking however was very
primitive, and I'm not sure it still compiles cleanly.

However, my company has since dropped its AFS project, so I don't have any
test lab available anymore. If anybody would want to take over the project,
I might be able to help - but not much more than that.


Bye,
Andrea

-- 
Failure is not an option. It comes bundled with your Microsoft product.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: ARLA 0.35.11 on FreeBSD 5.0-RC1

2002-12-17 Thread Petr Holub
> Now that I'm having much better luck with -current, I haven't had
> the time to go back and look into arla.  Also, since that time
> there has been a fair amount of progress with openafs support for
> freebsd, and for my own purposes that would be an "easier sell" to
> my managers anyway.  [not that I have openafs working on -current
> either, but I do hope to get to that soon...]

I don't actually care about whether it's arla or openafs (we are
running openafs on linux boxes and it's running OK) but I need
to have AFS client (and even better a server) working. I've noticed
some rather sporadic mails on freebsd port openafs mailing list
but I felt like it's not under heavy development. BTW: how about
commiting openafs to the ports tree to have at least some common
place for patches that can be tested...

If I can help with getting one (or both) of these ported to -CURRENT
I'd be happy to do so (e.g. testing of current patches etc.)

Petr


Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
160 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ 
e-mail: [EMAIL PROTECTED]  phone: +420-5-41512213
   e-mail: [EMAIL PROTECTED]  
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ARLA 0.35.11 on FreeBSD 5.0-RC1

2002-12-16 Thread Garance A Drosihn
At 4:15 PM +0100 12/15/02, Petr Holub wrote:

Hi,

I tried to compile arla 0.35.11 on FreeBSD 5.0-RC1. First I got
following error:

checking for memcpy in kernel... yes
checking if vnode_if.h needs to be built... configure: error: unable 
to find any vnode_if script

So I have linked
-su-2.05b# ln -s /sys/i386/compile/EVENSTAR/vnode_if.h /usr/include/vnode_if.h

Then configre and make proceeds until it stops on error shown
below my signature. Can anybody help?

I believe arla needs to have some effort put into it to get it
working on -current.  I started looking into that about six to
eight months ago, but ran into a streak of bad luck trying to
do anything at all with -current, and eventually gave up.  That
wasn't arla's fault, I was just having a string of bad luck.

Now that I'm having much better luck with -current, I haven't had
the time to go back and look into arla.  Also, since that time
there has been a fair amount of progress with openafs support for
freebsd, and for my own purposes that would be an "easier sell" to
my managers anyway.  [not that I have openafs working on -current
either, but I do hope to get to that soon...]

When I was looking into this, I was talking with Andrea Campi about
some changes he had for arla on -current.  He was also very busy at
the time, but maybe he still has that around.  (I'm in the middle
of upgrading & shuffling my hardware around, and I think I lost my
copy of those arla changes in the process of that shuffling).

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



arla 0.35.11 on FreeBSD 5.0-RC1

2002-12-15 Thread Petr Holub
Hi,

I tried to compile arla 0.35.11 on FreeBSD 5.0-RC1. Fisrt I got
following error:

checking for udev2dev in kernel... yes
checking for snprintf in kernel... yes
checking for nosys in kernel... yes
checking for sys_nosys in kernel... no
checking for sys_lkmnosys in kernel... no
checking for cache_purgevfs in kernel... yes
checking for vfs_name_hash in kernel... no
checking for memcpy in kernel... yes
checking if vnode_if.h needs to be built... configure: error: unable to find any 
vnode_if script

So I have linked
-su-2.05b# ln -s /sys/i386/compile/EVENSTAR/vnode_if.h /usr/include/vnode_if.h

Then configre and make proceeds until it stops on error shown
below my siganture. Can anybody help?

Thanks very much,
Petr

PS: I know I'm sendin almost the same mail as last time but it's
quite important for me to get it solved.


Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
160 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ 
e-mail: [EMAIL PROTECTED]  phone: +420-5-41512213
   e-mail: [EMAIL PROTECTED]  
 

SUBDIRS='bsd';  for i in $SUBDIRS;  do (cd $i && make   all); done
for i in /usr/include/sys/vnode_if.h vnode_if.h; do  if test -r $i; then  awk 
^struct vop_[a-z]*_args/ { printf("#define HAVE_%s 1\n", toupper(substr($2,1,l
gth($2)-5))); }' $i > xfs_vopdefs.h;  break;  fi;  done
mkdir xfs
mkdir: xfs: File exists
*** Error code 1 (ignored)
test -d xfs && ( test -f xfs/xfs_vopdefs.h || ln -s ../xfs_vopdefs.h xfs/xfs_v
defs.h )
touch stamp-xfs_vopdefs.h
gcc -c  -DHAVE_CONFIG_H -I. -I.  -I../../include -I./../../include  -I./../inc
de  -I/usr/athena/include -DXFS_DEBUG -DINET6 -g  -Wall -Wmissing-prototypes -
ointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O   
KERNEL -D_KERNEL -DVFS_KLD -DKLD_MODULE -I/sys/arch -I/sys -I. -Wno-unused xfs
eb.c
gcc -c  -DHAVE_CONFIG_H -I. -I.  -I../../include -I./../../include  -I./../inc
de  -I/usr/athena/include -DXFS_DEBUG -DINET6 -g  -Wall -Wmissing-prototypes -
ointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O   
KERNEL -D_KERNEL -DVFS_KLD -DKLD_MODULE -I/sys/arch -I/sys -I. -Wno-unused xfs
essage.c
In file included from /sys/sys/systm.h:45,
 from xfs/xfs_locl.h:137,
 from xfs_message.c:34:
/usr/include/machine/atomic.h: In function `atomic_load_acq_ptr':
/usr/include/machine/atomic.h:371: warning: cast does not match function type
In file included from xfs/xfs_locl.h:137,
 from xfs_message.c:34:
/sys/sys/systm.h: At top level:
/sys/sys/systm.h:171: warning: built-in function `bzero' declared as non-funct
n
In file included from xfs_message.c:34:
xfs/xfs_locl.h:291:29: xfs/xfs_vopdefs.h: No such file or directory
xfs_message.c: In function `xfs_message_installroot':
xfs_message.c:67: structure has no member named `v_flag'
xfs_message.c:67: `VROOT' undeclared (first use in this function)
xfs_message.c:67: (Each undeclared identifier is reported only once
xfs_message.c:67: for each function it appears in.)
xfs_message.c: In function `xfs_message_installnode':
xfs_message.c:92: warning: passing arg 3 of `vget' from incompatible pointer t
e
xfs_message.c: In function `xfs_message_installdata':
xfs_message.c:174: warning: passing arg 3 of `vget' from incompatible pointer 
pe
xfs_message.c:195: warning: passing arg 6 of `NDINIT' from incompatible pointe
type
xfs_message.c:202: warning: passing arg 3 of `VOP_UNLOCK' from incompatible po
ter type
xfs_message.c: In function `xfs_message_invalidnode':
xfs_message.c:320: warning: passing arg 3 of `vrecycle' from incompatible poin
r type
xfs_message.c: In function `gc_vnode':
xfs_message.c:428: warning: implicit declaration of function `simple_lock'
xfs_message.c:443: warning: implicit declaration of function `simple_unlock'
*** Error code 1

Stop in /usr/tmp/ics/arla-0.35.11/xfs/bsd.
*** Error code 1

Stop in /usr/tmp/ics/arla-0.35.11/xfs.
*** Error code 1

Stop in /usr/tmp/ics/arla-0.35.11.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message