Subject: Re: UPDATE: Symbios 8750SP / IBM DDRS U2W boot problems
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Joerg Czeranski <jc@joerch.org>
List: port-alpha
Date: 05/17/1999 02:42:17
Jason wrote:
> Okay.  There is NVRAM on these boards that our driver currently
> doesn't decode.  I'll see what I can cook up, and get back to you.

I compiled a 1.3.3 kernel with options SCSI_NCR_DEBUG=0x17bf
(everything but DEBUG_FREEZE and DEBUG_SCRIPT), and saved the output.

After negotiating wide, then sync, it seems to get an error and
try to negotiate wide again.

Maybe this helps, I'm rather clueless about SCSI protocols. :-)

thanks,
joerch

==== begin dmesg output =====
  mainbus0 (root)
  cpu0 at mainbus0: ID 0 (primary), 21164A (pass 2)
  cia0 at mainbus0: DECchip 2117258 Core Logic chipset
  cia0: extended capabilities: 21<DWEN,BWEN>
  pci0 at cia0 bus 0
  ncr0 at pci0 dev 7 function 0: ncr 53c875 fast20 wide scsi
  ncr0: interrupting at eb164 irq 1
  ncr0: minsync=25, maxsync=254, maxoffs=16, 128 dwords burst, large dma fifo
  ncr0: single-ended, open drain IRQ driver, using on-chip SRAM
  ncr0: restart (scsi reset).
  scsibus0 at ncr0: 16 targets
  probe(ncr0:0:0): CMD=0 F=1d3 A=0x0 L=0 ncr0: queuepos=1 tryoffset=0.
  P1111F CCB=800 STAT=4/80
  
  ncr0: sense data: 70 0 6 0 0 0 0 18 0 0 0 0 29 0.
  ncr0: result: 0 80.
  probe(ncr0:0:0): CMD=0 F=1d3 A=0x0 L=0 ncr0: queuepos=2 tryoffset=20.
  P4F CCB=800 STAT=4/0
  new ccb @0xfffffe004a59d400.
  ncr0: result: 0 0.
  probe(ncr0:0:0): CMD=12 F=813 A=0xfffffc000036a31c L=2c ncr?:	scattering virtual=0x36a31c size=44 chunk=512.
  	seg #0  addr=4036a31c  size=44  (rest=0).
  ncr0: queuepos=3 tryoffset=40.
  P1F CCB=400 STAT=4/0
  ncr0: actlink: diff=0, new=1, req=0
  ncr0: result: 0 0.
  sd0 at scsibus0 targ 0 lun 0: <IBM, DDRS-34560D, DC1B> SCSI2 0/direct fixed
  sd0: sd0(ncr0:0:0): CMD=1b F=1b3 A=0x0 L=0 sd0(ncr0:0:0): using tag #1.
  sd0(ncr0:0:0): wide msgout: 1-2-3-1.
  ncr0: queuepos=4 tryoffset=60.
  P2<2|84:0|414bfcf0:98080000>I#6sd0(ncr0:0:0): wide msgin: 1-2-3-1.
  sd0(ncr0:0:0): wide: wide=1 chg=0.
  sd0(ncr0:0:0): WIDE SCSI (16 bit) enabled
  2F CCB=400 STAT=4/0
  new ccb @0xfffffe004a59d000.
  ncr0: actlink: diff=3, new=4, req=4
  ncr0: result: 0 0.
  sd0(ncr0:0:0): CMD=1a F=833 A=0xfffffc00003cd640 L=2c sd0(ncr0:0:0): using tag #2.
  sd0(ncr0:0:0): sync msgout: 1-3-1-19-10.
  ncr?:	scattering virtual=0x3cd640 size=44 chunk=512.
  	seg #0  addr=403cd640  size=44  (rest=0).
  ncr0: queuepos=5 tryoffset=80.
  P2<2|84:0|414bfda4:98080000>I#5sd0(ncr0:0:0): sync msgin: 1-3-1-19-f.
  sd0(ncr0:0:0): sync: per=25 scntl3=0x10 ofs=15 fak=0 chg=0.
  sd0(ncr0:0:0): 20.0 MB/s (100 ns, offset 15)
  23333333333<2|0:91|820106cc:1900000c>ncr0:0: ERROR (0:91) (9-ae-0) (f/1b) @ (script 6cc:1900000c).
  ncr0: script cmd = 89030000
  ncr0: regdump: da 10 80 1b 47 0f 00 0f 03 09 80 ae 80 00 06 00.
  ncr0: have to clear fifos.
  ncr0: restart (fatal error).
  DCCB=0 STAT=9/ff
  sd0(ncr0:0:0): COMMAND FAILED (9 ff) @0xfffffe004a59d000.
  ncr0: result: 0 ff.
===== end dmesg output, rest is from console
  sd0(ncr0:0:0): CMD=1a F=833 A=0xfffffc00003cd640 L=2c sd0(ncr0:0:0): wide msgout: 1-2-3-1.
  ncr?:	scattering virtual=0x3cd640 size=44 chunk=512.
  	seq #0	addr=403cd640	size=44   (rest=0).
  ncr0: queuepos=1 tryoffset=0.
  P222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
===== end of console output, I hit [RESET] here