debug problems on ppc 83xx target due to changed struct task_struct
dave.hansen at linux.intel.com
Wed Aug 17 03:36:15 AEST 2016
On 08/16/2016 10:27 AM, christophe leroy wrote:
> If I debug a very small app, it gets stuck quickly after the app has
> stopped: indeed, the console seems ok but as soon as I try to execute
> something simple, like a ps or top, it get stuck. The target still
> responds to pings, but nothing else.
This one is a pretty common symptom when the kernel crashes holding a
per-process lock of some kind, probably most commonly mmap_sem.
Do you have a serial console? Can you do a sysrq-t on it to get stack
dumps of the hung processes and ps?
It's time to turn on all the debugging options we can find. Can you
build a kernel with all this stuff enabled (=y on all of these):
And all of the spinlock/lockdep stuff enabled too:
Let's hope that these turn something up.
More information about the Linuxppc-dev