Re: [PATCH 1/13] EDAC i5100 new intel chipset driver

From: Arthur Jones
Date: Mon Jun 30 2008 - 11:23:32 EST


Hi Doug, ...

On Fri, Jun 27, 2008 at 11:15:06PM -0700, Doug Thompson wrote:
>
> --- Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>
> > dougthompson@xxxxxxxxxxxx writes:
> > >
> > > 2) I have not yet tackled the de-interleaving of the
> > > rank/controller address space into the physical address
> > > space of the CPU. There is nothing fundamentally missing,
> > > it is just ending up to be a lot of code, and I'd rather
> > > keep it separate for now, esp since it doesn't work yet...
> > >
> > > 3) The code depends on a particular i5100 chip select
> > > to DIMM mainboard chip select mapping. This mapping
> > > seems obvious to me in order to support dual and single
> > > ranked memory, but it is not unique and DIMM labels
> > > could be wrong on other mainboards. There is no way
> > > to query this mapping that I know of.
> >
> > Since there's a non negligible probability that the output
> > of this driver is completely misleading because of (2) and (3)
> > and probably (4) too [reporting the wrong DIMMs etc.]
> > would it be possible to add some flag to EDAC that
> > warns the user that the output is not fully reliable?\
>
> good idea.
>
> Arthur, could you add some more text to the driver's output, before the call to the
> core's output function, doing exactly that? Explaining just what you DO know, and what you don't
> know?

Would it make sense to leave the DIMM labeling in, but
conditional on a mainboard whitelist/blacklist? E.g., I
know the mapping on my mainboard is correct and I can get
that info from DMI. The thing is, it's very hard to know
what DIMM went bad from the bank/rank/controller info
in the dmesg output.

What do you think? It's a lot of work, but it may be
worth it?

Arthur

> > -Andi (who can just see people replacing the wrong DIMMs and
> > then blaming Linux)
> >
> >
>
>
> W1DUG
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> bluesmoke-devel mailing list
> bluesmoke-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/bluesmoke-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/