Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp85285ybv; Wed, 5 Feb 2020 01:38:37 -0800 (PST) X-Google-Smtp-Source: APXvYqx4hUzc2/ZHfMFXgBByxSm9toVWZdPsnESvyhABfAgf8xemBar9pmrXfRztp0KMeckl0ur0 X-Received: by 2002:a9d:7851:: with SMTP id c17mr25876579otm.58.1580895517691; Wed, 05 Feb 2020 01:38:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580895517; cv=none; d=google.com; s=arc-20160816; b=hD9SzZdAo2KiObmFF6ETsgZCXPVtcsUlCJFUy+xQRrOvEYihnabygMNA7WSq+JWwZo aq6sVja10BjESmgBvJbJUARZHJ1d2Hwvk3GSSFCvl3gXSMWCeEeYytUBcDn1Ecsl/q0O eL4BkelJXlNgwZJOPiuxl/TsYbnu7mz6VQkDNX/27auMMKDNyB7WrpHGygAukfDvb3RG TfHnwRzocsPtNECObrEBCUAR9dEkJx0a82AELeZDqy0UT6NK0ptMQPHrFgMSwbMgS5PY i/SdF6hAX2r50Zapn+gIhtWPQSQ5j+NMrBS2X9slc00CM/RNPQxDQseLG8OMD5dYtd7O QOEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=V/sp7gj8I9qykKUt8ZuZBqOrNa3CqcXbspzOseC36ug=; b=JbxCeJHEw5Zo+OH9RdVt8yrpiZiSMs3U6fn7txJt8LuMDqDIIqr24ekfzNEoOj5VnM ZLrEySoqFrE3fcfaDM0v4XoNqQldIKyqB7sba/HmNHJ4Hua7RibUg/sTILFoyGhxvrfw Gny+T7a26c7lb4BiovJIANU+FWQ7cApiUvOcyxGNLSnMOKXKBL85VKfVTOQrB+bRdZRI 4itBHrAHNOAfcUZh3jDAtDMhRrdnJWZQC8saOCfV+GE6zHjhrMWHemhKWzrA6TbCaitC YdfD6+bdLyP+e3XfPq7FGbLQuiKENX6+sFfOvdZHhFJogqIN88ud8Lu/WoVajmOy94pL 3wYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KYBfURMR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si11156972oim.195.2020.02.05.01.38.25; Wed, 05 Feb 2020 01:38:37 -0800 (PST) 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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KYBfURMR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728211AbgBEJhA (ORCPT + 99 others); Wed, 5 Feb 2020 04:37:00 -0500 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:44909 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728035AbgBEJg7 (ORCPT ); Wed, 5 Feb 2020 04:36:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580895418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V/sp7gj8I9qykKUt8ZuZBqOrNa3CqcXbspzOseC36ug=; b=KYBfURMR7tzd/Bapq8ENRUDYamNRfSIvAgVSEmHpR3RliAnHml1I4csgJBMyFR+QnQwtGi 7ohEzi00XHdjzzu11yhxKVIdBMgyY0XFWYwIsMoT9n/HfAQ+i0l8ZqN66+QwoXKNubKjZh NpQjlkGJoz8ucXgdYGErguvO1mj3AMk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-14-4b-Is73GMliMOV8ahgAwXg-1; Wed, 05 Feb 2020 04:36:52 -0500 X-MC-Unique: 4b-Is73GMliMOV8ahgAwXg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DE5BD1005F74; Wed, 5 Feb 2020 09:36:50 +0000 (UTC) Received: from localhost.localdomain (ovpn-12-108.pek2.redhat.com [10.72.12.108]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B49EA5DA2C; Wed, 5 Feb 2020 09:36:44 +0000 (UTC) Subject: Re: [PATCH 0/2] printk: replace ringbuffer To: Sergey Senozhatsky , John Ogness Cc: Petr Mladek , Peter Zijlstra , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , Andrea Parri , Thomas Gleixner , kexec@lists.infradead.org, linux-kernel@vger.kernel.org References: <20200128161948.8524-1-john.ogness@linutronix.de> <20200205044848.GH41358@google.com> <20200205050204.GI41358@google.com> <88827ae2-7af5-347b-29fb-cffb94350f8f@redhat.com> <20200205063640.GJ41358@google.com> From: lijiang Message-ID: <05bdb038-46dc-2939-60e5-7fda2877fa2e@redhat.com> Date: Wed, 5 Feb 2020 17:36:41 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200205063640.GJ41358@google.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On (20/02/05 13:38), lijiang wrote: >>> On (20/02/05 13:48), Sergey Senozhatsky wrote: >>>> On (20/02/05 12:25), lijiang wrote: > > [..] > >>>> >>>> So there is a General protection fault. That's the type of a problem that >>>> kills the boot for me as well (different backtrace, tho). >>> >>> Do you have CONFIG_RELOCATABLE and CONFIG_RANDOMIZE_BASE (KASLR) enabled? >>> >> >> Yes. These two options are enabled. >> >> CONFIG_RELOCATABLE=y >> CONFIG_RANDOMIZE_BASE=y > > So KASLR kills the boot for me. So does KASAN. > For my side, after adding the option 'nokaslr' to kernel command line, I still have the previously mentioned problem, finally, kernel failed to boot. Thanks. > John, do you see any of these problems on your test machine? > > -ss >