From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,48929bc11b4b5b10 X-Google-Attributes: gid1164f8,public From: Jerome Fine Subject: Re: SCSI Device Driver Date: 1998/11/05 Message-ID: <364211E2.FBABD96E@idirect.com>#1/1 X-Deja-AN: 408789034 Content-Transfer-Encoding: 7bit References: <71smj1$mmt$1@nnrp1.dejanews.com> <3641ADD5.24A67132@trailing-edge.com> To: rouse@my-dejanews.com Content-Type: text/plain; charset=us-ascii X-Trace: 5 Nov 1998 16:01:42 +0500, ts6-20t-27.idirect.com Organization: Internet Direct Usenet User MIME-Version: 1.0 Newsgroups: comp.sys.dec >Tim Shoppa wrote: > rouse@my-dejanews.com wrote: > > > > I have a MSCP driver that talks to a SCSI SQ739 Dilog controller that has a > > Zip unit attached. I'm trying to fix a bug in the driver where by it will > > alert the user if some tries to read/write to Zip unit if there is no disk in > > the drive. I've added a function that will get the unit status of the zip > > drive. However, every time I post the "get unit status" to the controller, it > > hang the machine and I have to reboot to get control again. This only occurs > > is there is no disk in the drive. If there is a disk in the drive, the "get > > unit status" command works fine and does not hang the machine. Does anyone > > have any ideas what I maybe doing wrong here??? > > I don't think you're doing anything wrong; the problem is that > the firmware on your SQ739 doesn't know how to deal with > your particular removable-media drive. Contact Dilog and > see if they have a firmware upgrade, or dump the SQ739 and > get a Q-bus host adapter that does deal with Zip drives. I > know for a fact that CMD and Andromeda controllers do fine > with Zip drives with their latest firmware revisions. > > -- > Tim Shoppa Email: shoppa@trailing-edge.com > Trailing Edge Technology Voice: 301-767-5917 > 7328 Bradley Blvd Fax: 301-767-5927 > Bethesda, MD, USA 20817 Jerome Fine replies: I have also have some experience with Zip drives using MSCP host adapters. In addition, I also am using a customers system which has a 3 1/2 " floppy (RX23 emulation) connected to a CMD host adapter. When the floppy is not in the drive, the system does hang waiting for the floppy to be inserted; after the floppy is inserted, the system does continue properly. I don't have the system with the Zip drive running right now, so I can't really remember what happens if the CMD host adapter is able to recognize what to do if the Zip cartridge is not in the drive. But from memory, I seem to remember having the same hang-up as the Dialog host adapter. On the other hand, another customer who originally installed the CMD host adapters in his systems has switched to Emulex UC07 host adapters which seem to poll the ZIP drive as to whether or not the cartridge is present. When I talked to CMD about this problem, they answered that the technology on the PDP-11 was old and that there were no plans to change the firmware. Note that on the VAX, a VMS removable media must be MOUNTED which often locks (if possible) the media in the drive. This was the case with the Sony optical platters. But again, under RT-11 or TSX-PLUS, there does not seem to be the proper co-ordination and hand shaking between the firmware on the host adapter and the device driver. If the Sony optical platter was not present, the system would hang. Incidentally, which version of RT-11 or TSX-PLUS are you using? And do you want to boot from a non-zero partition of the Zip cartridge (after the initial hardware boot of course). I assume from Tim's response that you are running RT-11/ TSX-PLUS on your PDP-11. If you are not (e.g. RSX-11), possibly the same situation applies. Tim, if I have indeed given the wrong information and the CQD 220A/TM does give a .READx error when the Zip cartridge is not present, please let me know so I can verify this aspect. Sincerely yours, Jerome Fine Year 2000 Solutions for RT-11 Operating Systems and Applications (Sources not always required)