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

Re: [Xen-devel] openafs not supported?

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] openafs not supported?
From: Miroslav Ruda <ruda@xxxxxxxxxxx>
Date: Wed, 09 Mar 2005 16:49:25 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Delivery-date: Wed, 09 Mar 2005 15:51:00 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3539@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3539@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Ian Pratt wrote:
We've used openafs with 2.4.29-xen0 without problems. I seem to recall
that getting it to build against xen/i386 rather than plain i386 was
somewhat tricky, as setting ARCH=xen was insufficient due to a busted
Makefile. I think I resorted to renaming arch/xen to arch/i386 and the
same for include/asm-xen.

I wish it's so easy. However, renaming of include/asm-xen to include/asm-i386
doesn't work, because some include files from asm-xen (param.h for example) include ../asm-i386/ files too :-) Moreover, my guess is that it's still not sufficient, see bellow.

Openafs' Makefile creates symlinks to several kernel-source/include directories
including asm-i386 (others are include/net, include/linux, include/asm).
I was easily able to change this makefile to use asm-xen instead and I was able to compile openafs with such setup. And this version creates oops I have sent to xen mailing list. However, I don't see any other usage of kernel source and therefore I don't understand what is missing to create "xen-enabled" binaries.

--
                  Mirek Ruda


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel