Re: ethtool -d MCAs rx2600

From: Matthew Wilcox <willy_at_debian.org>
Date: 2004-01-27 03:58:18
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
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jan 26 11:58:37 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST