From owner-freebsd-xen@freebsd.org Fri Mar 11 14:03:31 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 1A0EFACC6E5 for ; Fri, 11 Mar 2016 14:03:31 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (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 DF8F09D8 for ; Fri, 11 Mar 2016 14:03:30 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-pa0-x233.google.com with SMTP id fl4so98566600pad.0 for ; Fri, 11 Mar 2016 06:03:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=sLqa8y5HWLY5imWImS0oa1W7e8UZjtOFTdt6+5w49lU=; b=YN6J6do8wk0wGgfFcNvDTRgfGJu6y1yB/W0orblUJAICNecE8+b4MQLt5ogNM9xg5r 1uZx5F+DwxSlPz9KaCpyUFAPSJDW8+DraHXUZmL2r7tlIKT0Oy7ZrxIy5U2DGEEN5Qpx /rulxTBfTQUBzxyNYseS59Eip8Y01GHe75VkN4oTvNpxXpYRFzDK+hlMOpCiP3t3UMLF fls5mY00Q0RTWl156xZbBbPJ3wtKaS9ncv4U98N9Z1TtRqCTKQQwX3OSQMAXO2Q2/dWN 5Z8yYkMuFiu3sNcdLcH6NUSqH0B/DaOiPg3Te3s/FCJ7nQFaL3U2WjDOmNYA/74CdlxG KU3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:mime-version; bh=sLqa8y5HWLY5imWImS0oa1W7e8UZjtOFTdt6+5w49lU=; b=EjplI27aCtK75MjmAgwR1HKrl3p91uR9Zw/SJzrpcFgI2yufSTkh1rZJcpzcUD5UdG X6gggqXiiflHSvcpRDScO4jCtwzY/cZSnOWgL4rOdPY21+oa6L8nasT6XpY02FqYJGEv MDwCkMXmJnNNnjsGreuvRN3bssdt1aDUybgdtISd7mZdsydQA2PC4NRwtIZTPxPl/VGs ay9j9vM34W9zyXOQ4pRJqq3B9uyTYG33jhOwOedI+3WqZLb5W6ZHI9y1oFr8nIN5p01e XTtAlG5YusPra0cwtrMZ4qzZ/lOkLdC0VKlqJHAflQQ1AXUVe8cqcrnKj/K1E9TyVu5W DiAQ== X-Gm-Message-State: AD7BkJJOlVKM+6pVGlK1MEogcL/w6Hzy21bBSOaPs2MoUSi6Sv7iQty+xjlDVaV+BYRc2w== X-Received: by 10.66.62.132 with SMTP id y4mr15073297par.55.1457705010182; Fri, 11 Mar 2016 06:03:30 -0800 (PST) Received: from [192.168.1.68] (p142030-ipngn11501marunouchi.tokyo.ocn.ne.jp. [220.104.97.30]) by smtp.gmail.com with ESMTPSA id 27sm13311040pfo.58.2016.03.11.06.03.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2016 06:03:29 -0800 (PST) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Date: Fri, 11 Mar 2016 23:03:27 +0900 (JST) From: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= X-X-Sender: royger@macbook-air-de-roger.local To: "skarida@gmail.com" cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD 11 XEN Dom0 hangs and reboot In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (OSX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 11 Mar 2016 14:03:31 -0000 On Fri, 11 Mar 2016, skarida@gmail.com wrote: Hello, > Hello all, > > I have tried to run FreeBSD 11 rev.296614 and /usr/ports/emulator/xen on > two different hardware configurations and the result was the same. XEN > kernel loads successfully but it hangs and restart on dom0 Init with > *"Error* creating domain 0" and "ELF boundaries" error. > > I tried on : > *) Dell Vostro with CPU i7-2640M > *) SuperMicro X10DRW-N with CPU E5-2667 v3 > > Both CPU are listed to support VT-d and VT-x. On both machines I have EPT > and DMAR available. > On both machines virtualization is enabled in BIOS. > > How can I proceed to catch the error source hardware related, XEN related > or FreeBSD related ? This has also been reported in the freebsd-virt mailing list: https://lists.freebsd.org/pipermail/freebsd-virtualization/2016-March/004257.html It seems like something is broken while linking the kernel, so the resulting ELF program headers physical address is wrong. AFAICT using r295683 or older revisions should work fine. As said in the other email, I'm currently bisecting the kernel in order to try to find the cause of the issue. Roger.