public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@debian.org>
To: linux-ia64@vger.kernel.org
Subject: Re: ethtool -d MCAs rx2600
Date: Mon, 26 Jan 2004 16:58:18 +0000	[thread overview]
Message-ID: <20040126165818.GP11844@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <20040123231254.GC31911@cup.hp.com>

On Mon, Jan 26, 2004 at 10:30:23AM -0600, Jack Steiner wrote:
> On Fri, Jan 23, 2004 at 03:56:50PM -0800, Grant Grundler wrote:
> > On Fri, Jan 23, 2004 at 03:12:54PM -0800, Grant Grundler wrote:
> > > In case someone wants to dig more now, I've dropped the "errdump mca"
> > > output on
> > > 	ftp://gsyprf10.external.hp.com/kernels/rx2600/mca_ethtool
> > > 
> > > (Matching vmlinuz, System.map, .config is also there 2.6.1-rc1.tgz)
> > 
> > Alex Williams tells me it's a PIO read timeout.
> > (confirms my guess given what man page said)
> > 
> > Offending address is likely 0x0000000090807000.
> > Matches nicely with what /proc/iomem thinks:
> > ...
> > 90000000-97ffffff : PCI Bus 0000:20
> >   90800000-9080ffff : tg3
> > ...
> > 
> > Now just need to hunt down the code that pokes at +0x7000.
> > 
> > thanks,
> > grant
> 
> We see a similar problem with "ethtool -d" on the SGI SN systems. We havent
> isolated the cause, but it looks similar - PIO read timeout.
> 
> FWIW, the failure occurs in the vicinity of tg3_get_regs+0xb60 called from
> tg3_ethtool_ioctl+0xbb0.  (This is on 2.4.21+).  
> 
> Looks like it occurs here (but I dont put a lot of faith in this):
>         GET_REG32_LOOP(BUFMGR_MODE, 0x58);
>         GET_REG32_LOOP(RDMAC_MODE, 0x08);
>    >>>> GET_REG32_LOOP(WDMAC_MODE, 0x08);
>         GET_REG32_LOOP(RX_CPU_BASE, 0x280);
>         GET_REG32_LOOP(TX_CPU_BASE, 0x280);

My suspicion is that some tg3 variants don't support this register, but
it's OK to read the register on x86 because it soft-fails.  Most ia64
chipsets hard-fail so we need to avoid this.  Jeff, Dave, can you comment?

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

  parent reply	other threads:[~2004-01-26 16:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-23 23:12 ethtool -d MCAs rx2600 Grant Grundler
2004-01-23 23:56 ` Grant Grundler
2004-01-26 16:30 ` Jack Steiner
2004-01-26 16:58 ` Matthew Wilcox [this message]
2004-01-26 17:39 ` Jeff Garzik
2004-01-29 19:18 ` Grant Grundler
2004-01-29 20:41 ` Jack Steiner

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=20040126165818.GP11844@parcelfarce.linux.theplanet.co.uk \
    --to=willy@debian.org \
    --cc=linux-ia64@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