public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* application hanging with 2.6.25 and bttv
@ 2008-06-21 18:33 matthieu castet
  2008-06-22 17:21 ` matthieu castet
  0 siblings, 1 reply; 4+ messages in thread
From: matthieu castet @ 2008-06-21 18:33 UTC (permalink / raw)
  To: Video 4 Linux

Hi,

I have got a tv application that doesn't work anymore with 2.6.25 : it 
hangs.

Strace :

open("/dev/video0", O_RDWR)             = 3
ioctl(3, EXT2_IOC_GETVERSION or VIDIOCGCAP, 0x8674e80) = 0
ioctl(3, EXT2_IOC_SETVERSION or SONYPI_IOCGBAT1CAP or VIDIOCGCHAN, 
0x8674ec0) = 0
ioctl(3, EXT2_IOC_SETVERSION or SONYPI_IOCGBAT1CAP or VIDIOCGCHAN, 
0x8674ec0) = 0
ioctl(3, EXT2_IOC_SETVERSION or SONYPI_IOCGBAT1CAP or VIDIOCGCHAN, 
0x8674ec0) = 0
ioctl(3, SONYPI_IOCGBAT1REM or VIDIOCSCHAN, 0x8674ec0) = 0
ioctl(3, EXT2_IOC_SETVERSION or SONYPI_IOCGBAT1CAP or VIDIOCGCHAN, 
0x8674ec0) = 0
ioctl(3, SONYPI_IOCGBAT2CAP or VIDIOCGTUNER, 0x8672fc0) = 0
ioctl(3, SONYPI_IOCGBAT2REM or VIDIOCSTUNER, 0x8672fc0) = 0
ioctl(3, SONYPI_IOCGBAT1REM or VIDIOCSCHAN, 0x8674ec0) = 0
ioctl(3, VIDIOCGPICT, 0x8672f9e)        = 0
ioctl(3, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x8672f9e) = 0
ioctl(3, VIDIOCSWIN, 0x8674be0)         = 0
ioctl(3, VIDIOCGMBUF
<----- here hang


echo w > /proc/sysrq-trigger

[ 3838.478636] SysRq : Show Blocked State
[ 3838.478636]   task                PC stack   pid father
[ 3838.478636] mytv         D 00000095     0  9377   9375
[ 3838.478636]        f7edb930 00200082 f8c92216 00000095 f7edbab0 
c180b920 00000000 000d0f6e
[ 3838.478636]        f679fdd4 c180b920 000000ff 00000000 00000000 
00000000 f7e03010 f7e03018
[ 3838.478636]        f7e03014 f7edb930 c02b47e9 f7e03018 f7e03018 
f7edb930 f7e03010 00208000
[ 3838.478636] Call Trace:
[ 3838.478636]  [<f8c92216>] i2c_transfer+0x66/0x6d [i2c_core]
[ 3838.478636]  [<c02b47e9>] __mutex_lock_slowpath+0x50/0x7b
[ 3838.478636]  [<c02b467f>] mutex_lock+0xa/0xb
[ 3838.478636]  [<f8cece8d>] videobuf_mmap_setup+0xe/0x2d [videobuf_core]
[ 3838.478636]  [<f8d97d6b>] vidiocgmbuf+0x24/0x83 [bttv]
[ 3838.478636]  [<f8d97d47>] vidiocgmbuf+0x0/0x83 [bttv]
[ 3838.478636]  [<f8d317fd>] __video_do_ioctl+0x93/0x2cca [videodev]
[ 3838.478636]  [<c011a94d>] __wake_up_common+0x2e/0x58
[ 3838.478636]  [<c011cbe2>] __wake_up_sync+0x2a/0x3e
[ 3838.478636]  [<c011b203>] __dequeue_entity+0x1f/0x71
[ 3838.478636]  [<c0106970>] __switch_to+0xa3/0x12f
[ 3838.478636]  [<f8d3469d>] video_ioctl2+0x16d/0x233 [videodev]
[ 3838.478636]  [<c012e847>] ptrace_notify+0x7d/0xa4
[ 3838.478636]  [<c017f70b>] vfs_ioctl+0x47/0x5d
[ 3838.478636]  [<c017f966>] do_vfs_ioctl+0x245/0x258
[ 3838.478636]  [<c017f9ba>] sys_ioctl+0x41/0x5b
[ 3838.478636]  [<c0107862>] syscall_call+0x7/0xb
[ 3838.478636]  =======================

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: application hanging with 2.6.25 and bttv
  2008-06-21 18:33 application hanging with 2.6.25 and bttv matthieu castet
@ 2008-06-22 17:21 ` matthieu castet
  2008-06-22 21:52   ` matthieu castet
  0 siblings, 1 reply; 4+ messages in thread
From: matthieu castet @ 2008-06-22 17:21 UTC (permalink / raw)
  To: Video 4 Linux

matthieu castet wrote:
> Hi,
> 
> I have got a tv application that doesn't work anymore with 2.6.25 : it 
> hangs.
> 
using mplayer with v4l backed produce the same lockup :

[ 5702.024629] mplayer       D 00000000     0 16181  16110
[ 5702.024629]        e76a5910 00200082 e76a5b60 00000000 e76a5a90 
c180b920 00000000 001368be
[ 5702.024629]        00318ee4 f77179a4 000000ff 00000000 00000000 
00000000 e776b810 e776b818
[ 5702.024629]        e776b814 e76a5910 c02b47e9 e776b818 e776b818 
e76a5910 e776b810 00208000
[ 5702.024629] Call Trace:
[ 5702.024629]  [<c02b47e9>] __mutex_lock_slowpath+0x50/0x7b
[ 5702.024629]  [<c02b467f>] mutex_lock+0xa/0xb
[ 5702.024629]  [<f8d26e8d>] videobuf_mmap_setup+0xe/0x2d [videobuf_core]
[ 5702.024629]  [<f8de3d6b>] vidiocgmbuf+0x24/0x83 [bttv]
[ 5702.024629]  [<f8de3d47>] vidiocgmbuf+0x0/0x83 [bttv]
[ 5702.024629]  [<f8d797fd>] __video_do_ioctl+0x93/0x2cca [videodev]
[ 5702.024629]  [<c0158558>] __lock_page+0x4e/0x54
[ 5702.024629]  [<c0133a21>] wake_bit_function+0x0/0x3c
[ 5702.024629]  [<c01586a1>] find_lock_page+0x19/0x7f
[ 5702.024629]  [<c015a57f>] filemap_fault+0x1ff/0x36d
[ 5702.024629]  [<c01635f0>] __do_fault+0x34d/0x38e
[ 5702.024629]  [<f8de217b>] set_tvnorm+0x205/0x20f [bttv]
[ 5702.024629]  [<f8d7c69d>] video_ioctl2+0x16d/0x233 [videodev]
[ 5702.024629]  [<c0137c03>] getnstimeofday+0x30/0xb6
[ 5702.024629]  [<c013659d>] ktime_get_ts+0x16/0x44
[ 5702.024629]  [<c01365d8>] ktime_get+0xd/0x21
[ 5702.024629]  [<c011b720>] hrtick_start_fair+0xeb/0x12c
[ 5702.024629]  [<c0106970>] __switch_to+0xa3/0x12f
[ 5702.024629]  [<c017f70b>] vfs_ioctl+0x47/0x5d
[ 5702.024629]  [<c017f966>] do_vfs_ioctl+0x245/0x258
[ 5702.024629]  [<c017f9ba>] sys_ioctl+0x41/0x5b
[ 5702.024629]  [<c01077e8>] sysenter_past_esp+0x6d/0xa5
[ 5702.024629]  =======================

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: application hanging with 2.6.25 and bttv
  2008-06-22 17:21 ` matthieu castet
