From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1614EC04AAC for ; Thu, 23 May 2019 06:40:52 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 87FB420879 for ; Thu, 23 May 2019 06:40:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=c-s.fr header.i=@c-s.fr header.b="USGfGSCA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87FB420879 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=c-s.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 458fyn6JZszDqWr for ; Thu, 23 May 2019 16:40:49 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=c-s.fr (client-ip=93.17.236.30; helo=pegase1.c-s.fr; envelope-from=christophe.leroy@c-s.fr; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=c-s.fr Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=c-s.fr header.i=@c-s.fr header.b="USGfGSCA"; dkim-atps=neutral Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 458fx73t1tzDqQM for ; Thu, 23 May 2019 16:39:23 +1000 (AEST) Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 458fx33Vjjz9v2C1; Thu, 23 May 2019 08:39:19 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=USGfGSCA; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id bYM2dNkrzPBn; Thu, 23 May 2019 08:39:19 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 458fx32Kd9z9v2C0; Thu, 23 May 2019 08:39:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1558593559; bh=9jzQmEVIjqlPKEAJBBHeVqFQYPh/4gj9Mr2pZLdrleE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=USGfGSCA7+UxSmG8E9WEYacH/IYVaipHxXLsZCyXO18bhEetatwTCkvm0WR8yE1cO eU4K2estZeiQ3O2prGpwsz4LFOhPOmoCyzjphLw2VVj/vghCpy8V65sGC+LW3pjGZD GqtAhJ49sE4/wNcn2kR2BKP7dYrfOyzcB6IuBnE0= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 44A258B77D; Thu, 23 May 2019 08:39:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id jBZfk5QpypMo; Thu, 23 May 2019 08:39:20 +0200 (CEST) Received: from PO15451 (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 093528B75A; Thu, 23 May 2019 08:39:19 +0200 (CEST) Subject: Re: Failure to boot G4: dt_headr_start=0x01501000 To: Mathieu Malaterre References: <33ab57c7-294a-6ae4-d678-1490ce5b97f1@c-s.fr> From: Christophe Leroy Message-ID: <9b6e027e-0fa0-e088-d9a3-47b005cbc356@c-s.fr> Date: Thu, 23 May 2019 08:39:19 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Salut Mathieu, Le 23/05/2019 à 08:24, Mathieu Malaterre a écrit : > Salut Christophe, > > On Wed, May 22, 2019 at 2:20 PM Christophe Leroy > wrote: >> >> >> >> Le 22/05/2019 à 14:15, Mathieu Malaterre a écrit : >>> Hi all, >>> >>> I have not boot my G4 in a while, today using master here is what I see: >>> >>> done >>> Setting btext ! >>> W=640 H=488 LB=768 addr=0x9c008000 >>> copying OF device tree... >>> starting device tree allocs at 01401000 >>> otloc_up(00100000, 0013d948) >>> trying: 0x01401000 >>> trying: 0x01501000 >>> -› 01501000 >>> alloc_bottom : 01601000 >>> alloc_top : 20000000 >>> alloc_top_hi : 20000000 >>> nmo_top : 20000000 >>> ram_top : 20000000 >>> Building dt strings... >>> Building dt structure... >>> reserved memory map: >>> 00d40000 - 006c1000 >>> Device tree strings 0x01502000 -> 0x00000007 >>> Device tree struct 0x01503000 -> 0x00000007 >>> Quiescing Open Firmware ... >>> Booting Linux via __start() @ 0x001400000 >>> ->dt_headr_start=0x01501000 >>> >>> Any suggestions before I start a bisect ? >>> >> >> Have you tried without CONFIG_PPC_KUEP and CONFIG_PPC_KUAP ? > > Using locally: > > diff --git a/arch/powerpc/configs/g4_defconfig > b/arch/powerpc/configs/g4_defconfig > index 14d0376f637d..916bce8ce9c3 100644 > --- a/arch/powerpc/configs/g4_defconfig > +++ b/arch/powerpc/configs/g4_defconfig > @@ -32,6 +32,8 @@ CONFIG_USERFAULTFD=y > # CONFIG_COMPAT_BRK is not set > CONFIG_PROFILING=y > CONFIG_G4_CPU=y > +# CONFIG_PPC_KUEP is not set > +# CONFIG_PPC_KUAP is not set > CONFIG_PANIC_TIMEOUT=0 > # CONFIG_PPC_CHRP is not set > CONFIG_CPU_FREQ=y > > > Leads to almost the same error (some values have changed): Ok. When you say you are using 'master', what do you mean ? Can you give the commit Id ? Does it boots with Kernel 5.1.4 ? Did you try latest powerpc/merge branch ? Can you send your full .config ? Christophe > > done > Setting btext ! > W=640 H=488 LB=768 addr=0x9c008000 > copying OF device tree... > starting device tree allocs at 01300000 > alloc_up(00100000, 0013d948) > trying: 0x01300000 > trying: 0x01400000 > -› 01400000 > alloc_bottom : 01500000 > alloc_top : 20000000 > alloc_top_hi : 20000000 > nmo_top : 20000000 > ram_top : 20000000 > Building dt strings... > Building dt structure... > reserved memory map: > 00c40000 - 006c0000 > Device tree strings 0x01401000 -> 0x00000007 > Device tree struct 0x01402000 -> 0x00000007 > Quiescing Open Firmware ... > Booting Linux via __start() @ 0x001400000 > ->dt_headr_start=0x01400000 > > Thanks anyway, >