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-users

Re: [Xen-users] Re: cow implementation

To: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: cow implementation
From: Anand <xen.mails@xxxxxxxxx>
Date: Tue, 10 Jan 2006 16:22:18 +0530
Delivery-date: Tue, 10 Jan 2006 10:58:40 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=joTavGGmrafFKVRfIW4A9ZHyVjicW74tdr4lknz7gPZbg1Km/0vPWzZW4HueAdV7bQlR2vfxMlNxGKJqJkOFksmoVnyjMo1FW+E4aF4ondcfQ9ys0hO3fBtcjRk4hzIUQ05EshYEzYx+OnLVEAf3AczuDcyNBm5Tcvuyfxw5qDM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <acb757c00601100135t65f46f5dp192691907e4c8a87@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <acb757c00601060251x209356bcr8806d381d44488e8@xxxxxxxxxxxxxx> <43BE4ED9.9050503@xxxxxxxxxxxxxxxxx> <acb757c00601060332k4fc2e1amafa341b519d123eb@xxxxxxxxxxxxxx> <62b0912f0601090253j36578c65m5a4d86c983e6111@xxxxxxxxxxxxxx> <dpu945$1hc$1@xxxxxxxxxxxxx> <62b0912f0601091600t2a4fa43eg34a34b66d373acf5@xxxxxxxxxxxxxx> <acb757c00601100100g22fdaec3x5a7677bc8ca6b525@xxxxxxxxxxxxxx> <62b0912f0601100102t57b64998jdeff358b7b565f16@xxxxxxxxxxxxxx> <acb757c00601100104g6e7b951fw771eff92e898fa70@xxxxxxxxxxxxxx> <acb757c00601100135t65f46f5dp192691907e4c8a87@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
cowloop is compiled under xen-kernel now. It was a stupid mistake. There needs to be 2 directories created in the /lib/modules/2.6.12.6-xen3_7.1_rhel4.1/ directory before compiling cowloop

/lib/modules/2.6.12.6-xen3_7.1_rhel4.1/build
/lib/modules/2.6.12.6-xen3_7.1_rhel4.1/misc

make install now compiles cowloop

./gplaccept
if [ ! -d /lib/modules/2.6.12.6-xen3_7.1_rhel4.1/misc ]; then mkdir -p /lib/modules/2.6.12.6-xen3_7.1_rhel4.1/misc; fi
cp cowloop.ko /lib/modules/2.6.12.6-xen3_7.1_rhel4.1/misc
/sbin/depmod -a
cp cowdev          /usr/sbin
cp cowsync         /usr/sbin
cp cowrepair       /usr/sbin
cp cowmerge        /usr/sbin
cp cowlist         /usr/sbin
cp man/cowloop.4   /usr/share/man/man4
cp man/cowdev.1    /usr/share/man/man1
cp man/cowsync.1   /usr/share/man/man1
cp man/cowrepair.1 /usr/share/man/man1
cp man/cowmerge.1  /usr/share/man/man1
cp man/cowlist.1   /usr/share/man/man1
./makecows 241

Now running modprobe cowloop gives the following error:

FATAL: Error inserting cowloop (/lib/modules/2.6.12.6-xen3_7.1_rhel4.1/misc/cowloop.ko): Invalid module format

looks like its back to square one :(

any clues ?

On 1/10/06, Anand <xen.mails@xxxxxxxxx> wrote:
After i compiled cowloop under the non xen kernel, the module was copied to /lib/modules/2.6.9-22.0.1.EL/misc/cowloop.ko. I copied the file to /lib/modules/2.6.12.6-xen3_7.1_rhel4.1/misc/cowloop.ko.

However doing a modprobe cowloop doesn't work.

Anyone else tried with cowloop ?


On 1/10/06, Anand < xen.mails@xxxxxxxxx> wrote:
On 1/10/06, Molle Bestefich <molle.bestefich@xxxxxxxxx > wrote:
Anand wrote:
> Where you able to compile cowloop ?

Haven't tried.

Ok i got cowloop compiled. It doesn't compile when booted with xen kernel. However under the default kernel it compiles.

--

regards,

Anand



--

regards,

Anand



--

regards,

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