From: Stian Skjelstad <stian@nixia.no>
To: Adam Baker <linux@baker-net.org.uk>
Cc: "'Jean-Francois Moine'" <moinejf@free.fr>, linux-media@vger.kernel.org
Subject: Re: gpsca kernel BUG when disconnecting camera while streaming with mmap (2.6.29-rc8)
Date: Fri, 03 Apr 2009 08:33:33 +0200 [thread overview]
Message-ID: <1238740413.5794.4.camel@laptop> (raw)
In-Reply-To: <200904022354.24951.linux@baker-net.org.uk>
> > >You did not tell which version of gspca you use. If it is the one of a
> > >kernel older than 2.6.30, you should update. Also, may this problem
> > >be reproduced?
> >
> > I'm using the built in one. I'm going to upgrade to 2.6.29 very soon. And
> > if problem still persists, I can build gspca outside the kernel instead.
> >
>
> 2.6.29 isn't good enough, you need the patch at
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d08e2ce0ebb38f2b66d875a09ebab3ed548354ee
> which only hit Linus' tree 3 days ago.
>
> I'm not sure whether it is appropriate for that patch to go to -stable. There
> are other patches that affect the relevant code but that one looks like it is
> a fix for a real bug that should apply cleanly to 2.6.29.
>
> I guess if you are able to confirm if it fixes 2.6.29 for you that would be a
> good indication it is appropriate for -stable.
That patch does not help. It still panics inside gspca_set_alt0 when
calling STREAM_OFF, so something else causes gspca_dev->present not to
be cleared.
Another detail I noticed is that VIDIOC_DQBUF returns EAGAIN after I
have disconnected the camera.... Will try another version when I find
the time for it.
Stian Skjelstad
next prev parent reply other threads:[~2009-04-03 6:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-29 17:25 gpsca kernel BUG when disconnecting camera while streaming with mmap (2.6.29-rc8) Stian Skjelstad
2009-04-02 7:11 ` Jean-Francois Moine
2009-04-02 7:22 ` Stian Skjelstad
2009-04-02 22:54 ` Adam Baker
2009-04-03 6:33 ` Stian Skjelstad [this message]
2009-04-04 10:09 ` Stian Skjelstad
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=1238740413.5794.4.camel@laptop \
--to=stian@nixia.no \
--cc=linux-media@vger.kernel.org \
--cc=linux@baker-net.org.uk \
--cc=moinejf@free.fr \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox