WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Building OpenAFS (libafs) inside DomU

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi


I am having toubles bluiding openafs inside a virtual machine.

1. The kernel headers inside the xen-3.0.0/linux-2.6.12-xenU tree are
not good. So the ./configure works, but the build fails with:

/root/openafs-1.4.0/src/afs/LINUX/osi_machdep.h:55:2: #error Not sure
what to do about rlim (should be in the Linux task struct somewhere....)

2. Forcing the ./configure agains linux-kernel-2.6.12 (not xen's)
headers, I get the build to finish just nice, but them insmod returns:

insmod: error inserting './src/libafs/MODLOAD-2.6.12.6-MP/libafs.ko': -1
Invalid module format

3. I have sucessfully buil the module inside the dom0 (using xen source
kernel headers) and loaded it OK, also.

Does someone know if this is expected?
Xen kernel headers are much diferent from the original ones?
How far can they be replaced by other headers?
How to build something that is not xen aware, thus is expecting normal
kernel headers?

Thanks for your time

Regards
- --
Tiago Teresa Teodódio
tiago@xxxxxxxxxxxxxx

Administração da Rede das Novas Licenciaturas
Instituto Superior Técnico

web: http://www.rnl.ist.utl.pt
email: rnl@xxxxxxxxxxxxxx
tel: +351 218 41 77 71

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFER1OoQO/Tafxh35cRAtljAKC5PuoSmDZxI2jM1qoyAJf+hHKacQCglVhL
3Sy9qV+Sy8W4qvDAVe1CPFw=
=lS4i
-----END PGP SIGNATURE-----

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel