From owner-freebsd-xen@freebsd.org Tue Feb 23 09:22:09 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5565FAAF2EB for ; Tue, 23 Feb 2016 09:22:09 +0000 (UTC) (envelope-from gustau.perez@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD3A89A8 for ; Tue, 23 Feb 2016 09:22:08 +0000 (UTC) (envelope-from gustau.perez@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id c200so210131712wme.0 for ; Tue, 23 Feb 2016 01:22:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=vFjGmpS7vBKWf1Q7QIXLEAAnT8eZ4LooUU2t+JCiUo0=; b=aITUOc7puYLxCznFJ7oUt8HCiiaJVKnWcHcMNkU/r5M0sMI7yI0VJzZF80xnvERP4I FIgjCZ6m3xeiWD7zBSJ7FTuIgqKeyeqlH1KFRLPxXOEqZp75oOUS3Z+kiUa/L/lPjqbq aEKu8saRSC2wmz1qNrceWWQARXhGOlJZdeQU5OqdS26kZR4zuPwqaXqGIOjw9MZxeeKM PZpxjmkxysdtQOuJF/GI4HAxg4lATNbcqJa1yylsWFZX2njCCaFwxdsLJQ0ez6gwo52Q 7jNmw9ycVRJlX5MTiOO6ixbWz5ewUd0phPwZtCUfX3gesfvW44RLCQiPD7XIGinVEf8V makA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=vFjGmpS7vBKWf1Q7QIXLEAAnT8eZ4LooUU2t+JCiUo0=; b=cszZx/eOE/xHgmI85lnaaiCHOrwEPInw1pWRYkUyDIfoF5Fc5iSlFahLfh8MVlhSYF ih8cMOlwpSdq4y3lOErDE02udVfTRgJkS4UIEmZgCTfiEP39EIOLKCbDAq9EUkmk8Zs3 rAwxpnEGdaVlCA/uKEzwQ89UdGHhpTHy3af7+p4jVvM3r1ElFHff+6QKmCIAoca84oRG cDyczUQtAxclqfXGlrz1i/x16yRS46PeBa0jxUeuu8BodBa2EZIccOzaan/vfEG8AX8a NVtuMPZHH7fkYdnY9JYZCNEvH6JNyOyt6wr1y0r7Q4Pv2ugZTuzLypuip0me0O9AbqIy fWSA== X-Gm-Message-State: AG10YOSCDexvz83QoLPWO+zWDLSkmQDhAD8mOrjrF+rP7vBpKvzLJPGlDgFGE80/jaYL/g== X-Received: by 10.194.250.103 with SMTP id zb7mr36725756wjc.65.1456219327314; Tue, 23 Feb 2016 01:22:07 -0800 (PST) Received: from [10.0.2.151] ([147.83.40.10]) by smtp.googlemail.com with ESMTPSA id s66sm2625112wmb.6.2016.02.23.01.22.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Feb 2016 01:22:06 -0800 (PST) Subject: Re: Porting the block-iscsi hotplug script To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , FreeBSD XEN References: <553DEB97.5000300@entel.upc.edu> <5540A053.4080409@entel.upc.edu> <5540F3FC.80606@citrix.com> <5541FC8A.8080009@citrix.com> <5542365D.10403@entel.upc.edu> <55423ECD.6000404@citrix.com> <5556F21D.2050005@entel.upc.edu> <555EEFBA.5080902@citrix.com> <555EF542.3090002@citrix.com> <555F9B3F.1000600@entel.upc.edu> <55602512.1090702@citrix.com> <56C6FA2F.8040900@gmail.com> <56CAC8CB.8030107@gmail.com> <56CADEDA.4050007@citrix.com> <56CB0057.1060509@gmail.com> <56CB041E.1020009@citrix.com> <56CB2D90.5080809@gmail.com> <56CB34BA.6060809@citrix.com> From: =?UTF-8?Q?Gustau_P=c3=a9rez?= X-Enigmail-Draft-Status: N1110 Message-ID: <56CC24BD.6050609@gmail.com> Date: Tue, 23 Feb 2016 10:22:05 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56CB34BA.6060809@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Feb 2016 09:22:09 -0000 El 22/02/16 a les 17:18, Roger Pau Monné ha escrit: > > AFAICT this is a gp that's injected by Xen when Dom0 tries to execute > certain instructions that Xen cannot emulate (INS or OUTS). I've fixed > this sometime ago in Xen upstream, but I seem to have missed to add the > relevant patches to the port. Can you try to apply the following patches: > > https://people.freebsd.org/~royger/xen_ins/ > > To the xen-kernel port and rebuild it? There's no need to apply them to > the xen-tools port, this only affects the hypervisor but not the toolstack. Hi Roger, I've able to apply those patches to the xen-kernel port and they fixed the panic. Do you want me to send you the port diff o submit a PR? If you submit those yourself, please mind to add them to the EXTRA_PATCHES knob in the port Makefile (I happened to me the first time and that leaded me to think your patches did not fix the problem). Regarding the hotplug stuff, I reworked the patches to the kernel (it applied but with displacements) and two of the xen-tools ones. Do you want me to post them somewhere? Thank you, Gustau