Subject: Re: DMA target selection in 53c9x driver (sun3x)
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Jeremy Cooper <jeremy@broder.com>
List: port-alpha
Date: 05/08/1997 14:06:38
Even when I merged the latest DMA changes I got the same problem.  I
expected this and that's why I didn't merge in the first place =)
This time however, I recorded what happened:

EEPROM boot device...Boot: sd(0,10,0) 
>> NetBSD ufsboot [$Revision: 1.2 $]
756044+36688+64212+[57960+56619]=0xed307
Starting program at 0x4000
console is ttya
[ preserving 114583 bytes of netbsd symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.2D (GENERIC) #7: Thu May  8 11:49:42 PDT 1997
    jeremy@mobeius:/usr/home/netbsd/src/sys/arch/sun3x/compile/GENERIC
Model: Sun 3/80 (hostid 42006034)
fpu: mc68882
real mem = 16777216
avail mem = 14442496
using 115 buffers containing 942080 bytes of memory
mainbus0 (root)
obio0 at mainbus0
memerr0 at obio0 addr 0x61001000 ipl 7: (Parity memory)
intreg0 at obio0 addr 0x61001400
zsc0 at obio0 addr 0x62000000 ipl 6: (softpri 3)
kbd0 at zsc0 channel 0
ms0 at zsc0 channel 1
zsc1 at obio0 addr 0x62002000 ipl 6: (softpri 3)
zstty0 at zsc1 channel 0 (console)
zstty1 at zsc1 channel 1
zsc1: enabling zs interrupts
eeprom0 at obio0 addr 0x64000000
idprom0 at obio0 addr 0x640007d8
clock0 at obio0 addr 0x640007f8 ipl 5
iommu0 at obio0 addr 0x60000000: range 16MB
le0 at obio0 addr 0x65002000 ipl 3: address 08:00:20:08:25:03
le0: 8 receive buffers, 2 transmit buffers
esp0 at obio0 addr 0x66000000 ipl 2: ESP100, 20MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
esp0: !TC [intr 20, stat 0, step 0] prevphase 101, resid 0
esp0: !TC [intr 20, stat 0, step 0] prevphase 101, resid 2c
esp0: !TC [intr 20, stat 0, step 0] prevphase 101, resid 0
esp0: !TC [intr 20, stat 0, step 0] prevphase 101, resid 2c
probe(esp0:2:0): error code 0
probe(esp0:3:0): error code 0
probe(esp0:3:0): error code 0
probe(esp0:6:0): error code 0
probe(esp0:6:0): error code 0
fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40: (softpri 2) chip 82072
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
obmem0 at mainbus0
bwtwo0 at obmem0 addr 0x50400000 ipl 4 (1152x900)
enabling interrupts
boot device: <unknown>
root device: 

I'll try to decipher what's going on.  In the meantime does anyone have
any hints?

-J