From: Chicken Shack <chicken.shack@gmx.de>
To: Andy Walls <awalls@radix.net>
Cc: Francesco Lavra <francescolavra@interfree.it>,
hermann pitton <hermann-pitton@arcor.de>,
Mauro Carvalho Chehab <mchehab@redhat.com>,
Andreas Oberritter <obi@linuxtv.org>,
linux-media@vger.kernel.org, akpm@linux-foundation.org,
torvalds@linux-foundation.org
Subject: Re: "However, if you don't want to lose your freedom, you had better not follow him." (Re: Videotext application crashes the kernel due to DVB-demux patch)
Date: Sun, 07 Feb 2010 16:29:57 +0100 [thread overview]
Message-ID: <1265556597.2424.26.camel@brian.bconsult.de> (raw)
In-Reply-To: <1265553812.3063.22.camel@palomino.walls.org>
[-- Attachment #1: Type: text/plain, Size: 3645 bytes --]
Am Sonntag, den 07.02.2010, 09:43 -0500 schrieb Andy Walls:
> On Sun, 2010-02-07 at 04:58 +0100, hermann pitton wrote:
> > Am Samstag, den 06.02.2010, 09:55 +0100 schrieb Chicken Shack:
> > > Am Samstag, den 06.02.2010, 01:25 +0100 schrieb hermann pitton:
>
> > 3.
> > Also confirmed, your 1.7.0 version did work on a latest unpatched F11
> > 2.6.30 without setting the teletext pid explicitly, providing the
> > information what else is around there, and next should allow switching
> > through all teletext stuff with the UI I guess.
> >
> > Taking the oopses now, you are likely right, that we have a backward
> > compat regression here and should try to fix it.
>
>
> I'm looking at this still, just not quickly.
>
> The over-abundance of the use of the words "demux", "dmx", "dvb",
> "feed", "ts", and "sec" in the dvb-core make code analysis difficult.
> I'm putting the dvb-core data structures into a UML tool, so I can get
> some decent class and collaboration diagrams to have a good picture of
> the relationships.
>
> I can say that the easiest fix will most likely be that in dmxdev.h:
>
> struct dmxdev_filter {
> ...
> union {
> /* list of TS and PES feeds (struct dmxdev_feed) */
> struct list_head ts;
> struct dmx_section_feed *sec;
> } feed;
> ....
>
> "feed" should no longer be a union, or that "feed.sec" should be
> converted to a list as well.
>
> It appears under certain circumstances "feed.sec" is being set to NULL,
> which corrupts the "feed.ts" list head. The "feed.ts" list head is
> being properly intiialized in dvb_demux_open(), so that's not the
> problem.
>
>
> Regards,
> Andy
>
>
>
> > I'm at least still available for reproducing oopses ;)
> >
> > And, an app, which ever, should not to be able to get all down.
> >
> > Cheers,
> > Hermann
Hi everybody,
Although quite effectless in the end I do not want to forget about
politeness and thank you for your investigation - especially Andy for
sure.
An outsider that I found by a google research, an Italian called
Francesco Lavra already resolved the kernel crash issue by a simple
one-liner that you can find easily on this today's list.
So please stop your investigation as the problem is solved already.
Alevt works without kernel crash - fantastic!
So do everything please to make this one-liner part of 2.6.33 main line
final.
However I am still alone with the other problem I always stressed:
When using alevt-dvb (I attached my overworked version 1.7.0 in earlier
mails - please do have a look at it!) the application hangs when you
decide to switch to a channel that is part of a new transponder.
The program hangs then. That means the way alevt-dvb is dealing with the
PMT (program map table) is highly incomplete.
It needs a reset function to read the new PMT when the transponder is
being changed...
I do not know how to program that simple reset function. But I know that
thsi is the definite key to resolve the issue.
PMT reading, PMT opening, PMT parsing.......
Everything is already inside of the source code of alevt-dvb.
But as soon as the transponder is being changed the program is quite
helpless - it simply does not know what to do and hangs......
This behaviour is not being shown when alevt-dvb shows teletext
addressing analogue cards (which seems to be technically something
completely different). Only the DVB part of the program behaves buggy in
that context.
And this goes to Francesco Lavra:
God bless you, Francesco!
You got it!
With a simple one-liner!
I'm breathless!
Mille grazie per questa contribuzione, Francesco! :) :) :)
[-- Attachment #2: alevt-1.7.0.tar.bz2 --]
[-- Type: application/x-bzip-compressed-tar, Size: 85333 bytes --]
next prev parent reply other threads:[~2010-02-07 15:33 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-01 9:56 Videotext application crashes the kernel due to DVB-demux patch Chicken Shack
2010-02-01 12:41 ` Andy Walls
2010-02-02 2:00 ` Andy Walls
2010-02-02 9:11 ` Chicken Shack
2010-02-02 12:52 ` Andy Walls
2010-02-03 1:01 ` hermann pitton
2010-02-04 12:54 ` Andy Walls
2010-02-04 14:07 ` Chicken Shack
2010-02-05 2:21 ` Need to discuss method for multiple, multiple-PID TS's from same demux (Re: Videotext application crashes the kernel due to DVB-demux patch) Andy Walls
2010-02-05 2:37 ` hermann pitton
2010-02-05 11:39 ` Chicken Shack
2010-02-05 12:19 ` HoP
2010-02-05 18:29 ` Andy Walls
2010-02-05 13:19 ` Andreas Oberritter
2010-02-05 13:28 ` Mauro Carvalho Chehab
2010-02-05 13:58 ` Chicken Shack
2010-02-05 15:31 ` Chicken Shack
2010-02-05 19:22 ` Andy Walls
2010-02-05 20:27 ` Andreas Oberritter
2010-02-05 21:07 ` Mauro Carvalho Chehab
2010-02-05 21:46 ` hermann pitton
2010-02-05 22:32 ` Chicken Shack
2010-02-05 23:12 ` hermann pitton
2010-02-05 23:39 ` Chicken Shack
2010-02-06 0:25 ` hermann pitton
2010-02-06 8:55 ` "However, if you don't want to lose your freedom, you had better not follow him." " Chicken Shack
2010-02-07 3:58 ` hermann pitton
2010-02-07 12:11 ` Chicken Shack
2010-02-07 14:43 ` Andy Walls
2010-02-07 15:29 ` Chicken Shack [this message]
2010-02-07 18:10 ` HoP
2010-02-07 18:46 ` Chicken Shack
2010-02-07 19:13 ` HoP
2010-02-07 19:41 ` Chicken Shack
2010-02-06 12:02 ` Need to discuss method for multiple, multiple-PID TS's from same demux " BOUWSMA Barry
2010-03-11 4:00 ` hermann pitton
2010-02-01 13:02 ` Videotext application crashes the kernel due to DVB-demux patch Mauro Carvalho Chehab
2010-02-01 13:59 ` Chicken Shack
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=1265556597.2424.26.camel@brian.bconsult.de \
--to=chicken.shack@gmx.de \
--cc=akpm@linux-foundation.org \
--cc=awalls@radix.net \
--cc=francescolavra@interfree.it \
--cc=hermann-pitton@arcor.de \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=obi@linuxtv.org \
--cc=torvalds@linux-foundation.org \
/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