Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

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

To: "Dan Smith" <danms@xxxxxxxxxx>
Subject: Re: [Xen-users] CoW works on Windows guest?
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <m3fyea3a2e.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <748f85310609280723l49ca9725nf6a28fa234c1353f@xxxxxxxxxxxxxx> <m3psdf51av.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <748f85310609281151q586a21b7if3a97e384f59eae9@xxxxxxxxxxxxxx> <m364f74jr1.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <748f85310609290802t5e3d1363u86f94114a2e850f5@xxxxxxxxxxxxxx> <m3fyea3a2e.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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