Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3630110yba; Sat, 11 May 2019 15:49:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxV3In8VBpIXJUKE3LpQ9s7l7GmLqn3E4VoT9n6tMqlyBPfPYtHORA5wu9sLvYsIj3+bcx0 X-Received: by 2002:a17:902:5ac9:: with SMTP id g9mr22378322plm.134.1557614966052; Sat, 11 May 2019 15:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557614966; cv=none; d=google.com; s=arc-20160816; b=LHaaRLjyi4TZjMFvHYbTfoklyeMJmAmQSP7Q3Vo9ur8uz/meI0sd8tofjC8t11HD5W 2p98LOQHDLRb0jW9qzyfhvEDqCNgIVfZ6He1zlU4kCaXOdXqa98dOzUdWY5+lP7JqqgU 3umVRVS8enoOk18lzviWvG5PEazDezE/pQqpC3NIY9HcbDdrf047IqQQ4iDV9OtCFKZN slBslwT/TOkG6beUOLXg6NLb3Uj5czDNEsOnek2hNrzvEtp460dtg00Dr/zHCuE5YXNN XfrjsMgC638z808RL1pag00ysKtKUGm2oPuechvFhBgd2jkgF4+EpdprjWrRKPyOClRi JsGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=GSl4RsrGfhdUH+i0bbuYN1DLTdrtQZzyM4JzXC/cG0Q=; b=vuajIiWxbhawXLDA9ZOVhfSaADFvsljtngClE4KEEOQ7+I7JxwKfrLn0KeiA7DnyjR tYfhC5Wr2tRkgsp/i74GDAnu+69Ohq0YY6SBBq4CKlEUMkUN7opdqEi0/iA2TjMLzWFf ZH6+l0jYJZJIwInapN3Sv1c77ADNiAaOH3B5QSASRP9KEVkZWEhJcC2qAqahCq4Txb3Y rlh4JosjCI9bxoj64BWeGFKIwOfnrLRfeuIfKSzxdUuLDaWkQslKKCQZhKh7oD2E7lsS WjcFJyF2YbKO0fRRj3pW8/Jw2YeA3p2gc+9Uz2Y8AXlJC//18/77VIFIIhnjYdXV2TfB 88vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uTXTnKqI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 68si12436574pga.147.2019.05.11.15.49.10; Sat, 11 May 2019 15:49:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uTXTnKqI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726261AbfEKWsX (ORCPT + 99 others); Sat, 11 May 2019 18:48:23 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:41485 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726033AbfEKWsX (ORCPT ); Sat, 11 May 2019 18:48:23 -0400 Received: by mail-qt1-f194.google.com with SMTP id y22so7352607qtn.8 for ; Sat, 11 May 2019 15:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=GSl4RsrGfhdUH+i0bbuYN1DLTdrtQZzyM4JzXC/cG0Q=; b=uTXTnKqIPoylmFYEdNTvQbpOCQR/TKRL184xP6NRVz2vgk8g2p37WXOhQaeOmDbcfD HolWXcAw3Yi8UzTsKeuzxDCu15vlBkGc0ByX9J8RGwplBy1XmlEI0zEn570qqyhuHnip vH8xmIqtNkiLpUwmIxMZmUeLvqRq8y512YIsEoRJHtsptGeIJw4g/Mdc20ImK4fjgskw ZNJcez9SaQvNYYtRaC76wGr2JTqmXTHiBoChHXoNFHzT9lCLv33W48prW4iiqRQlWi/z 40h0kbzHnrpoakxZxXDZbexWH3fU4iHJTq6r1z8wyt0XxEGPTpI/g9v/U6bRANHVUc7e eCTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=GSl4RsrGfhdUH+i0bbuYN1DLTdrtQZzyM4JzXC/cG0Q=; b=X6d2FnEODg+Nrdx3YYc7JQz2mwifHdjuPIlh3dL3ypfh3IVLyXvsSISmG31qmfne7p pWmyONOjb54fPjDF5I4TFflQGwFH1gyVMEuatZphCxDnl7yTvt4hy/F6/cLpt/q3mt7z c1lSpTEXasUvOfqQB/fJKq8dXsIOJGMgKCcN4PTCNnzXNnUbOMnR4q2TZ/nEOnUDc+OF r4pa7+ZBfAQtEdxVJgO0iLG86uDUUObzZXre8O+K5R+qo5gPS4A9yJsUJvvA1UcLo+Wo 6DQSEp2OODefFrT9vkz/CQQZnf+zmZnjlMbxR/Wz59OZ7UQzLfdw9EcQ5bhrpnciBuVh kxmQ== X-Gm-Message-State: APjAAAVtW4yvBL4xTlbNfNxz5Wf+N4M410kaqFXcgbhUUBFX4ZG3QSb6 GF/QWdh+pUfUQRhdGvDUvCoHCkF6 X-Received: by 2002:aed:3108:: with SMTP id 8mr16472515qtg.314.1557614902352; Sat, 11 May 2019 15:48:22 -0700 (PDT) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id s55sm5294609qte.17.2019.05.11.15.48.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 May 2019 15:48:21 -0700 (PDT) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Sat, 11 May 2019 18:48:20 -0400 To: Arvind Sankar Cc: linux-kernel@vger.kernel.org Subject: Re: kexec failure (Undefined symbol: __stack_chk_fail) Message-ID: <20190511224819.GA71308@rani.riverdale.lan> References: <20190511191658.GA25716@rani.riverdale.lan> <20190511194048.GA57048@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190511194048.GA57048@rani.riverdale.lan> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 11, 2019 at 03:40:49PM -0400, Arvind Sankar wrote: > On Sat, May 11, 2019 at 03:16:59PM -0400, Arvind Sankar wrote: > > I'm running v5.1.0 trying to kexec into v5.1.1. I get an error when > > trying to load the kernel image, I enabled some debugging of > > arch/x86/kernel/machine_kexec_64.c and got the following log: > > [90028.591812] kexec: Applying relocate section .rela.text to 1 > > [90028.592438] kexec: Symbol: sha256_update info: 12 shndx: 01 value=159 size: 1bc4 > > [90028.593077] kexec: Symbol: purgatory_sha_regions info: 11 shndx: 08 value=0 size: 100 > > [90028.593744] kexec: Symbol: sha256_init info: 12 shndx: 01 value=117 size: 42 > > [90028.594406] kexec: Symbol: purgatory_sha_regions info: 11 shndx: 08 value=0 size: 100 > > [90028.595086] kexec: Symbol: sha256_final info: 12 shndx: 01 value=1d1d size: b5 > > [90028.595775] kexec: Symbol: purgatory_sha256_digest info: 11 shndx: 08 value=100 size: 20 > > [90028.596486] kexec: Symbol: memcmp info: 12 shndx: 01 value=1e9b size: c > > [90028.597203] kexec: Symbol: purgatory_backup_dest info: 11 shndx: 08 value=130 size: 8 > > [90028.597947] kexec: Symbol: purgatory_backup_src info: 11 shndx: 08 value=128 size: 8 > > [90028.598701] kexec: Symbol: purgatory_backup_sz info: 11 shndx: 08 value=120 size: 8 > > [90028.599449] kexec: Symbol: __stack_chk_fail info: 10 shndx: 00 value=0 size: 0 > > [90028.600199] kexec: Undefined symbol: __stack_chk_fail > > [90028.600955] kexec-bzImage64: Loading purgatory failed > > > > I have attached the config.gz from the running 5.1.0 kernel and the > > built 5.1.1 kernel. The config was working ok with the 5.0 series. > > > > Thanks > > > I get the same error message when trying to load even the currently > running kernel. Hm this has mysteriously disappeared after cold-booting into 5.1.1.