Subject: PCI NCR 53c810 Problems in 1.0
To: None <port-i386@NetBSD.ORG>
From: Curt Sampson <a09878@giant.mindlink.net>
List: port-i386
Date: 02/16/1995 22:36:56
As everybody probably knows by now (:-)) I've got an ASUS PVI-486 SP3
motherboard with their SP-200 PCI SCSI controller, based on the NCR
53c810 chip. Attached to this I've a 350 MB Quantum Lightning drive
and a Sony CD-55S CD-ROM. I'm running the generic NetBSD 1.0 kernel
and I've just discovered some pretty bad problems that pop up when
I access my CD-ROM.

So long as I don't use the CD-ROM too heavily, things seem to be all
right. However, copying a large file or three will often start this
error, and doing a _du_ from the root of the mounted CD-ROM will
guarantee the error. I first get

    ncr0 targ 3?: ERROR (81:50:a7) (e0/13) @ (2577f0:48000000).
    ncr0 targ 3?: ERROR (81:4:a7) (e0/13) @ (2577f0:48000000).

and the disk light just stays lit. Then I see

    ncr0: timeout ccb=f8667600 (skip)

about every thirty seconds or so. The only real option at this point
seems to be to reboot; the system never comes back, it just keeps
printing that last message. I've tried a different SCSI cable and a
different terminator, but the problem persists.

Has the NCR code changed in the more recent kernels? Should I try an
upgrade to fix the problem?

For reference, here are the boot messages:

    pci0 at isa0 port 0x0-0x665: configuration mode 1
    pci0 bus 0 device 5: identifier 04961039 class 06000000 not configured
    pci0 bus 0 device 11: identifier 41581002 class 03000002 not configured
    ncr0 at pci0 bus 0 device 12
    pci_map_mem: memory mapped at c0000000-c0000fff
    pci_map_int: pin A mapped to irq 10
    ncr0: restart (scsi reset).
    ncr0 scanning for targets 0..6 ($Revision: 1.2 $)
    scsibus4 at ncr0
    ncr0 targ 0 lun 0: <QUANTUM LIGHTNING 365S  241E> SCSI2 direct fixed
    sd0 at scsibus4sd0(ncr0:0:0): asynchronous.
    : 349MB, 3658 cyl, 2 head, 97 sec, 512 bytes/sec
    ncr0 targ 3 lun 0: <SONY    CD-ROM CDU-55S  1.0t> SCSI2 readonly removable
    cd0 at scsibus4cd0(ncr0:3:0): asynchronous.
    cd0(ncr0:3:0): M_REJECT received (3:8).
    : drive empty

cjs
-- 
Curt Sampson  a09878@giant.rsoft.bc.ca		Opinions are mine,
Fluor Daniel Wright, Ltd. 604 488 2226		not Fluor Daniel's.
1075 W. Georgia Street
Vancouver, B.C., V6E 4M7	 	De gustibus, aut bene aut nihil.