From owner-freebsd-current Mon Nov 16 00:19:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06572 for freebsd-current-outgoing; Mon, 16 Nov 1998 00:19:16 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from marathon.tekla.fi (marathon.tekla.fi [192.98.7.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06566 for ; Mon, 16 Nov 1998 00:19:14 -0800 (PST) (envelope-from sja@tekla.fi) Received: from poveri.tekla.fi (poveri.tekla.fi [192.98.7.19]) by marathon.tekla.fi (8.8.7/8.8.7) with SMTP id KAA09333; Mon, 16 Nov 1998 10:18:45 +0200 From: Sakari Jalovaara Received: by poveri.tekla.fi; (5.65v3.2/1.1.8.2/20Aug96-0557PM) id AA20583; Mon, 16 Nov 1998 10:18:58 +0200 Date: Mon, 16 Nov 1998 10:18:58 +0200 Message-Id: <9811160818.AA20583@poveri.tekla.fi> To: ade@supernews.net Cc: current@FreeBSD.ORG, sos@freebsd.dk Subject: Re: ATAPI CD/R driver and Mitsumi CR-2600TE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >..> acd0: rezero failed I see this with an HP 8100 burner - apparently REZERO isn't supported. A hack around it is to use START instead of REZERO. The doc for an older HP model says those two commands are equivalent. In sys/i386/isa/atapi-cd.c: static int acd_rezero_unit(struct acd *cdp) { #if 0 return acd_request_wait(cdp, ATAPI_REZERO_UNIT, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); #else return acd_request_wait(cdp, ATAPI_START_STOP, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0); #endif } >>>> acd_request_wait( ..., ATAPI_START_STOP, 1,0,0,0,0,0,0,0,0,0,0 ); >>>> acd_request_wait( ..., ATAPI_START_STOP, 1,0,0,1,0,0,0,0,0,0,0 ); > Hmm.. well, I tried that.. it failed on the first acd_request_wait > (for the CDIOCSTOP equivalent), left the disk spinning inside the drive, > and I couldn't get the disk out unless I halted the machine and hit > the physical eject button whilst the machine was at the BIOS. Try it with just the second (start) request. ++sja To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message