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