* Merlijn Wajer <merlijn@xxxxxxxxxx> [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