PROBLEM: Linux ATAPI CDROM ->FIX: SAMSUNG CD-ROM SC-140

From: Steven J. Hathaway
Date: Sat Dec 31 2005 - 00:23:44 EST


The problem first appeared in Linux 2.4.21 when the "ide-dma" source
experienced
a significant overhaul, but worked OK in Linux versions 2.4.5 through
2.4.20.
The problem still exists in Linux 2.4.32.

Attempts to mount a SAMSUNG SC-140 CDROM are allowing DMA which fails
because of a problem in the following source code file:

<linux>/drivers/ide/ide-dma.c

User sees displayed
mount: Directory not available

The fix is to add the following record to the drive_blacklist[] table.

{ "SAMSUNG CD-ROM SC-140", "ALL" },

This model of SAMSUNG CD-ROM disk drive is original equipment on the
E=Machines etower 556i2 compters, and possibly many other models.

DMA should not be performed on this CDROM model, therefore I submit
the drive_blacklist[] request.

I had given up on upgrading Linux on this platform until the fix was
found
and tested. The fix works with all Linux 2.4.21 through 2.4.32 versions

of stable kernels.

Sincerely,
Steven J. Hathaway
<shathawa@xxxxxxx>



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