Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Problem w/ 2.2.10-ac12 & NCR53c875
@ 1999-07-26 23:39 Dumb Kid
  1999-07-27  1:12 ` Ed Hall
  0 siblings, 1 reply; 4+ messages in thread
From: Dumb Kid @ 1999-07-26 23:39 UTC (permalink / raw)
  To: axp-list; +Cc: linux-kernel, linux-scsi

Hi all,

I am having trouble getting the 2.2.10-ac12 to boot. My system
is alpha LX164 w/ NCR53c875.

Using 2.2.10 can boot fine without any problems, however, using
2.2.10-ac12 will give "CACHE TEST FAILED: ncr wrote 2, host read 0"
error and machine rebooted.

I have another machine using NCR53c860 can boot find w/
2.2.10-ac12 also.

Here is the exact output (copy by hand from console):

ncr53c8xx: at PCI bus 0, device 6, function 0
ncr53c8xx: 53c875 detected with Symbios NVRAM
ncr53c875-0: rev=0x04, base=0x9000000, io_port=0x8000, irq=16
ncr53c875-0: Symbios format NVRAM, ID 7, Fast-20, Parity Checking
ncr53c875-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/a0/00/00/24
ncr53c875-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/a0/00/08/24
ncr53c875-0: on-chip RAM at 0x9001000
CACHE TEST FAILED: ncr wrote 2, host read 0
CACHE TEST FAILED: ncr wrote 2, read back 0
CACHE Incorrectly Configured

Any suggestion will be appreciated. (I need the ac patch for the
large file descriptor)

Regards,
Tom


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com


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

* Re: Problem w/ 2.2.10-ac12 & NCR53c875
  1999-07-26 23:39 Problem w/ 2.2.10-ac12 & NCR53c875 Dumb Kid
@ 1999-07-27  1:12 ` Ed Hall
  1999-07-27  5:33   ` Michal Jaegermann
  0 siblings, 1 reply; 4+ messages in thread
From: Ed Hall @ 1999-07-27  1:12 UTC (permalink / raw)
  To: Dumb Kid; +Cc: axp-list

> Hi all,
> 
> I am having trouble getting the 2.2.10-ac12 to boot. My system
> is alpha LX164 w/ NCR53c875.
> 
> Using 2.2.10 can boot fine without any problems, however, using
> 2.2.10-ac12 will give "CACHE TEST FAILED: ncr wrote 2, host read 0"
> error and machine rebooted.

There was a fumble with the various patches that went into the AC
version.  You can try using the original "arch/alpha/kernel/core_pyxis.c"
from 2.2.10--that *might* fix the problem.  I've not yet had a chance
to try this myself...

Or, since Alan & company know about this, you can wait for them to fix
it up.

		-Ed



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

* Re: Problem w/ 2.2.10-ac12 & NCR53c875
  1999-07-27  1:12 ` Ed Hall
@ 1999-07-27  5:33   ` Michal Jaegermann
  1999-07-27  6:35     ` Ed Hall
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Jaegermann @ 1999-07-27  5:33 UTC (permalink / raw)
  To: axp-list

Ed Hall wrote:
> 
> > Hi all,
> > 
> > I am having trouble getting the 2.2.10-ac12 to boot. My system
> > is alpha LX164 w/ NCR53c875.
> > 
> > Using 2.2.10 can boot fine without any problems, however, using
> > 2.2.10-ac12 will give "CACHE TEST FAILED: ncr wrote 2, host read 0"
> > error and machine rebooted.
> 
> There was a fumble with the various patches that went into the AC
> version.  You can try using the original "arch/alpha/kernel/core_pyxis.c"
> from 2.2.10--that *might* fix the problem.

I do not know that for sure, but I do not think that PYXIS changes
really are responsible for that failure.  This excludes UX where setup
is different and changing PCI windows really is causing problems.

The reason behind this opinion is that I am running right now 2.2.10-ac12
"genric" on LX, and on EB64+, ('dmesg' output from LX below) and I left
modifications to core_pyxis.h and core_pyxis.c intact.

What is different that instead of ncr53c8xx 3.2, which comes with 2.2.10
and is left alone in 2.2.10-ac12, I am using sym53c8xx 1.5c.  I did not
try the original NCR driver but if you have troubles maybe you can
retrieve patches from ftp://ftp.tux.org/tux/roudier and try what will
happen on your machine.  Patches for 2.2.9 fit with some small offsets.

Gerard Roudier also posted recently on linux-kernel list some small
patches to NCR driver whcih allow it to handle better out-of-spec
PCI bridges.  How this is relevant here I am not sure as I never had
troubles with this controller in the past but maybe there is something
there.

   Michal

Here is dmesg.  This LX has actually two channel controller with
two disks currently on different channels.  This setup is purely for
testing; gcc version used is not likely relevant.  Does anybody knows
if the fact that this controller is apparently recognized as
64-bit device is important here?

Linux version 2.2.10-ac12  (gcc version 2.95 19990718 (prerelease))
   #2 Mon Jul 26 19:18:31 MDT 1999
