Received: by 10.192.165.156 with SMTP id m28csp1347419imm; Wed, 18 Apr 2018 08:16:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49ge3oAAmyQ7AZcnIJMsA+Z2phMqHv27/a81VVRg1nRGDsCog06EgdlhQF0sK7ranZp5UTU X-Received: by 10.99.120.138 with SMTP id t132mr2069347pgc.280.1524064580044; Wed, 18 Apr 2018 08:16:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524064579; cv=none; d=google.com; s=arc-20160816; b=j2GeTfBN+hbHlculj0dEAxkhX9kHjCKjCmxMcS7/NISMqTtGwzGenqh2f6ITmsCtmS jJTNkJJLh+lS+8g+jVNgzvxF6WUBtdWvv2MyvM75lxSoFeuUKms2oBMGJiAVWYsuTJdh FYMi4kiwNfdDryVR8is/Ly6XcPUUxoLCyb2cD8sjrm2x1ANcv6HHlkDidm7quvMXpyRx fqwLBJqaJDzjtlGnHeGdsMFmE8NxoLilEGGwq+EK2Df09KQL6VvIe+QgCvN6lEk5VkJg IxYFIuINVziL3NaV2trJN3fzWCQrfRM+eiXgiVGIRDBARNZcGl+M/W05D8OZf/QSktod kPCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=fGoGAD0Ne88noC0V+puTRtbLNW+RUoE6vllQeNL87Fs=; b=YGxHYzhQuECYrTOA4AXxAbatqimhgTa7LzFLlv35IegQ2ft/awNlK+U+foiFlTSaXu 2jN1tEzP4iy1zcef6dOUd0+JQqRxIj4em2O+LpKTgiUh/II2XamzD5h+lMSSlknEvQMu sJdYHjW3ji75veGsxXUmxv2oFHt7D+C7Y0vgOkJ/qfr4bARbAkEV9GMOYXLzAxe/EAQF Vhn8v4pUyN8KbKkuUFHtv+6CX16JLxrDlyHwKGTiaTATNTB0Pl+fMP7vpwHpjZcefZSx PygowNmgr2dbSkNTOgxm+glIhuK/sH4awcTRXznmAEVz6eIYTBOWP8w5mNvz2RPdWF1l asMA== ARC-Authentication-Results: i=1; mx.google.com; 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 g15si1252391pgf.541.2018.04.18.08.16.03; Wed, 18 Apr 2018 08:16:19 -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; 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 S1752532AbeDRPN0 (ORCPT + 99 others); Wed, 18 Apr 2018 11:13:26 -0400 Received: from ozlabs.org ([203.11.71.1]:37417 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbeDRPNZ (ORCPT ); Wed, 18 Apr 2018 11:13:25 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 40R5Gq3b7rz9s3G; Thu, 19 Apr 2018 01:13:23 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Mathieu Malaterre , Christophe LEROY Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev , LKML Subject: Re: [PATCH] powerpc: Allow selection of CONFIG_LD_DEAD_CODE_DATA_ELIMINATION In-Reply-To: References: <20180417104909.22D416C07D@po15720vm.idsi0.si.c-s.fr> <48cdb73c-f0c4-0c8a-19f5-8fce000e7050@c-s.fr> Date: Thu, 19 Apr 2018 01:13:18 +1000 Message-ID: <87fu3spmy9.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mathieu Malaterre writes: > On Wed, Apr 18, 2018 at 8:34 AM, Christophe LEROY ... > >> Can you also provide a copy of the messages you can see (prom_init ...) when >> boot is ok ? > > Hum. I've always been interested in seeing it also myself. Is there a > way to setup env to see those message (netconsole, delayed boot > messages ...) ? I never found a clear documentation on how to do that > on (closed) Apple hardware. If you see nothing after prom_init it usually indicates the kernel died very early in boot before it could find the console. The only option then is to enable one of the hard-coded EARLY_DEBUG options. I don't know which one works on a G4, maybe CONFIG_PPC_EARLY_DEBUG_BOOTX ? I assume it doesn't have a serial port. cheers