[OpenAFS-devel] Porting of AFS into UML and ARLA
Raymond Wong
raymond@lifewood.com
Wed, 16 Jul 2003 21:09:32 +0800
Kris, thanks for your suggestion. I downloaded openafs 1.2.10-rc1,
linux-2.4.19, uml patch and compiled openafs
I use the same procedures.
./configure
Make
Again, it stuck at the following.
gcc -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
-fno-co
mmon -pipe -march=pentium -I/usr/src/linux/arch/um/include
-I/usr/src/linux/arch
/um/kernel/tt/include -I/usr/src/linux/arch/um/kernel/skas/include
-D__KERNEL__
-DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -I. -I../
-I/ztom/openafs-1.
2.10-rc1/src/config -c ../afs/afs_analyze.c;
In file included from ../h/string.h:25,
from ../afs/stds.h:191,
from ../afs/afs_sysnames.h:27,
from ../afs/param.h:58,
from ../afs/afs_analyze.c:14:
../asm/string.h:5:27: asm/archparam.h: No such file or directory
In file included from ../afs/stds.h:14,
from ../afs/afs_sysnames.h:27,
from ../afs/param.h:58,
from ../afs/afs_analyze.c:14:
../sys/types.h:14: parse error before `dev_t'
../sys/types.h:14: warning: data definition has no type or storage class
../sys/types.h:15: parse error before `ino_t'
../sys/types.h:15: warning: data definition has no type or storage class
../sys/types.h:16: parse error before `mode_t'...
It seems openafs always get mixed with linux include paths. Anyway, is
there any success compilation of openafs in uml? I just need a kernel
module for uml and get it run first.
BTW, has anyone tried arla in uml? Any comments on it
Ray
-----Original Message-----
From: openafs-devel-admin@openafs.org
[mailto:openafs-devel-admin@openafs.org] On Behalf Of Kris Van Hees
Sent: Tuesday, July 08, 2003 12:26 AM
To: OpenAFS-devel@openafs.org
Subject: Re: [OpenAFS-devel] Porting of AFS into UML
On Sat, Jul 05, 2003 at 08:15:25PM +0800, Raymond Wong wrote:
> Has anyone done any coding related to the porting of AFS into UML
> (User-mode Linux)? I found it is quite painful. Currently, I found
> no manuals in relation to setting up whole AFS by using AFS source
> code only. I have successfully compiled the AFS source in UML but I
> have no idea how to configure AFS manually. Could anyone give me some
> hints?
Raymond,
I added code for supporting the User Mode Linux as a supported
architecture. The code should be in both 1.2.10 and in the CVS HEAD. I
do notice that I need to update the patch for CVS HEAD because it uses a
mechanism to detect UML which no longer works with the newer UML release
code. Note that you do need to have the Linux kernel source code with
the UML patch applied available in /usr/src/linux.
The configuration should be identical to the one used for Linux
based OpenAFS.
Kris
_______________________________________________
OpenAFS-devel mailing list
OpenAFS-devel@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-devel