Booting on EB164 variation LX164 using machine vector LX164
Command line: bootdevice=sda2 bootfile=/vml2210ac12.gz root=/dev/sdb2 
Console: colour VGA+ 80x25
Calibrating delay loop... 595.59 BogoMIPS
Memory: 256744k available
POSIX conformance testing by UNIFIX
Alpha PCI BIOS32 revision 0.04
PCI: Probing PCI hardware
bios32 WARNING: handling 64-bit device in slot 4, function 0: 
bios32 WARNING: handling 64-bit device in slot 4, function 0: 
bios32 WARNING: handling 64-bit device in slot 4, function 1: 
bios32 WARNING: handling 64-bit device in slot 4, function 1: 
SMC FDC37C93X Ultra I/O Controller found @ 0x370
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5 
Detected PS/2 Mouse Port.
Serial driver version 4.27 with DETECT_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
RAM disk driver initialized:  16 RAM disks of 4096K size
CMD646: IDE controller on PCI bus 00 dev 58
CMD646: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8000-0x8007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x8008-0x800f, BIOS settings: hdc:pio, hdd:pio
Floppy drive(s): fd0 is 2.88M
FDC 0 is a post-1991 82077
sym53c8xx: at PCI bus 1, device 4, function 0
sym53c8xx: 53c896 detected with Symbios NVRAM
sym53c8xx: at PCI bus 1, device 4, function 1
sym53c8xx: 53c896 detected with Symbios NVRAM
sym53c896-0: rev=0x05, base=0x9000000, io_port=0x9000, irq=16
sym53c896-0: Symbios format NVRAM, ID 7, Fast-40, Parity Checking
sym53c896-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/8e/a0/00/00/24
sym53c896-0: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/a0/01/08/24
sym53c896-0: Delay (GEN=11): 260 msec, 34185 KHz
sym53c896-0: Delay (GEN=11): 266 msec, 33414 KHz
sym53c896-0: Delay (GEN=11): 266 msec, 33414 KHz
sym53c896-0: resetting, command processing suspended for 2 seconds
sym53c896-0: restart (scsi reset).
sym53c896-0: enabling clock multiplier
sym53c896-0: handling phase mismatch from SCRIPTS.
sym53c896-1: rev=0x05, base=0x9004000, io_port=0x9800, irq=23
sym53c896-1: Symbios format NVRAM, ID 7, Fast-40, Parity Checking
sym53c896-1: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/8e/a0/00/00/24
sym53c896-1: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/a0/01/08/24
sym53c896-1: resetting, command processing suspended for 2 seconds
sym53c896-1: restart (scsi reset).
sym53c896-1: enabling clock multiplier
sym53c896-1: handling phase mismatch from SCRIPTS.
scsi0 : sym53c8xx - version 1.5c
scsi1 : sym53c8xx - version 1.5c
scsi : 2 hosts.
sym53c896-0: command processing resumed
  Vendor: IBM       Model: DCAS-34330W       Rev: S65A
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
sym53c896-1: command processing resumed
sym53c896-0-<0,0>: tagged command queue depth set to 8
  Vendor: IBM       Model: DDRS-39130D       Rev: DC1B
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi1, channel 0, id 1, lun 0
sym53c896-1-<1,0>: tagged command queue depth set to 8
scsi : detected 2 SCSI disks total.
sym53c896-0-<0,*>: WIDE SCSI (16 bit) enabled.
sym53c896-0-<0,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8467200 [4134 MB] [4.1 GB]
sym53c896-1-<1,*>: WIDE SCSI (16 bit) enabled.
sym53c896-1-<1,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15)
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 17850000 [8715 MB] [8.7 GB]
Partition check:
 sda: sda1 sda2 sda3 sda4
 sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 132088k swap-space (priority -1)


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

* Re: Problem w/ 2.2.10-ac12 & NCR53c875
  1999-07-27  5:33   ` Michal Jaegermann
@ 1999-07-27  6:35     ` Ed Hall
  0 siblings, 0 replies; 4+ messages in thread
From: Ed Hall @ 1999-07-27  6:35 UTC (permalink / raw)
  To: axp-list

Michal Jaegermann wrote:
> Ed Hall wrote:
> > There was a fumble with the various patches that went into the AC
> > version.  You can try using the original "arch/alpha/kernel/core_pyxis.c"
> > from 2.2.10--that *might* fix the problem.
> 
> I do not know that for sure, but I do not think that PYXIS changes
> really are responsible for that failure.  This excludes UX where setup
> is different and changing PCI windows really is causing problems.

Sorry to suggest a (then) untried solution--I was unable to get to my LX164
box to try it before now.  Reverting "arch/alpha/kernel/core_pyxis.c"
does, indeed, fix the problem; I'm now running 2.2.10-ac11, which before
had failed with precisely the reported symptoms.

Thanks to Alan Cox, Gerard Roudier, Richard Henderson, and Jay Estabrook
for looking into the problem when I reported it last week.  I'm sorry
I didn't have the time to act on their analysis of the problem until now.

		-Ed Hall
		edhall@weirdnoise.com




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

end of thread, other threads:[~1999-07-27  6:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-26 23:39 Problem w/ 2.2.10-ac12 & NCR53c875 Dumb Kid
1999-07-27  1:12 ` Ed Hall
1999-07-27  5:33   ` Michal Jaegermann
1999-07-27  6:35     ` Ed Hall

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