public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Status of the VIA KT133a and 2.4.x debacle?
@ 2001-09-01 14:19 Simen Thoresen
  2001-09-01 17:05 ` Simen Thoresen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Simen Thoresen @ 2001-09-01 14:19 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

Alan, list, et all,

I've picked up a KT133a board (EpoX 8KTA/3) and a 1.2GHz Thunderbird processor (133MHz FSB), and have seen the same problems that have been reported previously with the KT133a. Random oops'es, both fatal and non fatal, when running the system on a 2.4 kernel with CONFIG_MK7.

The bord seems rock solid with 2.2.x kernels, and also with 2.4.x kernels with CONFIG_M686 set for basic i686 + MMX. I've also run the board with a 100MHz FSB, but that has not improved anything. Also turning off /some/ optimizations in bios have not helped.

Currently, I'm running with a CONFIG_MK7 2.4.9 kernel, but with the Athlon-specific MMX-optimizations in arch/i386/lib/mmx.c turned off, and using the generic mmx-functions available from non-K7 processers. This seems to be working, and I've not been able to provoke a fatal crash oops, nor seen signs of non-fatal oopses.

I have not determined if it is static void fast_clear_page(void *page), or  static void fast_copy_page(void *to, void *from) which is to blame here, but I will continue investigating.

Does this match the results other people have had? Is anything else known about this problem?

Yours,
-Simen Thoresen
--
Simen Thoresen, Beowulf-cleaner and random artist - close and personal.

Er det ikke rart?
The gnu RART-project on http://valinor.dolphinics.no:1080/~simentt/rart



^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Status of the VIA KT133a and 2.4.x debacle?
@ 2001-09-03  4:58 Patrick Chase
  2001-09-04 22:14 ` Gerbrand van der Zouw
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Chase @ 2001-09-03  4:58 UTC (permalink / raw)
  To: linux-kernel, g.vanderzouw


Gerbrand van der Zouw wrote:
> I have a MSI K7T Turbo board with Athlon 1.2 GHz. Recently I 
> upgraded my Award Bios from 2.7 to 2.9. This new version has 
> "memory bank interleaving". It also improves the stability of 
> my system a lot. I do not know if these are related, but is 
> may be a hint for some of the experts out there.

Are you enabling or disabling bank interleaving with the new BIOS?

I would say that given the nature of the prefetch optimizations 
which appear to be causing instabilities, problems related to
SDRAM bank interleaving of lack thereof should be near the top 
of any list of suspects.

Very briefly, SDRAM parts have multiple banks (either 2 or 4 
depending on capacity). Bank select lines are used to control 
which bank is active for a given access cycle. The existence 
of the banks is significant for two reasons:

1.	Each bank can have a separate page (~= row address) 
open. If you're alternating accesses between two separate address
ranges, then performance may be higher if they're in separate 
banks, as this could potentially avoid a lot of page openings.

2.	Unselected banks can process previously issued multi-
cycle commands while the selected bank is returning data. For 
example, you could request a new address from one bank, and 
then transfer previously requested data from another bank during 
the first bank's CAS latency. 

The "native" address layout of SDRAM devices has each bank a 
contiguous region (i.e. no interleave). An SDRAM controller may 
instead cause the banks to appear interleaved to the processor 
by simply remapping a few address bits. The "interleave" option
in your BIOS enables exactly such a remapping in the north 
bridge's SDRAM controller.

Here's why the Athlon prefetch optimization could potentially
interact with the interleave setting: The entire point of 
prefetching is to cause consecutive cache lines to be fetched
with as much overlap as possible (i.e. the next line is 
requested before the current one has been read in). When 
this is done with interleave enabled, the result is consecutive 
accesses to alternating pages, in which case the chipset will
be able to exploit overlap as described in (2) above to hide
latencies. I can come up with rationales for why this could either 
cause instability or help it, though I think I'll leave that to
those who knows more than I.

-- Patrick Chase





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-09-04 22:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-01 14:19 Status of the VIA KT133a and 2.4.x debacle? Simen Thoresen
2001-09-01 17:05 ` Simen Thoresen
2001-09-01 17:11 ` Nicholas Knight
2001-09-02 22:53 ` Gerbrand van der Zouw
  -- strict thread matches above, loose matches on Subject: below --
2001-09-03  4:58 Patrick Chase
2001-09-04 22:14 ` Gerbrand van der Zouw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox