Bug 3362 - IDE CD-ROM does not correctly handle the end of media for some CD-R/CD-RW
Summary: IDE CD-ROM does not correctly handle the end of media for some CD-R/CD-RW
Status: CLOSED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: IDE (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Bartlomiej Zolnierkiewicz
URL:
Keywords:
: 3755 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-08 07:08 UTC by Alan
Modified: 2006-12-01 12:26 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.9rc1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Alan 2004-09-08 07:08:04 UTC
According to the SCSI specification the capacity of a CD-R/RW is "undefined" to
the tune of 75 sectors (150K).  A medium error can arise as a result and
functions like

cp /dev/hdc foo.iso

don't give valid complete results (the end of the ISO may go away) due to
readahead causing errors within thr 75 sector uncertainty. This works correctly
with ide-scsi as sr.c knows how to handle the variability (it trims the volume
size and retries) but fails with ide-cd. Its one of only two things I've found
preventing ide-cd being used for all CD devices.
Comment 1 Bartlomiej Zolnierkiewicz 2005-02-08 15:44:08 UTC
*** Bug 3755 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.