From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Bader Subject: Re: dom0 kenrel crashes for openstack + libvirt + libxl Date: Thu, 13 Nov 2014 12:22:13 +0100 Message-ID: <54649465.1000602@canonical.com> References: <54648EB3.8040703@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8836762691069815141==" Return-path: In-Reply-To: <54648EB3.8040703@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?windows-1252?Q?Roger_Pau_Monn=E9?= , Xing Lin , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8836762691069815141== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2dDtdwXFtV8wnLWqnQJ9XHjTJHbbWxA2A" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2dDtdwXFtV8wnLWqnQJ9XHjTJHbbWxA2A Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 13.11.2014 11:57, Roger Pau Monn=E9 wrote: > El 12/11/14 a les 19.41, Xing Lin ha escrit: >> Hi, >> >> I am aware that Xen via libvirt is in the group C support for openstac= k but >> since I am not able to install xenserver iso at compute machines I hav= e, I >> have to consider to use xen with libvirt (xcp-xapi is not available fo= r >> ubuntu14.04). I have three nodes, each one running ubuntu 14.04. I fol= low >> the instruction to install juno in ubuntu 14.04 and it works (I can cr= eate >> instances from openstack GUI - horizon) when I use kvm as the hypervis= or at >> the compute node . However, if I switch to use xen as the hypervisor b= y >> installing xen-hypervisor-amd64 or nova-compute-xen, it will fail to c= reate >> instances. It complained "backend for qemu disk is not ready". I check= ed >> and did not find qemu process running in dom0. I could not find >> /etc/init.d/xencommons either. Then, I compiled and installed xen-4.4 = from >> source code and I got xencommons in /etc/init.d. qemu process is runni= ng in >> dom0. However, the dom0 kernel crashes this time when I try to launch = an >> instance from openstack GUI. I am able to create a xen guest with >> virt-install from command line, with the following command. >> >> "$ virt-install --connect=3Dxen:/// --name u14.04.3 --ram 1024 --disk >> u14.04.3.img,size=3D4,driver_name=3Dqemu --location >> http://ftp.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/ --netw= ork >> bridge=3Dvirbr0" >> >> >> dmesg: >> >> [ 9443.130600] blkfront: xvda: flush diskcache: enabled; persistent gr= ants: >> enabled; indirect descriptors: disabled; >> [ 9443.132818] xvda: xvda1 >> [ 9444.604489] xen:grant_table: WARNING: g.e. 0x30 still in use! >> [ 9444.604496] deferring g.e. 0x30 (pfn 0xffffffffffffffff) >> [ 9444.604499] xen:grant_table: WARNING: g.e. 0x31 still in use! >> [ 9444.604502] deferring g.e. 0x31 (pfn 0xffffffffffffffff) >> [ 9444.604505] xen:grant_table: WARNING: g.e. 0x32 still in use! >> [ 9444.604508] deferring g.e. 0x32 (pfn 0xffffffffffffffff) >> =3D=3D=3D=3D lots of them=3D=3D=3D=3D >> [ 9444.604719] xen:grant_table: WARNING: g.e. 0xe still in use! >> [ 9444.604721] deferring g.e. 0xe (pfn 0xffffffffffffffff) >> [ 9444.604723] xen:grant_table: WARNING: g.e. 0xd still in use! >> [ 9444.604725] deferring g.e. 0xd (pfn 0xffffffffffffffff) >> [ 9448.325408] ------------[ cut here ]------------ >> [ 9448.325421] WARNING: CPU: 5 PID: 19902 at >> /build/buildd/linux-3.13.0/arch/x86/xen/multicalls.c:129 xen_mc_flush+= 0x >> 1a9/0x1b0() >> [ 9448.325492] CPU: 5 PID: 19902 Comm: sudo Tainted: GF O >> 3.13.0-33-generic #58-Ubuntu >> [ 9448.325494] Hardware name: Dell Inc. PowerEdge R710/00W9X3, BIOS 2.= 1.15 >> 09/02/2010 >> [ 9448.325497] 0000000000000009 ffff8802d13d9aa8 ffffffff8171bd04 >> 0000000000000000 >> [ 9448.325501] ffff8802d13d9ae0 ffffffff810676cd 0000000000000000 >> 0000000000000001 >> [ 9448.325505] ffff88030418ffe0 ffff88031d6ab180 0000000000000010 >> ffff8802d13d9af0 >> [ 9448.325509] Call Trace: >> [ 9448.325518] [] dump_stack+0x45/0x56 >> [ 9448.325523] [] warn_slowpath_common+0x7d/0xa0 >> [ 9448.325526] [] warn_slowpath_null+0x1a/0x20 >> [ 9448.325530] [] xen_mc_flush+0x1a9/0x1b0 >> [ 9448.325534] [] xen_set_pud_hyper+0x109/0x110 >> [ 9448.325538] [] xen_set_pud+0x9b/0xb0 >> [ 9448.325543] [] __pmd_alloc+0xd6/0x110 >> [ 9448.325548] [] move_page_tables+0x678/0x720 >> [ 9448.325552] [] ? vma_adjust+0x337/0x7d0 >> [ 9448.325557] [] shift_arg_pages+0xbd/0x1b0 >> [ 9448.325560] [] ? mprotect_fixup+0x151/0x290 >> [ 9448.325564] [] setup_arg_pages+0x1db/0x200 >> [ 9448.325570] [] load_elf_binary+0x41c/0xd80 >> [ 9448.325576] [] ? ima_get_action+0x23/0x30 >> [ 9448.325579] [] ? process_measurement+0x82/0x2c0 >> [ 9448.325584] [] search_binary_handler+0x8f/0x1b0 >> [ 9448.325587] [] do_execve_common.isra.22+0x5a7/0x= 7e0 >> [ 9448.325591] [] SyS_execve+0x36/0x50 >> [ 9448.325596] [] stub_execve+0x69/0xa0 >> [ 9448.325599] ---[ end trace 53ac16782e751c0a ]--- >> [ 9448.347994] ------------[ cut here ]------------ >> [ 9448.348004] WARNING: CPU: 1 PID: 19902 at >> /build/buildd/linux-3.13.0/mm/mmap.c:2736 exit_mmap+0x16b/0x170() >> =3D=3D=3D=3D more message ignored =3D=3D=3D=3D >> >> >> I sent emails to the openstack mailing list and they gave me a few >> suggestions. At last, Bob Ball suggested I should probably ask this >> question on xen-devel mailing list. Any help will be highly appreciate= d! >=20 > This looks like the bug already reported by George Dunlap, could you tr= y > to apply the following patch to qemu-xen and recompile? >=20 > http://lists.xenproject.org/archives/html/xen-devel/2014-11/msg01112.ht= ml If that turns out to be the problem we need to get a bug reported against= the qemu package as the distro packaged Xen uses stock qemu with xl. -Stefan >=20 > Roger. >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >=20 --2dDtdwXFtV8wnLWqnQJ9XHjTJHbbWxA2A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJUZJR2AAoJEOhnXe7L7s6jv5AQANtXtcEBcVbol/9PMupYI17v VmkF3iLCQIoiinozd9MUiukZ6/Iu+AJ5z92AAMHYz88XwprmqQr0Vpqj8q7byALV NGaReEj8YEoIqs78O0Amc4nRxdHfD7FcJTkV9NqmchknTk1mj/UrznoMF1sd4Fi2 S9P/66HlPDREJavVbcfYG2LzGFOrmpkNIPVeANymZZo/T7iOIiWseZ78IE82cubW QN0K25ZhrHCM9DzSg8NMKDl19WSZ6Hd+UnsdD7HYytv/XKrRTQwOlkfX17NMyi4/ Y5fPDfDHQh64/1opIN2kfD/eJ81VxgwQZFW5Vu6Fm9vsMMltbImjHkSobSfvUCQ/ X/ps/wVbwg9S3O0qhupFvU/qL2YSqTi/y6meDTp8yAUJeDySJm4ailsyKLRp7Jm6 RDGUYNEusKCze7db+cdNDshhEE6kcRoKm8M2zSKgD22sb2ClA5KcQPqqAjFQlcSl yIKQgPrFt4lEb49nYHW0HbsXpOUrEVzzWds/oNHK5sa8baJOSPt+Bk6jKSdxT6sK yqrqZ6Kd2AEt7BgcxPFDactevlTjt2wXT4OZupg4FABaHNK9G6t5pIj/6rJ3PCjf y+Vr63eYxSxalubp/0UBdJ/MBYbPWxFamjgJGCSQK7dhus71dg6LVTTvWt890jzI m7P6N1wa1LHtb6cBb1Xi =UGmw -----END PGP SIGNATURE----- --2dDtdwXFtV8wnLWqnQJ9XHjTJHbbWxA2A-- --===============8836762691069815141== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8836762691069815141==--