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=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 2E312C433B4 for ; Tue, 4 May 2021 14:53:55 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 0919D6100A for ; Tue, 4 May 2021 14:53:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0919D6100A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FZNC41zR2z30Dq for ; Wed, 5 May 2021 00:53:52 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=qavwMkKm; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.helo=mo4-p00-ob.smtp.rzone.de (client-ip=81.169.146.220; helo=mo4-p00-ob.smtp.rzone.de; envelope-from=chzigotzky@xenosoft.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=qavwMkKm; dkim-atps=neutral Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.220]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FZNBV1Z2Sz2y88 for ; Wed, 5 May 2021 00:53:20 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; t=1620139966; cv=none; d=strato.com; s=strato-dkim-0002; b=IKNmiUxZQuIZAjlr8E8YkxRpLK0Bd4AOKYBvLgBf2BPPNgD3yykyh1SUmVacZe1Kik qMOccMb6nufjLibfdEqRV5pg1QEkJxSMS7oX1HyFu88f2zV2Wljq+qF+9fCOd9AuNHkL CDugrBDD42INDEWBID/XqeNvMQtik/QUZoH8WadSz4Qffd1ZhKjPUjE/Dhrv41ZoLMFi zs8g3Ngef/aDsg1jWq7+Ee3bjnWmHmoH9tRMxaK7ZH26jRKT1t8Cjhhz/dYaf5hJXksG j5Slgn6KVuEpyb9jRtxWPotJmC9YKJNcE/jcwfvlafi64qk+QtxFHMfh/2zk5VQ6hrXO Fr6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1620139966; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=UwmCclkJNcCE5GzMjcBdEZnDHDEc4F1PAuhxVz9Nc9Q=; b=I/FPdornNBeHx4tsCbJ3BCF8s30pRxpfjnVtqx3OO8P+VIS96by3y1ZhtrrkpDeFbM cPZw2McN9yCOMv+XGpJ6OzV4urg1xwqRZCzDqA7iQHpammPjrwy0pmefQYtP4vH8hfBz laWVDh0o2DGjUbburf7INuK+7Rfsb/YOxDM925OJOEJQ5AJZ1YK5iV04aiDdZX91Bk/2 yibc5GPc8C3ApxQXaplAhCxnaGgUONEGJPFoUIei52RIoXAJJ+9ErKoT/gDqoSZyxhDX 8pyDUYCVbbydpdDYOR8gCOrUifJx3dEGfpwazSSKMFD3QekOaM1AQs3n7RQ7RoyMKzdO CQVw== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1620139966; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=UwmCclkJNcCE5GzMjcBdEZnDHDEc4F1PAuhxVz9Nc9Q=; b=qavwMkKmapqkDdw1YAQx+JZm6snTgAKCGoxX0ppGxb6YzYbR0+BTcBUEoBzVgynCKU oiddDF6+IkJyIQJKsNNUWijQgQS4IRZ6ki6GY3N+G/GAQLylalxjQeTIVwNPrqlwt/zJ PEEk+E2HcitxWDvjAWB7qT6DYvq93lH8XP10q5dTU+5hZJkJE2GE2Kptk8P0RQ/mPitX 8OsaCZhzdxz/tHqcsG+xsUynN7U23RFI8m2ipgQbbIkAbwkj4aNfTequEuv+ZjWDjWR0 CWy+Q7xtgvcYuFH8EPg58JIISkzdsX2jdn8PFCATbH+vrgPQc3h/4S/ntvUj5OSQe+Pc S4gQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5DdBJSrwuuqxvPhSIwJp9hde4IG39Acg/ZIdVUvyTg==" X-RZG-CLASS-ID: mo00 Received: from Christians-iMac.fritz.box by smtp.strato.de (RZmta 47.25.6 AUTH) with ESMTPSA id D075c0x44Eqj2oW (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 4 May 2021 16:52:45 +0200 (CEST) Subject: Re: [FSL P50x0] Xorg always restarts again and again after the the PowerPC updates 5.13-1 To: Christophe Leroy , Michael Ellerman References: <3eedbe78-1fbd-4763-a7f3-ac5665e76a4a@xenosoft.de> <0886c1dc-e946-69cb-a0a9-57247acfd080@csgroup.eu> <9864cd72-f1aa-4cf5-1cda-b3a10233b24d@xenosoft.de> <1b0307be-05cd-ab62-8b22-75ffb59ff76b@csgroup.eu> <30f559f4-b50a-de63-94e1-761022468684@csgroup.eu> <3b7daea5-7b2b-a089-0427-3becb986b6f5@csgroup.eu> <1502fb22-680c-7393-238c-f82570806717@xenosoft.de> <6a322f04-a81e-ae31-1425-19fda9307b23@csgroup.eu> <6d3ae417-48de-3b61-f6fe-da951d74fef3@xenosoft.de> <070042db-0ac6-f4f6-1232-2f37c5e63d14@xenosoft.de> From: Christian Zigotzky Message-ID: Date: Tue, 4 May 2021 16:52:45 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE 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: Darren Stevens , linuxppc-dev , mad skateman , "R.T.Dickinson" , Christian Zigotzky Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Am 04.05.21 um 16:48 schrieb Christophe Leroy: > > > Le 04/05/2021 à 15:48, Christian Zigotzky a écrit : >> Am 04.05.21 um 13:02 schrieb Christian Zigotzky: >>> Am 04.05.21 um 12:07 schrieb Christian Zigotzky: >>>> Am 04.05.21 um 11:49 schrieb Christophe Leroy: >>>>> >>>>> >>>>> Le 04/05/2021 à 11:46, Christian Zigotzky a écrit : >>>>>> Am 04.05.21 um 11:11 schrieb Christophe Leroy: >>>>>>> >>>>>>> >>>>>>> Le 04/05/2021 à 11:09, Christian Zigotzky a écrit : >>>>>>>> Am 04.05.21 um 10:58 schrieb Christophe Leroy: >>>>>>>>> >>>>>>>>> >>>>>>>>> Le 04/05/2021 à 10:29, Christian Zigotzky a écrit : >>>>>>>>>> On 04 May 2021 at 09:47am, Christophe Leroy wrote: >>>>>>>>>>> Hi >>>>>>>>>>> >>>>>>>>>>> Le 04/05/2021 à 09:21, Christian Zigotzky a écrit : >>>>>>>>>>>> Hi Christophe, >>>>>>>>>>>> >>>>>>>>>>>> Thanks for your answer but I think I don't know how it >>>>>>>>>>>> works with the cherry-pick. >>>>>>>>>>>> >>>>>>>>>>>> $ git bisect start >>>>>>>>>>> >>>>>>>>>>> As you suspect the problem to be specific to powerpc, I can do >>>>>>>>>>> >>>>>>>>>>> git bisect start -- arch/powerpc >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> $ git bisect good 68a32ba14177d4a21c4a9a941cf1d7aea86d436f >>>>>>>>>>>> $ git bisect bad c70a4be130de333ea079c59da41cc959712bb01c >>>>>>>>>>> >>>>>>>>>>> You said that powerpc-5.13-1 is bad so you can narrow the >>>>>>>>>>> search I think: >>>>>>>>>>> >>>>>>>>>>> git bisect bad powerpc-5.13-1 >>>>>>>>>>> git bisect good 887f3ceb51cd3~ >>>>>>>>>> I tried it but without any success. >>>>>>>>>> >>>>>>>>>> git bisect bad powerpc-5.13-1 >>>>>>>>>> >>>>>>>>>> Output: >>>>>>>>>> fatal: Needed a single revision >>>>>>>>>> Bad rev input: powerpc-5.13-1 >>>>>>>>> >>>>>>>>> I don't understand, on my side it works. Maybe a difference >>>>>>>>> between your version of git and mine. >>>>>>>>> >>>>>>>>> In that case, just use the SHA corresponding to the merge: >>>>>>>>> >>>>>>>>> git bisect bad c70a4be130de333ea079c59da41cc959712bb01c >>>>>>>>> >>>>>>>>> Christophe >>>>>>>> Do you use a BookE machine? >>>>>>> >>>>>>> No I don't unfortunately, and I have tried booting in QEMU a >>>>>>> kernel built with your config, but it freezes before any output. >>>>>> You can use my kernels and distributions. >>>>>> >>>>> >>>>> Ok, I'll see if I can do something with them. >>>>> >>>>> In the meantime, have you been able to bisect ? >>>>> >>>>> Thanks >>>>> Christophe >>>> I am bisecting currently. >>>> >>>> $ git bisect start -- arch/powerpc >>>> $ git bisect good 887f3ceb51cd3~ >>>> $ git bisect bad c70a4be130de333ea079c59da41cc959712bb01c >>> OK, there is another issue after the second bisecting step. The boot >>> stops after loading the dtb and uImage file. I can't solve 2 issues >>> with bisecting at the same time. >> Xorg restarts again and again. >> >> Here are some interesting error messages: >> >> May 04 15:24:53 dc1.a-eon.tld kernel: lxsession[7255]: segfault (11) >> at 800000 nip ff6a770 lr ff6a760 code 1 in >> libglib-2.0.so.0.4800.2[feaf000+11f000] >> May 04 15:24:53 dc1.a-eon.tld kernel: lxsession[7255]: code: 4bfc9401 >> 3920ffff 91210054 8061005c 2f830000 419c0014 38800000 4bfc93e5 >> May 04 15:24:53 dc1.a-eon.tld kernel: lxsession[7255]: code: 3920ffff >> 9121005c 2f8f0000 419e0008 <93ef0000> 418e000c 81210040 913b0000 >> >> May 04 15:37:40 mintppc.a-eon.tld kernel: packagekitd[4290]: segfault >> (11) at 8 nip 92dbc8 lr 92dae8 code 1 in packagekitd[920000+51000] >> May 04 15:37:40 mintppc.a-eon.tld kernel: packagekitd[4290]: code: >> 38800080 3be001f4 4cc63182 4802c8ad 4bffff64 60000000 81210018 80be8048 >> May 04 15:37:40 mintppc.a-eon.tld kernel: packagekitd[4290]: code: >> 7fa6eb78 38800010 807e801c 3be0ffff <80e90008> 4cc63182 4802c881 >> 4bffff38 > > Yes it shows you get a segfault for some reason. > So yes, 887f3ceb51cd3 could have been the reason but 525642624783 > fixes it already. > > Therefore I think a proper bisect is needed to identify the culprit > commit to understand the reason and fix it. > > You are running a 32 bits userspace on a 64 bits kernel ? > I use 32-bit and 64-bit userlands with 64-bit kernels. Both userlands are affected by the Xorg issue.