From owner-freebsd-hackers Wed Aug 21 19:36:31 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA03739 for hackers-outgoing; Wed, 21 Aug 1996 19:36:31 -0700 (PDT) Received: from guarany.cpd.unb.br (guarany.cpd.unb.br [164.41.2.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id TAA03730 for ; Wed, 21 Aug 1996 19:36:21 -0700 (PDT) Received: from antares.linf.unb.br by guarany.cpd.unb.br (AIX 3.2/UCB 5.64/4.03) id AA53530; Wed, 21 Aug 1996 23:38:09 -0300 Received: from pegasus by antares.linf.unb.br (4.1/SMI-4.1) id AA07001; Wed, 21 Aug 96 23:38:18 WST From: e8917523@antares.linf.unb.br (Daniel C. Sobral) Message-Id: <9608220338.AA07001@antares.linf.unb.br> Subject: ATAPI CD-ROM driver To: hackers@freefall.freebsd.org Date: Wed, 21 Aug 1996 23:39:22 -0400 (WST) In-Reply-To: <199608212133.OAA29797@freefall.freebsd.org> from "owner-hackers-digest@freefall.freebsd.org" at Aug 21, 96 02:33:02 pm Disclaimer: Klaatu Barada Nikto! X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > From: Yuri Shemanin > > 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. Yeah, same as me. The drive work with the standard OS/2 driver, so FreeBSD one ought to work. Now, could you please gimme a context diff (diff -c) instead of the standard one above? That line number has little meaning by now on my patched atapi.c. :-) -- Daniel C. Sobral (8-DCS) e8917523@linf.unb.br "Master, do we seek victory in contention?" "Seek rather not to contend, for without contention there can be neither victory nor defeat."