[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: cow implementation


  • To: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.