From: Mikael Pettersson <mikpe@csd.uu.se>
To: egberts@yahoo.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.19-pre3: kernel bug: kswapd vmscan.c:358
Date: Sat, 23 Mar 2002 12:41:56 +0100 (MET) [thread overview]
Message-ID: <200203231141.MAA14841@harpo.it.uu.se> (raw)
On Fri, 22 Mar 2002 18:18:46 -0800 (PST), S W <egberts@yahoo.com> wrote:
>Bare 2.4.19-pre3 Kernel, running all VIA-chipsets mobo
>with "cachesize=0" boot option. (author of previous
>msg: (Cyrix II L2-cache redux?).
>
>Regularly getting kswapd vmscan.c:358 Kernel bug.
You're the one with a VIA C3 with broken L2 cache?
The "cachesize=0" option will not affect the L2 cache, only
the kernel's reporting of cache size. (Apparently due to some
Tualatins not being able to report correct cache size.)
That C3 is broken and should be replaced. If you really want
to use it, you'll need to hardware-disable the L2 cache. Your
BIOS should have an option for that; if not, try the patch below.
/Mikael
--- linux-2.4.19-pre4/arch/i386/kernel/setup.c.~1~ Sat Mar 23 12:26:01 2002
+++ linux-2.4.19-pre4/arch/i386/kernel/setup.c Sat Mar 23 12:29:17 2002
@@ -1939,6 +1939,7 @@
case 6 ... 8: /* Cyrix III family */
rdmsr (MSR_VIA_FCR, lo, hi);
lo |= (1<<1 | 1<<7); /* Report CX8 & enable PGE */
+ lo |= (1<<8);
wrmsr (MSR_VIA_FCR, lo, hi);
set_bit(X86_FEATURE_CX8, &c->x86_capability);
next reply other threads:[~2002-03-23 11:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-23 11:41 Mikael Pettersson [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-23 2:18 S W
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=200203231141.MAA14841@harpo.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=egberts@yahoo.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®