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

Re: [Xen-users] CoW works on Windows guest?


  • To: "Dan Smith" <danms@xxxxxxxxxx>
  • From: "Orathai Sukwong" <kobkob@xxxxxxxxx>
  • Date: Fri, 29 Sep 2006 13:16:47 -0400
  • Cc: Ryan Grimm <grimm@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 29 Sep 2006 10:17:27 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=LaYNlGYvsVOzOaDq4skB2lRfcIvXp2a5bxnYm3A6JnEXbzSOIrlVDYn/72Nc8uCRwsgPoxKH0Vg31jDXtsyOf2YF/ckxLWdLLEWr+kAVn5xsN77ws/bTkKDVBHG+ltDfZ4hLmjV4ncm9HIWDf9U4Fn4fI5U2M0jbn2K5ye1HtD8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

You might try the latest version of the kernel module and tools that
are in the development tree:

  http://static.danplanet.com/hg/dm-userspace/

Note that you *must* rebuild the kernel module and both cowd and
dscow_plugin if you move to the newer version.  This should be easy to
do outside of your xen tree:

  # cd dm-userspace/module
  # cp dm-userspace.h /lib/modules/`uname -r`/build/include/linux
  # make
  # insmod ./dm-user.ko
  # cd../tools/cowd
  # ./autogen && ./configure --enable-internal-dmu
  # make && make install


 I did all that. With this dscow_tool & cowd binaries, I still have got the same problem. However, the seg fault happens in slightly different position.

Program received signal SIGSEGV, Segmentation fault.
dscow_create (filename=0x0, base=0xbfe1099f "/xenimages/test.img",
    block_size=0) at dscow_ops.c:349
349                     handle->dirty_bitmaps[i] = 1;
(gdb) print i
$1 = 0


And i is declared in int.
--------------------------------
struct dscow {
        struct dscow_disk_header header;

        uint64_t blocks;
        uint32_t *bitmap;
        uint32_t bitmap_count;
        uint32_t *dirty_bitmaps;
        char *base_filename;

        int fd;
        int dirty;
};

This image size is 4096000000 bytes (4.1 GB).

Thank you.



We have a tree on xenbits now.  Eventually, we will push an updated
version of the Xen tree with the latest patches integrated directly.

--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx



_______________________________________________
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®.