@ 2008-06-22 21:52   ` matthieu castet
  2008-06-22 21:57     ` Douglas Schilling Landgraf
  0 siblings, 1 reply; 4+ messages in thread
From: matthieu castet @ 2008-06-22 21:52 UTC (permalink / raw)
  To: Video 4 Linux

matthieu castet wrote:
> matthieu castet wrote:
>> Hi,
>>
>> I have got a tv application that doesn't work anymore with 2.6.25 : it 
>> hangs.
>>
> using mplayer with v4l backed produce the same lockup :
> 
Ok the bug is know http://lkml.org/lkml/2008/6/13/293 (and fixed in 
stable kernel version).

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: application hanging with 2.6.25 and bttv
  2008-06-22 21:52   ` matthieu castet
@ 2008-06-22 21:57     ` Douglas Schilling Landgraf
  0 siblings, 0 replies; 4+ messages in thread
From: Douglas Schilling Landgraf @ 2008-06-22 21:57 UTC (permalink / raw)
  To: matthieu castet; +Cc: Video 4 Linux

Hi Matthieu,

>On Sun, Jun 22, 2008 at 6:52 PM, matthieu castet <castet.matthieu@free.fr> wrote:
> matthieu castet wrote:
> Ok the bug is know http://lkml.org/lkml/2008/6/13/293 (and fixed in stable
> kernel version).

      I've tried here with 2.6.25 but I can't reproduce, anyway thanks
for your report!

Cheers,
Douglas

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

end of thread, other threads:[~2008-06-22 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-21 18:33 application hanging with 2.6.25 and bttv matthieu castet
2008-06-22 17:21 ` matthieu castet
2008-06-22 21:52   ` matthieu castet
2008-06-22 21:57     ` Douglas Schilling Landgraf

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