Re: PROBLEM: Bad data from GOLDSTAR GCD-R580B

Jens Axboe (axboe@image.dk)
Sun, 11 Apr 1999 13:05:19 +0200


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii

On Sun, Apr 11 1999, Valery Kornienkov wrote:
>
> [1.] Bad data from GOLDSTAR GCD-R580B
> [2.] If to turn on dma (hdparm -d1 /dev/cdrom) I obtain bad data - md5sum
> files error, and not obtain anyone kernel message of errors.
> But if to turn off dma (hdparm -d0 /dev/cdrom) - all ok, i'm obtain
> good data from device. This error to make appearance in patch-2.2.4

Yes, the patch that was included in 2.2.4 was faulty on some machines.
Apply the attached patch, it will reverse the changes that went into
2.2.4.

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer

--GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="r580B.diff"

--- drivers/block/ide-cd.c~ Thu Apr 1 17:07:21 1999 +++ drivers/block/ide-cd.c Thu Apr 1 17:07:27 1999 @@ -3005,9 +3005,6 @@ CDROM_CONFIG_FLAGS (drive)->limit_nframes = 1; else if (!strcmp(drive->id->model, "SAMSUNG CD-ROM SCR-2432")) CDROM_CONFIG_FLAGS (drive)->limit_nframes = 1; - else if (!strcmp (drive->id->model, "GCD-R580B")) - CDROM_CONFIG_FLAGS (drive)->limit_nframes = 1; - /* 124/SECTORS_PER_FRAME; ? */ } #if ! STANDARD_ATAPI

--GvXjxJ+pjyke8COw--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/