All of lore.kernel.org
 help / color / mirror / Atom feed
From: matthieu castet <castet.matthieu@free.fr>
To: Video 4 Linux <video4linux-list@redhat.com>
Subject: application hanging with 2.6.25 and bttv
Date: Sat, 21 Jun 2008 20:33:22 +0200	[thread overview]
Message-ID: <485D4972.2070801@free.fr> (raw)

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

             reply	other threads:[~2008-06-21 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-21 18:33 matthieu castet [this message]
2008-06-22 17:21 ` application hanging with 2.6.25 and bttv matthieu castet
2008-06-22 21:52   ` matthieu castet
2008-06-22 21:57     ` Douglas Schilling Landgraf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=485D4972.2070801@free.fr \
    --to=castet.matthieu@free.fr \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.