mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Debugging uninterruptible sleep causing drivers
@ 2007-11-19 13:09 Ram
  2007-11-19 16:38 ` Arjan van de Ven
  0 siblings, 1 reply; 2+ messages in thread
From: Ram @ 2007-11-19 13:09 UTC (permalink / raw)
  To: linux-kernel

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.

Please do advice,

Regards,
sriram

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Debugging uninterruptible sleep causing drivers
  2007-11-19 13:09 Debugging uninterruptible sleep causing drivers Ram
@ 2007-11-19 16:38 ` Arjan van de Ven
  0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2007-11-19 16:38 UTC (permalink / raw)
  To: Ram; +Cc: linux-kernel

On Mon, 19 Nov 2007 18:39:03 +0530
Ram <vshrirama@gmail.com> 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@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-19 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-19 13:09 Debugging uninterruptible sleep causing drivers Ram
2007-11-19 16:38 ` Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®