Re: Debugging uninterruptible sleep causing drivers

From: Arjan van de Ven
Date: Mon Nov 19 2007 - 11:40:43 EST


On Mon, 19 Nov 2007 18:39:03 +0530
Ram <vshrirama@xxxxxxxxx> wrote:

> Hi,
> Would like some advices on how to debug a driver which causes a
> processes to go into
> uninterruptible sleep.
>
> Am trying to debug a bug which makes my video driver to go into
> an sleep/busywaiting. (when i do 'ps -l' find a 'D' in the stat
> field).
>
> 99% of the time the driver works,
>
> However when i try to run both the video and the audio
> driver.(streaming audio and video)
> The video driver sometimes goes into busywaiting/sleep.
>
> My driver contains lots of spinlocks and semaphores. I have no clue
> on how to solve this issues.
>

it starts by posting a URL to the (full) source code... without that..
how are people supposed to help you?


--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/