[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Problem with detach a disk from domU
Hi all, I try to attach and detach a disk in a DomU, but It don't work. See: # xl create teste/teste4/teste4.cfg Parsing config file teste/teste4/teste4.cfg xc: info: VIRTUAL MEMORY ARRANGEMENT: Loader: 0000000000100000->00000000001797f0 TOTAL: 0000000000000000->000000001f800000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000000fb 1GB PAGES: 0x0000000000000000 Daemon running with PID 17445 # xl block-attach teste4 tap:vhd:/storage6_nfs/default/roberto/stress/teste/teste4/xvdb.vhd xvdb w # xl block-list teste4 Vdev BE handle state evt-ch ring-ref BE-path 768 0 2 4 6 8 /local/domain/0/backend/vbd/2/768 51712 0 2 4 7 9 /local/domain/0/backend/vbd/2/51712 51728 0 2 4 9 295 /local/domain/0/backend/vbd/2/51728 # xl block-detach teste4 51728 # xl block-list teste4 Vdev BE handle state evt-ch ring-ref BE-path 768 0 2 4 6 8 /local/domain/0/backend/vbd/2/768 51712 0 2 4 7 9 /local/domain/0/backend/vbd/2/51712 51728 0 2 4 9 295 /local/domain/0/backend/vbd/2/51728 Inside a teste4 DomU found a new disk and these is don't mounted on VM, only listed on fdisk and /dev/. I try this patch: http://marc.info/?l=xen-devel&m=131066210526755 I found in http://xen.1045712.n5.nabble.com/hanging-tapdisk2-processes-and-improper-udev-rules-td4622364.html When I try recompile xen with: # make ... gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .libxl_device.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -Wno-format-zero-length -Wmissing-declarations -I. -fPIC -I../../tools/libxc -I../../tools/include -I../../tools/libxc -I../../tools/include -I../../tools/xenstore -I../../tools/include -I../../tools/blktap2/control -I../../tools/blktap2/include -I../../tools/include -c -o libxl_device.o libxl_device.c libxl_device.c: In function ‘libxl__device_destroy’: libxl_device.c:253: error: incompatible type for argument 1 of ‘libxl__device_destroy_tapdisk’ libxl_device.c:274: error: incompatible type for argument 1 of ‘libxl__device_destroy_tapdisk’ make[3]: *** [libxl_device.o] Error 1 make[3]: Leaving directory `/root/xen4/xen-4.1-testing.hg/tools/libxl' make[2]: *** [subdir-install-libxl] Error 2 make[2]: Leaving directory `/root/xen4/xen-4.1-testing.hg/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/root/xen4/xen-4.1-testing.hg/tools' make: *** [install-tools] Error 2 My versions are: Xen 4.1.2-rc1-pre and kernel 2.6.32.45. I download via hg clone and git pull today. Any ideas? This patch is complete? Best regards, -- Roberto Scudeller _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |