Cache Cpu

hello,

J’ai un soucis assez bizarre, j’ai un cache de 2Mb reconnu dans le bios, cependant sous Linux ( 2.4.27-3-686-smp) je n’ai que 16KB de reconnu, j’ai cherché partout sur le net mais rien de concret, je penche sur ca :

[code]
#vi /usr/src/kernel-source-2.4.27/arch/i386/kernel/cpuid.c

#ifdef CONFIG_PCI
/* It isnt really a PCI quirk directly, but the cure is the
same. The MediaGX has deep magic SMM stuff that handles the
SB emulation. It thows away the fifo on disable_dma() which
is wrong and ruins the audio.

               Bug2: VSA1 has a wrap bug so that using maximum sized DMA
               causes bad things. According to NatSemi VSA2 has another
               bug to do with 'hlt'. I've not seen any boards using VSA2
               and X doesn't seem to support it either so who cares 8).
               VSA1 we work around however.
            */

            printk(KERN_INFO "Working around Cyrix MediaGX virtual DMA bugs.\n");
            isa_dma_bridge_buggy = 2;

#endif
c->x86_cache_size=16; /* Yep 16K integrated cache thats it */[/code]

je sais que tu peux forcer la reconnaissance de la bonne taille de ram avec un paramètre de noyau, donc il y a peut être un paramètre pour le cache L2.
Tu as regardé ?
Sinon, c’est peut être ce qui va te faire abandonner ton 2.4 :wink:
Autre truc: tu as essayé de hacker cpuid.c en modifiant la valeur dans le code et en recompilant ?

hello matt,

yes j’ai deja essaye avec un kernel 2.6 mais apres le soucis c’est qu’il me reconnait qu’on proc :unamused:, pour la valeur a modifier dans le noyau je suis passe par sysctl mais rien n’y fait, et pour finir non je vais tenter de modifier a la main mais bon…

Ps : ca ressemble exactement a ca : uwsg.indiana.edu/hypermail/l … /0890.html