All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumba <kumba@gentoo.org>
To: Linux MIPS List <linux-mips@linux-mips.org>
Subject: Re: R10K/R12K Based O2's
Date: Mon, 06 Feb 2006 21:58:13 -0500	[thread overview]
Message-ID: <43E80CC5.5090805@gentoo.org> (raw)
In-Reply-To: <43DAFEFE.8060009@gentoo.org>

Round 2:

Discovered I'd built my IP32 R10K kernel with:
	A) An older version of Peter Fuerst's R10K Cache Barriers Patch
	B) Did a code change in the above patch that generated less
	   cache barriers instead of more

So I've re-done everything, and now have a kernel for IP32 R10K (and R12K) that 
uses the latest gcc cache barriers patch available on the IP28 site w/ the one 
code change that generates more cache barriers (See below for details).

It seems with the gcc patch and the stripped IP28 patch, a working IP32 R10K 
kernel can be produced that seems to handle itself very well.  It occasionally 
spits out CRIME CPU errors, and in my case, I've triggered two Oopses 
(non-fatal).  It seems the network adapter doesn't seem to trigger the 
speculative execution bug too much (which I believe is indicated by the CRIME 
CPU errors), however the scsi driver definitely causes them to appear every so 
often.

Patches and other misc. files available here:
http://dev.gentoo.org/~kumba/mips/netboot/testing/ip32/r10k/

Included there is a 2.6.15.2 kernel, the kernel patch, the gcc patch, the kernel 
disassembly (71MB whopper unpacked), and the cpio archive containing the netboot 
userland (this is actually 5-6 cpio archives slapped together with 'cat', but 
the kernel handles it just fine), and the md5/sha1 sums to verify against.

To boot:
bootp(): console=ttyS0,<baud>  (gbefb seems to not respond on these systems)
Initramfs should take over and load a mini netboot userland.  Has basic 
capabilities, and supports a few fs'es (xfs, ext2/3, no reiser/jfs, etc)


Stats:

# uname -a
Linux netboot-2006.0 2.6.15.2-mipsgit-20060109 #2 Sun Feb 5 19:28:36 EST 2006 
mips64 R10000 V2.6  FPU V0.0 SGI O2 GNU/Linux

# uptime
21:54:14 up 1 day,  2:23, load average: 2.01, 2.02, 2.00

Currently, it's building gcc-3.4.5 as I type this, using the disk for everything 
but swap.  There are some caveats, though, which are outlined below:


The Errors (Just a sample, and in no specific order):
CRIME CPU error at 0x00f73b850 status 0x00000004
CRIME CPU error at 0x01005fcc0 status 0x00000004
CRIME CPU error at 0x005a8b810 status 0x00000004
CRIME CPU error at 0x005a8b850 status 0x00000004
CRIME CPU error at 0x007bd7850 status 0x00000004
CRIME CPU error at 0x00802f850 status 0x00000004
CRIME CPU error at 0x003b0b850 status 0x00000004
CRIME CPU error at 0x00e33f850 status 0x00000004
CRIME CPU error at 0x00a1df850 status 0x00000004

If anyone has an idea just what those hex addresses are referencing, or what 
exact is the meaning of that status bit, I'd be curious to know.


The Oopses:
http://dev.gentoo.org/~kumba/mips/netboot/testing/ip32/r10k/ip32r10k-26152-oops1.txt
http://dev.gentoo.org/~kumba/mips/netboot/testing/ip32/r10k/ip32r10k-26152-oops2.txt

These seem similar to the old MC Bus Errors I hit when toying around in the 
early days of IP28 support.  They've pretty much vanished now since Peter wrote 
up the new IP28 bus error handler.  So whether this are the same or not is 
anyone's guess -- if so, I imagine there's some degree of fixups that can be 
done to IP32's bus error handler to take care of these.  But that's just pure 
speculation on my part.


Read the README file there too -- it's got some small /proc tweaks that, at a 
first glance, help the kernel to avoid touching the disk too often by turning 
off swap entirely and setting two other small vm settings.



--Kumba

-- 
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands 
do them because they must, while the eyes of the great are elsewhere."  --Elrond

      reply	other threads:[~2006-02-07  2:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-28  5:19 R10K/R12K Based O2's Kumba
2006-02-07  2:58 ` Kumba [this message]

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=43E80CC5.5090805@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.