Subject: Trouble with NCR 810
To: None <port-i386@NetBSD.ORG>
From: John Milford <jwm@CSUA.Berkeley.EDU>
List: port-i386
Date: 07/16/1995 21:38:41
	I just put an NCR 810 based SCSI controller in my machine and
I can't seem to get ther kernel to use it.  It works fine in DOS, but
NetBSD doesn't seem to be able to use it.  When I bought it I was told
it was an ASUS card, but I fail to find the brand name on the docs.
The model number is JDC5010 if anyone can recognize it. It is
completely stripped (no BIOS on board).  The motherboard is an 
AIR 486 VP from early August 1994, and has BIOS support for the 
card which is what I used with DOS.

	The below are messages from both NetBSD-1.0 release and
current as of May 15, 1995.  The SCSI card is in PCI slot 0, and I
have an ATI Mach 64 in PCI slot 0.  THe only other card is an Multi
I/O card with IDE controller, Floppy controller, 2 16550s, and 1
parallel port.  I have always gotten the message about the ie0 being
there, but have never had any trouble.

	The snapshot kernel is not affected by setting the IRQ for the
slot in the motherboard BIOS and I don't have an exact copy of what
happens with the release kernel when I tell the motherboard BIOS that
the card should be using IRQ 10 (or any of the other ones I tried
setting it to) because it hangs after giving this message:

/* Ten finger copy */

pci_map_mem: memory mapped at c0000000-c0000fff
pci_map_int: no mapping for pin A at irq10
CACHE TEST FAILED: host wrote 1, ncr read -1.
CACHE TEST FAILED: ncr wrote 2, host read 1.
CACHE TEST FAILED: ncr wrote 2, read back -1.
CACHE INCORRECTLY CONFIGURED.
/* Hangs  */

This is with a NetBSD-1.0 release kernel and nothing set
in the motherboard's BIOS:

NetBSD 1.0 (GENERICAHA) #3: Sun Oct 23 20:58:04 PDT 1994
cgd@sun-lamp.cs.berkeley.edu:/usr/src/sys/arch/i386/compile/GENERICAHA
CPU: i486DX (GenuineIntel 486-class CPU)
real mem  = 16384000
avail mem = 14344192
using 225 buffers containing 921600 bytes of memory
pc0 at isa0 port 0x60-0x6f irq 1: color
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37f irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 325MB 1010 cyl, 12 head, 55 sec <WDC AC2340H>
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
pci0 at isa0 port 0x0-0x665: configuration mode 1
pci0 bus 0 device 0: identifier 06001080 class 06000000 not configured
ncr0 at pci0 bus 0 device 1
pci_map_mem: memory mapped at c0000000-c0000fff
pci_map_int: no mapping for pin A
pci0 bus 0 device 3: identifier 47581002 class 03000001 not configured
ie0: unknown AT&T board type code 15
npx0 at isa0 port 0xf0-0xff: using exception 16
biomask 4040 netmask 1a ttymask 1a
changing root device to wd0a


This is from the May 15, snapshoy kernel with nothing set in the 
motherboard BIOS.

NetBSD 1.0A (GENERIC) #2: Mon May 15 16:20:13 PDT 1995
    cgd@pain.cs.berkeley.edu:/b/users/cgd/src/sys/arch/i386/compile/GENERIC
CPU: i486DX (GenuineIntel 486-class CPU)
real mem  = 16384000
avail mem = 13631488
using 225 buffers containing 921600 bytes of memory
isa0 (root)
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37f irq 7
sea0: board type unknown at address 0xf827c000
mcd0: timeout in getresult
age repeated 2 times
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 325MB, 1010 cyl, 12 head, 55 sec, 512 bytes/sec <WDC AC2340H>
wd0: using 16-sector 16-bit pio transfers, chs addressing
ie0: unknown AT&T board type code 15
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
root device eisa not configured
pci0 (root): configuration mode 1
pci0 bus 0 device 0: identifier 06001080 class 06000000 not configured
ncr0 at pci0 bus 0 device 1
pci_map_mem: memory mapped at c0000000-c0000fff
CACHE TEST FAILED: host wrote 1, ncr read -1.
CACHE TEST FAILED: ncr wrote 2, host read 1.
CACHE TEST FAILED: ncr wrote 2, read back -1.
CACHE INCORRECTLY CONFIGURED.
pci0 bus 0 device 3: identifier 47581002 class 03000001 not configured
biomask 4040 netmask 1a ttymask 1a
changing root device to wd0a




		--John