2.4.19 ATAPI cdrom I/O errors when reading CD-R

From: Benjamin Geer (ben@beroul.uklinux.net)
Date: Thu Aug 15 2002 - 17:17:29 EST


I'm getting errors with kernel 2.4.19 when reading a data CD-R burnt
under Windows (using Adaptec DirectCD). Kernel 2.2.20 reads the same CD
with no problems, as does Windows XP.

With kernel 2.4.19, the CD mounts, and ls works, but when I try to copy a
file from it, the copy is incomplete, and I get a lot of errors like this:

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 999504

I've tried turning off DMA for the drive (hdparm -d0 /dev/hdc), but this
has no effect.

I've had no problems reading CD-ROMs (including copies of CD-ROMs on CD-R
media) under kernel 2.4.19.

Here's the drive information as reported by the kernel when it boots:

hdc: HL-DT-STCD-RW/DVD-ROM GCC-4240N, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)

The drive is in a Dell Inspiron 4150 laptop.

Benjamin

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



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:40 EST