All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Dufresne <jon.dufresne@infinitevideocorporation.com>
To: Don Hiatt <DHiatt@zeugmasystems.com>,
	linux-mips <linux-mips@linux-mips.org>
Subject: RE: iomemory causing a data bus error
Date: Thu, 07 Feb 2008 16:01:11 -0500	[thread overview]
Message-ID: <1202418072.3298.49.camel@localhost> (raw)
In-Reply-To: <DDFD17CC94A9BD49A82147DDF7D545C57986B1@exchange.ZeugmaSystems.local>

> Take a look at /proc/interrupts to see if you have something firing
> that you do not expect.

I took a look and this is what I see:

# cat /proc/interrupts 
           CPU0       
  2:          0   PNX Level IRQ  GIC
  7:          0   PNX Level IRQ  Timer
 10:        661   PNX Level IRQ  pnx8550-1
 11:        605   PNX Level IRQ  pnx8550-2
 13:          1   PNX Level IRQ  ohci_hcd:usb2
 23:        583   PNX Level IRQ  i2c
 24:        845   PNX Level IRQ  i2c
 28:        334   PNX Level IRQ  pnx8xxx-uart
 34:          1   PNX Level IRQ  Drawing Engine
 47:          0   PNX Level IRQ  vmsp1
 49:          0   PNX Level IRQ  vmsp2
 55:      15876   PNX Level IRQ  libata, ehci_hcd:usb1, ohci_hcd:usb3, ohci_hcd:usb4, eth0
 75:         18   PNX Level IRQ  i2c
 78:        192   PNX Level IRQ  i2c
 79:      80239   PNX Level IRQ  timer
 80:         19   PNX Level IRQ  Monotonic timer

ERR:      99373

It looks like there are quite a few devices on irq 55 even before I load
my module. Is it at all possible that I could get my device to use a
different interrupt line? or is this totally restricted by hardware?

Also what does the "ERR" mean? Does this keep a tally of errors? If so
does 99K errors seem high?

> If you are sharing the same IRQ as USB, do you request the IRQ as
> shared? Does the USB as well?

My device does, yes. At this point I have to assume the USB driver is
too. But even if that was the problem, it wouldn't explain why the error
also happens when I don't request the interrupt at all.

Thanks,
Jon

  parent reply	other threads:[~2008-02-07 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07 15:20 iomemory causing a data bus error Jon Dufresne
2008-02-07 20:32 ` Jon Dufresne
     [not found]   ` <DDFD17CC94A9BD49A82147DDF7D545C57986B1@exchange.ZeugmaSystems.local>
2008-02-07 21:01     ` Jon Dufresne [this message]
     [not found]       ` <DDFD17CC94A9BD49A82147DDF7D545C57986CE@exchange.ZeugmaSystems.local>
2008-02-07 21:40         ` Jon Dufresne

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=1202418072.3298.49.camel@localhost \
    --to=jon.dufresne@infinitevideocorporation.com \
    --cc=DHiatt@zeugmasystems.com \
    --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 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.