Skip to contentSkip to conversation

XEN + Qemu upstream + Qcow2 + coroutine = BOOM

XEN BUG herbert cland 2 participants 3 messages Feb 10, 2014 – Feb 12, 2014

lore
Share & tools
lore
#0 lore raw

Dear ALL!

qcow2 format disk works well with xen for most cases;
BUT if using coroutine function such as block-stream, the qemu process crashed! And we can found following msg from cmd dmesg

qemu-system-i38[20514]: segfault at 60 ip 00007f2b60dc879a sp 00007ffffcc2f000 error 4 in qemu-system-i386[7f2b60cdf000+529000]

Any suggestion?

----------------
XEN version: xen 4.4.0-rc3
guest os : centos 6.4

herbert cland

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 11 lines · herbert cland

Dear ALL!

qcow2 format disk works well with xen for most cases;
BUT if using coroutine function such as block-stream, the qemu process crashed!
And we can found following msg from cmd dmesg

qemu-system-i38[20514]: segfault at 60 ip 00007f2b60dc879a sp 00007ffffcc2f000 error 4 in qemu-system-i386[7f2b60cdf000+529000]

Any suggestion?

Please can you try installing the necessary debug symbols package (I don't know how to do this on centos) and try and capture a core dump (which might require adjusting rlimits) or running qemu under gdb somehow, in either case getting a backtrace out of this crash will help us make progress.

Please also take a look at
http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen and see what other info might be useful, like guest config file, which toolstack you are using, other useful logs etc.

Since this is a qemu issue you might also want to include the qemu list in your report.

Ian.

#2 lore raw

Thx, Ian

I am trying to analyze the crash reason.
This BUG is only happended when using IDE disk (hd* name for vdisk). If using SCSI disk (sd* name) in vm config file, Qemu works well.

herbert cland

From: Ian Campbell
Date: 2014-02-10 22:19
To: herbert cland
CC: xen-devel
Subject: Re: [Xen-devel] [XEN BUG] XEN + Qemu upstream + Qcow2 + coroutine = BOOM

Quoted 11 lines · herbert cland

Dear ALL!

qcow2 format disk works well with xen for most cases;
BUT if using coroutine function such as block-stream, the qemu process crashed!
And we can found following msg from cmd dmesg

qemu-system-i38[20514]: segfault at 60 ip 00007f2b60dc879a sp 00007ffffcc2f000 error 4 in qemu-system-i386[7f2b60cdf000+529000]

Any suggestion?

Please can you try installing the necessary debug symbols package (I don't know how to do this on centos) and try and capture a core dump (which might require adjusting rlimits) or running qemu under gdb somehow, in either case getting a backtrace out of this crash will help us make progress.

Please also take a look at
http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen and see what other info might be useful, like guest config file, which toolstack you are using, other useful logs etc.

Since this is a qemu issue you might also want to include the qemu list in your report.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel