Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@convergence.de>
To: Kieran Fulke <kieran@pawsoff.org>
Cc: linux-mips@linux-mips.org
Subject: Re: IRQ problem on cobalt / 2.6.6
Date: Sun, 16 May 2004 17:21:13 +0200	[thread overview]
Message-ID: <20040516152113.GA9390@convergence.de> (raw)
In-Reply-To: <20040516113622.GA14049@getyour.pawsoff.org>

On Sun, May 16, 2004 at 12:36:22PM +0100, Kieran Fulke wrote:
> On Fri, May 14, 2004 at 08:43:44AM +0100, Peter Horton wrote:
> 
> > Have you tried any other hardware in the slot, PCI network card perhaps ?
> > 
> > P.
> 
> yeah. adding cards like a tulip network card, linksys wmp11 wireless card. even a 
> wintv pci (analogue) card all work ;
...
> it just seems to be the DVB card that the pci code doesnt like, for some reason ..
> 
> all ideas warmly received ;)

Let me add some information from your posts to linux-dvb and from
the driver source.

I would appreciate it if someone could look it over (full source
is in linux/drivers/media/common/saa7146_core.c). The driver is
known to work on a variety of platforms, including one TX49 based
development system (last tested a few months back, though).


From your first posting:

   PCI: Setting latency timer of device 0000:00:0a.0 to 64
   irq 23: nobody cared!
   Call Trace: [snipped]
   handlers:
   [<c004b570>]
   Disabling IRQ #23
   saa7146: found saa7146 @ mem b2080800 (revision 1, irq 23) (0x13c2,0x1011).

Second try with debug enabled:

   saa7146: saa7146_register_extension(): ext:c001efb0
   saa7146: register extension 'budget_ci dvb'.
   saa7146: saa7146_init_one(): pci:83fdac00
   irq 23: nobody cared!


saa7146_init_one() does the following:
        /* disable all irqs */
	saa7146_write(dev, IER, 0);
	...
        if (request_irq(dev->pci->irq, interrupt_hw, SA_SHIRQ | SA_INTERRUPT,
                        dev->name, dev))
        {error...}
        ...
        INFO(("found saa7146 @ mem %p (revision %d, irq %d) (0x%04x,0x%04x).\n", ...));

interrupt_hw() does:
        /* read out the interrupt status register */
        isr = saa7146_read(dev, ISR);

        /* is this our interrupt? */
        if ( 0 == isr ) {
                /* nope, some other device */
                return IRQ_NONE;
        }
        ...
        return IRQ_HANDLED;


In essence, I believe something other than the saa7146 must be asserting irq 23.
Or is it possible that a bug in the PCI init stuff in saa7146_core.c can
cause this? Any hints how we could debug this would be welcome.


Johannes

WARNING: multiple messages have this Message-ID (diff)
From: Johannes Stezenbach <js@convergence.de>
To: Kieran Fulke <kieran@pawsoff.org>
Cc: linux-mips@linux-mips.org
Subject: Re: IRQ problem on cobalt / 2.6.6
Date: Sun, 16 May 2004 17:21:13 +0200	[thread overview]
Message-ID: <20040516152113.GA9390@convergence.de> (raw)
Message-ID: <20040516152113.Zvj3ep0ODSBWz4Vkrhy2GlS1PsDBhu1H2tNeOIpEl-k@z> (raw)
In-Reply-To: <20040516113622.GA14049@getyour.pawsoff.org>

On Sun, May 16, 2004 at 12:36:22PM +0100, Kieran Fulke wrote:
> On Fri, May 14, 2004 at 08:43:44AM +0100, Peter Horton wrote:
> 
> > Have you tried any other hardware in the slot, PCI network card perhaps ?
> > 
> > P.
> 
> yeah. adding cards like a tulip network card, linksys wmp11 wireless card. even a 
> wintv pci (analogue) card all work ;
...
> it just seems to be the DVB card that the pci code doesnt like, for some reason ..
> 
> all ideas warmly received ;)

Let me add some information from your posts to linux-dvb and from
the driver source.

I would appreciate it if someone could look it over (full source
is in linux/drivers/media/common/saa7146_core.c). The driver is
known to work on a variety of platforms, including one TX49 based
development system (last tested a few months back, though).

  reply	other threads:[~2004-05-16 15:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-13 18:30 IRQ problem on cobalt / 2.6.6 Kieran Fulke
2004-05-14  7:43 ` Peter Horton
2004-05-16 11:36   ` Kieran Fulke
2004-05-16 15:21     ` Johannes Stezenbach [this message]
2004-05-16 15:21       ` Johannes Stezenbach
2004-05-16 17:04       ` Ralf Baechle
2004-05-16 17:11         ` Kieran Fulke
2004-05-16 17:21         ` Johannes Stezenbach
2004-05-16 18:04           ` Kieran Fulke
2004-05-17  8:40         ` Peter Horton
2004-05-17 11:46           ` Kieran Fulke
2004-05-17 11:57             ` Peter Horton
2004-05-17 12:04               ` Kieran Fulke
2004-05-17 12:20                 ` Peter Horton
2004-05-17 15:07 ` Stuart Longland
2004-05-18  7:34 ` Peter Horton
2004-05-18 17:39   ` Kieran Fulke
2004-05-18 20:59   ` Kieran Fulke
2004-05-18 21:09     ` Kieran Fulke
2004-05-18 21:12     ` Peter Horton
     [not found]       ` <20040518211810.GA29636@getyour.pawsoff.org>
2004-05-18 21:19         ` Kieran Fulke
2004-05-18 21:46           ` Kumba
2004-05-18 21:38         ` Peter Horton
2004-05-18 22:02           ` Kieran Fulke
2004-05-19 11:23     ` Maciej W. Rozycki
2004-05-19 12:57       ` Peter Horton
  -- strict thread matches above, loose matches on Subject: below --
2004-05-16 17:37 Kieran Fulke

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=20040516152113.GA9390@convergence.de \
    --to=js@convergence.de \
    --cc=kieran@pawsoff.org \
    --cc=linux-mips@linux-mips.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