public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Walls <awalls@md.metrocast.net>
To: Dave Johansen <davejohansen@gmail.com>
Cc: v4l-dvb Mailing List <linux-media@vger.kernel.org>
Subject: Re: Tuning channels with DViCO FusionHDTV7 Dual Express
Date: Wed, 09 Feb 2011 20:25:32 -0500	[thread overview]
Message-ID: <1297301132.2428.149.camel@localhost> (raw)
In-Reply-To: <AANLkTinsb1x8zQz5+r39s1Y6pq2UuFdD5bF419c3RAps@mail.gmail.com>

On Tue, 2011-02-08 at 22:41 -0700, Dave Johansen wrote:
> On Tue, Feb 8, 2011 at 9:51 AM, Dave Johansen <davejohansen@gmail.com> wrote:
> > On Tue, Feb 8, 2011 at 8:25 AM, Mark Zimmerman <markzimm@frii.com> wrote:
> >> On Mon, Feb 07, 2011 at 06:54:30PM -0500, Andy Walls wrote:
> >>>
> >>> You perhaps could
> >>>
> >>> A. provide the smallest window of known good vs known bad kernel
> >>> versions.  Maybe someone with time and hardware can 'git bisect' the
> >>> issue down to the problem commit.  (I'm guessing this problem might be
> >>> specific to a particular 64 bit platform IOMMU type, given the bad
> >>> dma_ops pointer.)
> >>>
> >>
> >> FYI: I am on the process of doing a git bisect (10 kernels to go) to
> >> track down this problem:
> >>
> >> http://www.mail-archive.com/linux-media@vger.kernel.org/msg25342.html
> >>
> >> Which may or may not be related to the problem in this thread.
> >>
> >
> > I'm using Mythbuntu 10.10 x64, which I believe uses 2.6.35 but I will
> > check tonight, so if the issue you're tracking down really is related
> > to 2.6.36, then I imagine that my problem wouldn't be caused by what
> > you're looking into. Plus, every time I've looked at dmesg the
> > firmware has loaded properly, so I'm guessing I'm on 2.6.35 and being
> > affected by a different issue.
> >
> > Thanks for the heads up,
> > Dave
> >
> 
> So I don't know how useful this is, but I tried Mythbuntu 10.10 x86
> and it works like a charm. So the issue appears to be isolated to the
> x64 build. 

You validated my guess. :)


> If there's anything I can do to help figure out what the
> cause of this issue is in the x64 build, then please let me know and
> I'll do my best to help out.

So this increases the likelyhood that this is a kernel problem
introduced outside of the drivers/media directory.

To find it, someone needs to clone out the kernel with git; start a git
bisect using the lastest known good and earliest known bad kernel
versions; and build, install, and test kernels until the problem is
found, as outlined here:

http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
http://manpages.ubuntu.com/manpages/maverick/man1/git-bisect.1.html



The "build, install and test kernels" step is the pain.  Let's say it
takes a 2 core AMD64 machine about 17 minutes to build a minimal kernel.
The number of kernels that need to be tested will be roughly log2(Number
of commits between known good and bad kernels).  So 30,000 commits will
require roughly 15 kernel builds to narrow the problem.  If it takes 20
minutes per iteration, that's 5 hours to find the problem.

That someone also needs 64 bit hardware and a board supported by the
cx23885 driver that also exhibits the problem.  I have an HVR-1850 and a
64-bit machine, but I haven't tested it yet.  I do not have 5 hours
free.  Sorry.

Regards,
Andy

> Thanks for all the help,
> Dave



  reply	other threads:[~2011-02-10  1:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-06 22:46 Tuning channels with DViCO FusionHDTV7 Dual Express Dave Johansen
2011-02-06 23:08 ` Marc Coevoet
2011-02-06 23:14 ` Daniel O'Connor
2011-02-06 23:28 ` Mark Zimmerman
2011-02-07  3:04   ` Dave Johansen
2011-02-07  4:10     ` Daniel O'Connor
2011-02-07  5:18       ` Dave Johansen
2011-02-07 23:54         ` Andy Walls
2011-02-08 15:25           ` Mark Zimmerman
2011-02-08 16:51             ` Dave Johansen
2011-02-09  5:41               ` Dave Johansen
2011-02-10  1:25                 ` Andy Walls [this message]
2011-02-10 15:49                   ` Mark Zimmerman
2011-02-08 16:39           ` Dave Johansen

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=1297301132.2428.149.camel@localhost \
    --to=awalls@md.metrocast.net \
    --cc=davejohansen@gmail.com \
    --cc=linux-media@vger.kernel.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