Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a186 From: Harvey_Taylor@mindlink.bc.ca (Harvey Taylor) Newsgroups: comp.sys.amiga.programmer Subject: Re: SCSI Direct Message-ID: <6101@mindlink.bc.ca> Date: 2 Jun 91 02:30:36 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 38 Thankyou to the several folks who answered my earlier questions re SCSI Direct. It turns out I was confusing the LUN & the SCSI ID & mucking up the CDB. Once I figured out what Inquiry was telling me, it was apparent. Meanwhile I am still having troubles with MODE_SELECT, SEND_DIAGNOSTIC - RECEIVE_DIAGNOSTIC_RESULTS pair & FORMAT. Usually I get ILLEGAL REQUEST (or HARDWARE ERROR if I diddle with the Amiga structs). Before I get too far into this; I am using an A2000, Xetec FastTrak (version 1.48) & a TEAC FD-235JS Scsi floppy. The documentation which I don't have, BTW, is for the TEAC controller. I am trying to puzzle out the possible failure modes. -There may be a problem with the Xetec driver. -There may be a problem with the drive hardware. (But it passes SEND_DIAGNOSTIC with the Self Test bit set.) -There may be some problem with the CDBs I am sending to the FC-1. (More likely.) -There may be some problem with the sequence of CDBs I send. -Maybe I am mucking up the SCSI_CMD & IoRequestBlock. -Other failure modes? Does anybody know if the Xetec FastTrak SCSI Direct works properly? I haven't noticed any effect of setting SCSIF_AUTOSENSE ie. nothing in the SenseData buffer. To send MODE_SELECT, I have been writing my parameter list to a buffer putting the address in scsi_Data, setting the scsi_Flags to SCSIF_WRITE. Sound right? I suspect I will have to wait for the TEAC docs I ordered to arrive... -het "Abstract words are ancient coins whose concrete images in the give and take of talk have worn away." -Julian Jaynes Harvey Taylor Meta Media Productions uunet!van-bc!rsoft!mindlink!Harvey_Taylor a186@mindlink.bc.ca