linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ira Weiny <iweiny@acm.org>
To: linuxppc <linuxppc-embedded@lists.linuxppc.org>
Subject: Walnut base board PCI problems
Date: Fri, 18 Jan 2002 19:13:21 -0800	[thread overview]
Message-ID: <20020118191321.7708fdaf.iweiny@acm.org> (raw)


It has been some time since I have written to the list with a question so
forgive me if this deficient in some way.

We have a custom 405GP board which is basically a Walnut platform minus some of
the peripherals like keyboard/mouse, FPGA, etc.

We manufactured 10 boards and one works.  The others all display the same
behavior below.

We have an on board Promise IDE/PCI chip and 2 pci slots.  Whenever we have
just one device active on the PCI bus everything seems to be fine...  When we
start using a 2nd device the machine does one of 2 things.

1) One of the PCI devices fails.  But the machine is still running.
2) More often though the machine locks up.  (basically in an endless loop or
something)

There is no oops and the BDI reveals the processor to be at different places
and still running, although not responsive at the prompt.

All of the software including the kernel and user level code runs perfectly
fine on the Walnut reference platform so we are chasing a hardware problem.

My question is:

What is the best way to track this problem down?

We have read through the PCI spec and seen that there is an ErrStatus register
on each device which doesn't seem to be used anywhere in the kernel.  We don't
have a PCI bus analyzer or logic analyzer.  So we wanted to try and read these
registers to see if we could get an error report on what is happening but I
don't know how to do that with the BDI?

We have thought to try and have the BDI break on some condition but we don't
know what that condition might be.  Or if I could check those registers at irq
time somewhere and print them if I detected an error?  (using
pci_read_config_word)

This is a highly repeatable error.  And it only occurs when 2 devices are being
used.  We can have 2 devices in the machine but if I don't load the modules to
control them one device can run just fine.  The clocks on the PCI bus look fine
as well as voltages and all the basic hardware things to the slots.  And all
these cards work fine in other machines.

Any thoughts would be greatly appreciated.

Thanks,
Ira Weiny
iweiny@acm.org


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2002-01-19  3:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-19  3:13 Ira Weiny [this message]
2002-01-24 19:20 ` Walnut base board PCI problems Ira Weiny

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=20020118191321.7708fdaf.iweiny@acm.org \
    --to=iweiny@acm.org \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).