Date: Sun, 1 Feb 2004 14:50:09 -0800 (PST) From: chi@bd.mbn.or.jp (Chiharu Shibata) To: freebsd-bugs@FreeBSD.org Subject: Re: kern/60163: ATA failed to mount data track of CD-EXTRA multisession cd Message-ID: <200402012250.i11Mo9wj084118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/60163; it has been noted by GNATS. From: chi@bd.mbn.or.jp (Chiharu Shibata) To: freebsd-gnats-submit@FreeBSD.org Cc: skywizard@MyBSD.org.my Subject: Re: kern/60163: ATA failed to mount data track of CD-EXTRA multisession cd Date: Mon, 2 Feb 2004 07:40:40 +0900 (JST) This is Chiharu Shibata. At Thu Dec 11 13:40:06 PST 2003, you wrote: >Fix -snip- > 2) Apply this patch (perhaps fix) > > --- sys/dev/ata/atapi-cd.c.orig Thu Dec 11 02:20:33 2003 > +++ sys/dev/ata/atapi-cd.c Thu Dec 11 02:26:14 2003 > @@ -1277,7 +1277,13 @@ > } > cdp->toc.hdr.len = ntohs(cdp->toc.hdr.len); > > - cdp->block_size = (cdp->toc.tab[0].control & 4) ? 2048 : 2352; > + cdp->block_size = 2352; > + for (track = 0; track < ntracks; track++) { > + if (cdp->toc.tab[track].control & 4) { > + cdp->block_size = 2048; > + break; > + } > + } > acd_set_ioparm(cdp); > bzero(ccb, sizeof(ccb)); > ccb[0] = ATAPI_READ_CAPACITY; I have already analized this problem, and reached the same conclusion. Please commit this patch. In detail, refer the following URL, please. (Both written in Japanese, sorry). [FreeBSD-tech-jp 3417] ATAPI CD-ROM patches <http://home.jp.freebsd.org/cgi-bin/showmail/FreeBSD-tech-jp/3417> [FreeBSD-users-jp 74432] ATAPI CD-ROM quirks <http://home.jp.freebsd.org/cgi-bin/showmail/FreeBSD-users-jp/74432> -- Chiharu Shibata chi@bd.mbn.or.jp <http://www32.ocn.ne.jp/~chi/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402012250.i11Mo9wj084118>