From owner-freebsd-hackers Wed Aug 21 07:30:27 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA19806 for hackers-outgoing; Wed, 21 Aug 1996 07:30:27 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA19791 for ; Wed, 21 Aug 1996 07:30:24 -0700 (PDT) Received: from ns.stu.neva.ru (ns.stu.neva.ru [194.85.96.53]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id HAA14772 for ; Wed, 21 Aug 1996 07:22:39 -0700 (PDT) Received: by ns.stu.neva.ru id <24196-125>; Wed, 21 Aug 1996 18:10:17 +0300 Subject: Re: 2.1.5R & ATAPI CDROM Problems From: Yuri Shemanin To: freebsd-hackers@freebsd.org Date: Wed, 21 Aug 1996 18:10:12 +0400 (MSD) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <96Aug21.181017msd.24196-125+31@ns.stu.neva.ru> Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello all, I'm not sure that info is of any value, but I've resolved my CD problems with following change in atapi.c (atapi_wait() function): 397c397 < if (cnt <= 0 && (s != 0xff)) --- > if (cnt <= 0) I have GoldStar 542B & 2.1.5R and there were big problems with its recognition while booting. Fast investigation showed that the hellish device returned 0xff byte instead of unsetting BUSY bit while probing, so not being any kind of ATAPI expert I used the above dirty hack. After that I have one extra message "unknown phase" at console but all problems flied away. Regards, Yuri. P.S. CD worked well under OS/2 & DOS.