From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from e06smtp11.uk.ibm.com ([195.75.94.107]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X9aWv-0003Yu-2t for kexec@lists.infradead.org; Tue, 22 Jul 2014 13:54:59 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 22 Jul 2014 14:54:34 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 90F471B08051 for ; Tue, 22 Jul 2014 14:55:14 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s6MDsVV820316376 for ; Tue, 22 Jul 2014 13:54:31 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s6MDsUU4003816 for ; Tue, 22 Jul 2014 07:54:30 -0600 Message-ID: <53CE6D15.9060509@linux.vnet.ibm.com> Date: Tue, 22 Jul 2014 15:54:29 +0200 From: Laurent Dufour MIME-Version: 1.0 Subject: Re: kexec/kdump fails to load in ELF symbol relocation on ppc64 arch References: <20140722104255.GF13924@dhcp-17-37.nay.redhat.com> In-Reply-To: <20140722104255.GF13924@dhcp-17-37.nay.redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: WANG Chao Cc: kexec@lists.infradead.org On 22/07/2014 12:42, WANG Chao wrote: > Hi, Laurent > > With gcc -fexceptions, kexec/kdump fails to load: > > # kexec -p /boot/vmlinuz > Warning: append= option is not passed. Using the first kernel root partition > REL24 -157778404 out of range! Hi Chao, I think the root cause of the issue is due to an unresolved symbol in the purgatory. The '_Unwind_Resume' symbol mentioned in the log is generated by GCC which assumes it will find it somewhere when linking with the according shared library. The purgatory is not linked with any library and thus should not be instrumented as the -fexecptions GCC's option does. This should be similar to the fix I've done through the commit 7d33c8933ebf where the stack protection mechanism was introducing unresolved symbols. I'll look for a patch which is disabling the GCC -fexceptions option when building the purgatory. Laurent. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec