Received: by 10.192.165.148 with SMTP id m20csp4994843imm; Tue, 24 Apr 2018 11:49:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx48NJnfgP4YsKl+D4gqN7pYsLLPR5AHlCpQpM47HUCmUvUUCvICYW+ImkS+6jLXKUOKjfTYh X-Received: by 10.98.186.26 with SMTP id k26mr25178433pff.195.1524595781859; Tue, 24 Apr 2018 11:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524595781; cv=none; d=google.com; s=arc-20160816; b=F+wNgsuQ0Y5GNmyDBCd1xsq+p0HbwUq+o60Ysz0LBGV7zD80M+LMlXnbfJCPr5s2DX JbRBcfiNh7mfqJ17od4iQLDoqQPO+o2zj1USAqcUFQ7ASUgP2vcprkcjojGPL/ffz4S3 D0Wcf5xnoCW/3QoSnmvIJP6eexpTC+uoay8xevPnih+h73EU7xZwnl1l5YxydKd1fj56 R5zma7ytQoL4jtbpExawPwLOthrTcC8sXjI4wQ4wT+9VVN8kO3DjWaFHrMiAPTK9Rq8G W4n3WZYh8sJ7/MzomFnWWa9SccGNlt+nqe3/pT41FOcS+kMEsTODWWfoHFvBy1/YcMcL qGfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=9mnlaEMeaVdGjJH+l6fLcYHcFFYIjmQbkZmglED5coE=; b=SUTbAm0b62HFaOumPnbLO25OvM6Qca8gU5Zj5OKGUTSpbi9wOGSUutsrSa+7qSXqlt 9nN4yZQIPiC8TCJDRpc8F5SBzqvDpjQyDLWFYtcatOkatUIKqhcKGWEiYdHvzw4e5UuP 75AM2dCAct8n7Xjh2HAb1cClqE2/SVX30NyMgTGohgA1TPFSkjOxwB8nCxoNg3PwaS21 DSe6pgoSWo2nPCgmcTcjHOHA3g2ddjlsYduWcNJahgyne9xXo+/6RFQdGaMNEEoHIedN w1FLzjTDqmnZa5iDIkC1blFlVMtk94MXxbZ79HSJS/8OXmb1Hc8RrniDbdQ0BQ83p1D6 Va4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mH+MuSD0; 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 g7si14229023pfm.106.2018.04.24.11.49.27; Tue, 24 Apr 2018 11:49:41 -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=mH+MuSD0; 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 S1751517AbeDXSsX (ORCPT + 99 others); Tue, 24 Apr 2018 14:48:23 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:37858 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750938AbeDXSsV (ORCPT ); Tue, 24 Apr 2018 14:48:21 -0400 Received: by mail-oi0-f52.google.com with SMTP id f63-v6so18666701oic.4 for ; Tue, 24 Apr 2018 11:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=9mnlaEMeaVdGjJH+l6fLcYHcFFYIjmQbkZmglED5coE=; b=mH+MuSD0frPfU7Q1XPX5VQaXG64v/ZQEk0BQOVHWO+kmYIaMsEUJT+G8IrPNQq6hUs aNG3Ip50ZD6oVhDaX0DfnjKCIqdChkAtZ4dgSZieMN4b/YXJcCTFbwQu4XYLrrbnzmqy eKtPWu3ZTV21JrhkFdkyPtJ0LgrMKq5beLan6q6S1Cb9nT6IMnCyC9nDTX4H03n/QFgy DmCb411W/fevSuDxBJf5lLov+VJYtoXDS0+YZ8dREb60bb+d9SYk3N5rJQvF8rvmMeQh v0mMyvnIqFXtaPDe/VFmtNvOSSIU0WCFMpUI4etDhsFEgbtxq7eRp0Uz/A+xTE/dpPhS FKEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=9mnlaEMeaVdGjJH+l6fLcYHcFFYIjmQbkZmglED5coE=; b=VyBF2B38ByN2VvyFHjUly6QlAMieN7t9kp6lpmYvwgl2np4LbysMZ2ye+eRmAUOdky Ht8rjEOGBCyQq5l5LsVwXUnYzrvuZkBMUNgVsej5KOb8tyFEWJfN6xccZgpZUYjYbV2c O2F2qShDS+NfFqy5rLXbTzEDusAEDHZzVf9t0eNMO4XYMg20igJpA7zLS9t4Jyc2lbnO PSEN5vt9PoG087pFCaxaw07iJehhhJSiI/1DBrr2/+0a3spNJk0ffxAE1T6L2k4eXGiT 8Mm08Dz0iZrJJvBJ7RGwKAHNHcA+EFoobZZks/e1JSq5lgEOXdmOyUUaJD/83AlJYLAP mkHQ== X-Gm-Message-State: ALQs6tBrvsHK7VdLM4L+1XQbpOSAy1aaMg1dyQerdE7/YT9ysYVkM8XA bgLHlMr52yI0v+RNdcrN3dyKN2nMXURWU1K9Z9Q= X-Received: by 2002:aca:3543:: with SMTP id c64-v6mr12968817oia.67.1524595700845; Tue, 24 Apr 2018 11:48:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.138.3.5 with HTTP; Tue, 24 Apr 2018 11:48:00 -0700 (PDT) In-Reply-To: <87fu3spmy9.fsf@concordia.ellerman.id.au> References: <20180417104909.22D416C07D@po15720vm.idsi0.si.c-s.fr> <48cdb73c-f0c4-0c8a-19f5-8fce000e7050@c-s.fr> <87fu3spmy9.fsf@concordia.ellerman.id.au> From: Mathieu Malaterre Date: Tue, 24 Apr 2018 20:48:00 +0200 X-Google-Sender-Auth: 0XyWAeVAfIoMuR8irjyAJSpM9Hw Message-ID: Subject: Re: [PATCH] powerpc: Allow selection of CONFIG_LD_DEAD_CODE_DATA_ELIMINATION To: Michael Ellerman Cc: Christophe LEROY , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 18, 2018 at 5:13 PM, Michael Ellerman wrote: > 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. Right I see them now. > I don't know which one works on a G4, maybe CONFIG_PPC_EARLY_DEBUG_BOOTX ? Exactly ! > I assume it doesn't have a serial port. - 56K Modem line (yes really!) - 2 USB - 1 Firewire :( > cheers