lkml.org 
[lkml]   [1999]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: PROBLEM: Bad data from GOLDSTAR GCD-R580B
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
--- 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
\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.027 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site