Date: Mon, 15 Mar 1999 18:59:35 +1100 From: Gregory Bond <gnb@itga.com.au> To: stable@FreeBSD.ORG Cc: jwdare@novia.net (J.W. Dare) Subject: Workaround: Re: acd1: rezero failed Message-ID: <199903150759.SAA02992@lightning.itga.com.au> In-Reply-To: Your message of Fri, 12 Mar 1999 14:31:34 %2B1100.
next in thread | raw e-mail | index | archive | help
With a bit more poking around, I have made the HP 8100 work with the acd
driver. For some reason, the 8100 dislikes the ATAPI REZERO_UNIT command that
acdopen() sends when in write mode. Yet it seems the HP 7200 has no problems
with the same code. I've asked HP for any hints as to why the 8100 is
different but they have not yet had time to reply (and I don't expect much joy,
frankly).
The following patch makes the CD-R/CD-RW bit work (as far as I can tell from
my brief testing). I don't know all that much about the nitty-gritty of
ATAPI so I don't know if this has any deadly consequences....
[btw: submitted as pr kern/dunno-yet]
*** ./sys/i386/isa/atapi-cd.c.dist Mon Jan 4 10:13:22 1999
--- ./sys/i386/isa/atapi-cd.c Mon Mar 15 16:51:44 1999
***************
*** 399,405 ****
/* read/write */
if (acd_rezero_unit(cdp)) {
printf("acd%d: rezero failed\n", lun);
! return EIO;
}
} else {
/* read only */
--- 399,405 ----
/* read/write */
if (acd_rezero_unit(cdp)) {
printf("acd%d: rezero failed\n", lun);
! /* return EIO; */
}
} else {
/* read only */
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903150759.SAA02992>
