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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A99C9C433F5 for ; Sat, 11 Dec 2021 06:57:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229685AbhLKG5y (ORCPT ); Sat, 11 Dec 2021 01:57:54 -0500 Received: from muru.com ([72.249.23.125]:37108 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbhLKG5y (ORCPT ); Sat, 11 Dec 2021 01:57:54 -0500 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 199CB809F; Sat, 11 Dec 2021 06:58:35 +0000 (UTC) Date: Sat, 11 Dec 2021 08:57:51 +0200 From: Tony Lindgren To: Merlijn Wajer Cc: Aaro Koskinen , "Merlijn B.W. Wajer" , Andreas Kemnade , Pavel Machek , linux-omap , Dev Null , Ivaylo Dimitrov , Sebastian Reichel , "H. Nikolaus Schaller" Subject: Re: Oops while booting 5.15.2 on Nokia N900 Message-ID: References: <12e13327-3bb5-229e-d784-cd528db4b58e@archive.org> <6fa3d07a-28e5-7853-e6ca-fc405d3080e4@archive.org> <20211208205700.GA12125@duo.ucw.cz> <20211208220400.1f9cff00@aktux> <20211210111345.GD799423@darkstar.musicnaut.iki.fi> <7438fa4a-ea92-a3ce-4cc7-8da8a4af02b5@wizzup.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7438fa4a-ea92-a3ce-4cc7-8da8a4af02b5@wizzup.org> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Merlijn Wajer [211210 23:41]: > Hi Aaro, > > On 10/12/2021 12:13, Aaro Koskinen wrote: > > Hi, > > > > On Wed, Dec 08, 2021 at 11:34:53PM +0100, Merlijn B.W. Wajer wrote: > >> What I have seen is that if off mode is enabled from userspace > >> (debugfs), it does not cause a problem (or I don't hit the problem at > >> least). That said, my off mode tests are pretty minimal with > >> init=/bin/sh, and I haven't gotten a fully booted (with lots of modules > >> loaded, gui and daemons) system to enter off mode yet. > > > > I also started seeing crashes with fb2c599f0566 on N900. It's been several > > months since I last tested, but I remember I was able to trigger the > > crashes reliably with MMC access from the minimal shell enviroment. > > I see the MMC is also visible in your crash logs. My test case was > > something like "sleep 30 ; blkid ; sleep 30". > > Thanks for this info -- I can confirm, I see the same when I do this: > > 1. boot to init=/bin/bash > > 2. run: > > > modprobe panel-sony-acx565akm > > > > mount -t proc none /proc > > mount -t sysfs none /sys > > mount -t debugfs none /sys/kernel/debug > > mount -o rw,remount / > > > > echo 1 > /sys/kernel/debug/pm_debug/enable_off_mode > > echo 0 > /sys/class/backlight/acx565akm/brightness > > 3. run: > > > sleep 30 ; blkid > > So we have a pretty reproducible test case here I think. Just to see if this relates to the omap_hsmmc.c driver, maybe try this with v5.16-rc1 also with a patch that changes omap3.dtsi ti,omap3-hsmmc compatibles with ti,omap3-sdhci compatibles. Regards, Tony