From: Richard Hirst <rhirst@linuxcare.com>
To: Grant Grundler <grundler@cup.hp.com>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] a500.out16
Date: Thu, 2 Nov 2000 10:48:33 +0000 [thread overview]
Message-ID: <20001102104833.G32715@linuxcare.com> (raw)
In-Reply-To: <200011020821.AAA28301@milano.cup.hp.com>; from grundler@cup.hp.com on Thu, Nov 02, 2000 at 12:21:36AM -0800
On Thu, Nov 02, 2000 at 12:21:36AM -0800, Grant Grundler wrote:
> I'd also like to connect some more SCSI disks....but any clue
> what the "CACHE TEST FAILED" is about?
....
> sym53c896-6: rev 0x5 on pci bus 49 device 4 function 0 irq 323
> sym53c896-6: ID 7, Fast-40, Parity Checking
> sym53c896-6: on-chip RAM at 0xfffffffffb000000
> CACHE TEST FAILED: reg dstat-sstat2 readback ffffffff.
> CACHE INCORRECTLY CONFIGURED.
I'd guess that the NCR registers are being cached:
static int __init ncr_regtest (struct ncb* np)
{
register volatile u_int32 data;
/*
** ncr registers may NOT be cached.
** write 0xffffffff to a read only register area,
** and try to read it back.
*/
data = 0xffffffff;
OUTL_OFF(offsetof(struct ncr_reg, nc_dstat), data);
data = INL_OFF(offsetof(struct ncr_reg, nc_dstat));
#if 1
if (data == 0xffffffff) {
#else
if ((data & 0xe2f0fffd) != 0x02000080) {
#endif
printk ("CACHE TEST FAILED: reg dstat-sstat2 readback %x.\n",
(unsigned) data);
return (0x10);
};
return (0);
}
Richard
next prev parent reply other threads:[~2000-11-02 10:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-02 8:21 [parisc-linux] a500.out16 Grant Grundler
2000-11-02 10:43 ` Richard Hirst
2000-11-02 11:30 ` Richard Hirst
2000-11-02 12:01 ` Matthew Wilcox
2000-11-02 16:42 ` Grant Grundler
2000-11-02 12:07 ` Richard Hirst
2000-11-02 10:48 ` Richard Hirst [this message]
2000-11-02 16:12 ` Grant Grundler
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=20001102104833.G32715@linuxcare.com \
--to=rhirst@linuxcare.com \
--cc=grundler@cup.hp.com \
--cc=parisc-linux@thepuffingroup.com \
/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