login
Header Space

 
 

Re: mplayer v4l hangs in 2.6.25.2/4

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: koos vriezen <koos.vriezen@...>
Cc: <linux-kernel@...>
Date: Saturday, May 17, 2008 - 2:16 pm

On Sat, 17 May 2008 18:54:06 +0200
"koos vriezen" <koos.vriezen@gmail.com> wrote:


Hi,

this smells like a deadlock (probably in v4l). Thankfully the kernel
has a lot of diagnostics for detecting deadlocks (you just found
that the  least invasive one caught the deadlock, but unfortunately it's
also the method that yields the least information).

Is it possible for you to enable lockdep (CONFIG_PROVE_LOCKING)?
With that on, the kernel will print nicely which locks are being waited
on, and if there's a deadlock, it'll print that too. Speaking of that,
since this looks like a mutex related issue, it's worth enabling
CONFIG_DEBUG_MUTEXES as well.... more debug checks in this area.
If you also enable CONFIG_FRAME_POINTER then the backtrace will get
better too (but it's not totally required, just easier for diagnostics)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mplayer v4l hangs in 2.6.25.2/4, koos vriezen, (Sat May 17, 12:54 pm)
Re: mplayer v4l hangs in 2.6.25.2/4, Arjan van de Ven, (Sat May 17, 2:16 pm)
Re: mplayer v4l hangs in 2.6.25.2/4, koos vriezen, (Sat May 17, 3:11 pm)
Re: mplayer v4l hangs in 2.6.25.2/4 (likely regression), Arjan van de Ven, (Sat May 17, 3:26 pm)
Re: mplayer v4l hangs in 2.6.25.2/4 (likely regression), Arjan van de Ven, (Sat May 17, 3:34 pm)
Re: mplayer v4l hangs in 2.6.25.2/4 (likely regression), koos vriezen, (Sat May 17, 4:06 pm)
Re: mplayer v4l hangs in 2.6.25.2/4 (likely regression), koos vriezen, (Sat May 17, 5:09 pm)
Re: mplayer v4l hangs in 2.6.25.2/4 (likely regression), Arjan van de Ven, (Sat May 17, 4:20 pm)
Re: mplayer v4l hangs in 2.6.25.2/4 (likely regression), Mauro Carvalho Chehab, (Tue May 20, 7:49 am)
Re: mplayer v4l hangs in 2.6.25.2/4 (likely regression), Arjan van de Ven, (Tue May 20, 12:53 pm)
Re: mplayer v4l hangs in 2.6.25.2/4 (likely regression), Willy Tarreau, (Sat May 17, 4:45 pm)
speck-geostationary