From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,48929bc11b4b5b10,start X-Google-Attributes: gid1164f8,public From: rouse@my-dejanews.com Subject: SCSI Device Driver Date: 1998/11/05 Message-ID: <71smj1$mmt$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 408707264 X-Http-Proxy: 1.1 zuul.kastle.com:3128 (Squid/SecureZone), 1.0 x11.dejanews.com:80 (Squid/1.1.22) for client unknown, 206.27.76.2 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Nov 05 17:17:21 1998 GMT Newsgroups: comp.sys.dec X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows NT) 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've tried the "avail command" but it does not give me the correct status if there is no disk in the drive.... -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own