From owner-freebsd-xen@FreeBSD.ORG Tue Dec 9 19:17:30 2014 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99D979A6 for ; Tue, 9 Dec 2014 19:17:30 +0000 (UTC) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B8057D8 for ; Tue, 9 Dec 2014 19:17:30 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id y13so1149904pdi.2 for ; Tue, 09 Dec 2014 11:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dpdtech.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=7Q/aG07XkX04Ji9YurRJKBc+EExRtMcPgaNerDq7eo8=; b=JnDiToejvTqLuiY93qLW+cHZeSkX5/THCQJ/i8k78WsOLEi+bbiRI/688Yl5mF7bE6 UZ3jVQTth46wfU98TOItlyK2EHYB+Bbp/ni51EkRMS4rXo7J5SbfTLVbTE7hE0dLqTk1 nl7wcwpo/iQFnDX/Q40EKGb4doD1ZNFiXnFfY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=7Q/aG07XkX04Ji9YurRJKBc+EExRtMcPgaNerDq7eo8=; b=GixboY0ftrNkI91L5LhJ/Fs3K88fjrgmfbYP+eymmfi/zc1GZbwNQW9/RL8Z0Qw1gs 04hFliXIUiXaTQLgBEQL2BKVT0IrEwM8ZJUBzD6jm14gFOfQA8WJMZzVcR4jEmnaxOci 4TGXlDXqmRDjQTIYXMmhLDaYf1brEXGPjOw69mzWpPj0+tJ+1Rg4e9yUK+6gnfLqztSl 5Whb4hYCFSkoWNC+AtEhH6fBlc/1S2H0re2oJcqDbHaN52v6+f6yRaEA/JHElMOErVtR cKoTxPUrrysUw4YMoMjQ2wKl3o4os3NimbQTQoHvu/Dv+5Di58jPsrxXEv8VF8OjWPSB 2XXw== X-Gm-Message-State: ALoCoQkgj6PfnDskyuYUmsw4byZkzlo59slOzL4sgXX8um9h3BaxoluBBo6NRPlo5k0r95uqiPci X-Received: by 10.68.108.165 with SMTP id hl5mr8026589pbb.121.1418152649370; Tue, 09 Dec 2014 11:17:29 -0800 (PST) Received: from 173-13-188-41-sfba.hfc.comcastbusiness.net (173-13-188-41-sfba.hfc.comcastbusiness.net. [173.13.188.41]) by mx.google.com with ESMTPSA id 9sm2150832pdg.38.2014.12.09.11.17.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Dec 2014 11:17:28 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_093D7833-78A3-47CE-87D7-F162846FE817"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Attempting to Get Xen FreeBSD Dom0 working From: "David P. Discher" In-Reply-To: <5486B287.7070302@citrix.com> Date: Tue, 9 Dec 2014 11:17:26 -0800 Message-Id: <55E2C419-E537-4324-B7AB-A21E94863E17@dpdtech.com> References: <481F7D02-BFE9-4E35-A475-5A8A05A801CE@dpdtech.com> <547DFCC0.6030003@citrix.com> <547F1476.8080305@citrix.com> <29437DB9-7DC8-47A8-8FC4-2BFDE736B5BC@dpdtech.com> <547F59B4.1010105@citrix.com> <2DDCAA68-3B11-4E3C-AE61-EAD8CEEF1E2D@dpdtech.com> <547F6AC1.9060709@citrix.com> <7C356027-01D8-4800-B211-282566BC9871@dpdtech.com> <54801F77.5050700@citrix.com> <54819D6A.4050603@citrix.com> <7F90454D-16D5-4871-A155-5ADD01014976@dpdtech.com> <5486B287.7070302@citrix.com> To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-xen@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 19:17:30 -0000 --Apple-Mail=_093D7833-78A3-47CE-87D7-F162846FE817 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 ah, sorry missed that. Will try that today. =20 AHCI lasted over night with MSI off. Something I noticed, is that when = the AHCI bus was timing out, it looked like the Xen Kernel was = re-scanning the PCI bus. (Sorry, didn=E2=80=99t save these logs). = I=E2=80=99ve love to dig into this further. =20 Please let me know what/where to add some debugging code. - David P. Discher http://davidpdischer.com/ AIM: DavidDPD | Y!M: daviddpdz=20 Mobile: 408.368.3725 On Dec 9, 2014, at 12:27 AM, Roger Pau Monn=C3=A9 = wrote: > Hello, >=20 > El 08/12/14 a les 23.45, David P. Discher ha escrit: > >>=20 >> Sent SIGTERM to all processes = =E2=94=82 >> Sent SIGKILL to all = processes=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 >> Requesting system reboot >> [ 1157.299205] Restarting system. >> root@borg:/zdata/debian # >> root@borg:/zdata/debian # >> root@borg:/zdata/debian # xl create -c debian.cfg >> root@borg:/zdata/debian # xl destroy debian >> xc: error: Could not bounce buffer for version hypercall (35 =3D = Resource temporarily unavailabl): Internal error >> xc: error: Could not bounce buffer for version hypercall (35 =3D = Resource temporarily unavailabl): Internal error >> xc: error: Could not bounce buffer for version hypercall (35 =3D = Resource temporarily unavailabl): Internal error >> xc: error: Could not bounce buffer for version hypercall (35 =3D = Resource temporarily unavailabl): Internal error >> xc: error: Could not bounce buffer for version hypercall (35 =3D = Resource temporarily unavailabl): Internal error >> xc: error: Could not bounce buffer for version hypercall (35 =3D = Resource temporarily unavailabl): Internal error >> libxl: error: libxl.c:658:libxl_list_domain: getting domain info = list: Resource temporarily unavailable >> debian is an invalid domain identifier (rc=3D-5) >> root@borg:/zdata/debian # >>=20 >> I=E2=80=99m running AHCI with MSI off in the FreeBSD kernel, and so = far, so good on that front. The great thing is now I got the Xen = console working, so can get the debug output. However the bounce = buffer/hypercall issue i would think is far more important than MSI = interrupts at the monument.=20 >=20 > Glad to know you got it working at the end! I've already pointed this > out in my last email, but did you try to increase vm.max_wired even = further? >=20 > This usually happens when mlock in > freebsd_privcmd_alloc_hypercall_buffer (xc_freebsd_osdep.c) fails to > wire down the memory that would be used by the hypercalls. >=20 > Roger. >=20 --Apple-Mail=_093D7833-78A3-47CE-87D7-F162846FE817 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUh0rGAAoJEEmwU6XuhYWOSn4H/1uEg8acXfL3cAJk69N08kRB oitpJnHzVmYlDfjI1B1lkCGs+KTCSIH0YjYyrBuK2hmtDafgkZ1iB1reUxcPfMDU mTvY45TmeqgJYV8O9qwQYiKS7urR1Z0kIjQ+wqlnrb6X/3+vI6Oqh20btUy2pjLo 1vcMz9tBtDxXHFu7ts8s8CEGq3bYbNon9ynbVsAAiS8p3UPB/BtX88/mXW98uRYv HYSPoJw8uTjO71qBUwZKBP3LeESiq5rzOw1yJIUI7lwcHILbXgeTtWI9liEfF4Df PxiJy1VpxXZlutoi0wPsAd7viOLQTCPVttqIP05NuFFy75dyyK4/waBbxBmkoGU= =NC7P -----END PGP SIGNATURE----- --Apple-Mail=_093D7833-78A3-47CE-87D7-F162846FE817--