Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mtune!akgua!galbp!bing From: bing@galbp.UUCP (Bing Bang) Newsgroups: comp.os.minix Subject: Re: Fix to bug in wini.c Message-ID: <158@galbp.UUCP> Date: Tue, 26-May-87 16:20:15 EDT Article-I.D.: galbp.158 Posted: Tue May 26 16:20:15 1987 Date-Received: Sat, 30-May-87 02:37:59 EDT References: <2603@sdsu.UUCP> Reply-To: bing@galbp.UUCP (Bing Bang) Distribution: world Organization: Harris/Lanier, Atlanta Lines: 17 I have another bug fix for hard disks. I own a Micro-1 turbo XT with a unknown made-in-the-orient controller and a 20mb hard disk. I was getting so many disk errors before this fix that I could hardly do a mkfs without getting into serious trouble. The same symptoms showed up on all the Wyse PCs at my office which uses a Adaptec controller. The problem was fixed in the routine com_out in the file xt_wini.c by holding the interrupts turned off untill after the status port has been read, right after the 6 command bytes are output to the controller. This fixed all the problems for my Micro-1 as well as the Wyses at work. Might want to give this a try if you have hd problems. I posted this article sometime ago, but because of our news engine having difficulties, I doubt it made it out of our site. Bing H Bang Harris/Lanier Atlanta GA MSDOS: An example of what an OS should not be like.