Re: droid 4 in v4.18-rc: grep -r adasfasd /sys/ oopses

Tony Lindgren
2018-07-09T10:33:16Z

* Pavel Machek <pavel@ucw.cz> [180708 19:40]:
> Ok, so it seems to be:
>
> user@devuan:~$ cat /sys/kernel/debug/pm_debug/count
> (oops).
>
> The file seems to be world-readable.
>
> user@devuan:~$ ls -al /sys/kernel/debug/pm_debug/count
> -r--r--r-- 1 root root 0 Jan 1 1970 /sys/kernel/debug/pm_debug/count
>
> But on PC, that file does not exist.
>
> Any ideas?

I'm not seeing this as tested with omap2plus_defconfig and
not seeing any unclocked module interrupts here.. Can you
see if the script below produces something for you?

I had to filter out some trace pipes as they seem to hang.

Regards,

Tony

8< -----
#!/bin/sh

files=$(find /sys -type f)

for file in ${files}; do
if echo ${file} | grep -e trace_pipe -e stats; then
echo "Skipping ${file}.."
continue
fi
echo "Grepping in ${file}.."
grep asdf ${file}
done