2014-04-26, 12:42
I've managed to obtain a trace for the system hang. I've built the kernel with lock debugging turned on and this is the result:
This is clearly a kernel bug, somewhere in the freescale patches. But I seem to be able to trigger it (inconsistently) by restarting xbmc.
Also, my display shows a terrible flicker when playing videos. The scrolling messages at the home screen show some flicker too though not as bad. I cannot think what might be causing this, but my guesses are either something going wrong with the double buffering or with hsync, or both. Does anyone else notice a some kind of flickering? Perhaps it's just my TV, but it does seem to work ok for other things.
Code:
lock: 0xdc246acc, .magic: dead4ead, .owner: DVDPlayer/597, .owner_cpu: 3
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.30-15-ARCH #7
[<80017108>] (unwind_backtrace) from [<80013908>] (show_stack+0x20/0x24)
[<80013908>] (show_stack) from [<804df170>] (dump_stack+0x24/0x28)
[<804df170>] (dump_stack) from [<804df898>] (spin_dump+0x8c/0x94)
[<804df898>] (spin_dump) from [<8026121c>] (do_raw_spin_lock+0x11c/0x18c)
[<8026121c>] (do_raw_spin_lock) from [<804e4f44>] (_raw_spin_lock_irqsave+0x80/0x98)
[<804e4f44>] (_raw_spin_lock_irqsave) from [<803a471c>] (gckEVENT_Interrupt+0x28/0x50)
[<803a471c>] (gckEVENT_Interrupt) from [<803ab518>] (gckHARDWARE_Interrupt+0x78/0x7c)
[<803ab518>] (gckHARDWARE_Interrupt) from [<80398260>] (gckKERNEL_Notify+0x30/0x34)
[<80398260>] (gckKERNEL_Notify) from [<80395f78>] (isrRoutine+0x28/0x50)
[<80395f78>] (isrRoutine) from [<800a9034>] (handle_irq_event_percpu+0x78/0x264)
[<800a9034>] (handle_irq_event_percpu) from [<800a926c>] (handle_irq_event+0x4c/0x6c)
[<800a926c>] (handle_irq_event) from [<800ac5d4>] (handle_fasteoi_irq+0x94/0x15c)
This is clearly a kernel bug, somewhere in the freescale patches. But I seem to be able to trigger it (inconsistently) by restarting xbmc.
Also, my display shows a terrible flicker when playing videos. The scrolling messages at the home screen show some flicker too though not as bad. I cannot think what might be causing this, but my guesses are either something going wrong with the double buffering or with hsync, or both. Does anyone else notice a some kind of flickering? Perhaps it's just my TV, but it does seem to work ok for other things.