From owner-freebsd-virtualization@freebsd.org Mon Mar 14 09:34:52 2016 Return-Path: Delivered-To: freebsd-virtualization@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 94CD4ACFE1B for ; Mon, 14 Mar 2016 09:34:52 +0000 (UTC) (envelope-from brahmann@lifec0re.net) Received: from mx.lifec0re.net (mx.lifec0re.net [212.86.98.154]) by mx1.freebsd.org (Postfix) with ESMTP id 584FD1E42 for ; Mon, 14 Mar 2016 09:34:51 +0000 (UTC) (envelope-from brahmann@lifec0re.net) Received: from [83.142.232.12] by mx.lifec0re.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1afOvN-000HtH-KN for freebsd-virtualization@freebsd.org; Mon, 14 Mar 2016 11:36:29 +0200 Reply-To: brahmann@lifec0re.net Subject: Re: ports/Xen on CURRENT, error: ELF start or entries are out of bounds. References: <56E14066.5080400@lifec0re.net> To: freebsd-virtualization@freebsd.org From: brahmann Message-ID: <56E685B3.50000@lifec0re.net> Date: Mon, 14 Mar 2016 11:34:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2016 09:34:52 -0000 Hi! On 11.03.2016 15:50, Roger Pau Monné wrote: > Hello, > > On Thu, 10 Mar 2016, brahmann wrote: >> Hi all. >> I'm trying to run XEN on latest current as dom0. >> Did all by manual: http://wiki.xen.org/wiki/FreeBSD_Dom0 (except compiling >> from git, cant compile tools, so just used ports xen/xen-tools/xen-kernel) >> And stuck with such an error: > > Yes, using the ports (xen-kernel/xen-tools) is the recommended way, I > should update the wiki page in order to note this. > >> --- >> (XEN) elf_xen_addr_calc_check: ERROR: ELF start or entries are out of bounds. >> Could not set up DOM0 guest OS >> --- >> >> This only drops on console while xen kernel boots, all other strings are OK >> according to manual. >> Link to photo of speedy console log: http://imgur.com/a5b9CLE >> If need details pls ask. > > I've just noticied this issue, it's probably due to an issue with kernel > linking. It seems like the physical address specified in the ELF program > headers is wrong. I'm currently trying to bisect it in order to find the > commit that caused it, in the meantime I can confirm that r295683 and > older revisions should work fine. Thanks for the fast reply, already has started normally on revision r295683. > > Just to confirm, can you paste the output of the following command: > > $ readelf -l /boot/kernel/kernel > > With the non-working kernel? Sorry, but this server already re-setuped to anpther project, i've did successful setup on other with r295683 revision. If you still need this - i can setup on other server with latest CURRENT. > > Thanks, Roger. > Anyway, thank you for help! With Best Regards, brahmann