ChangeSet@1.1317, 2003-08-22 18:29:33-07:00, andersen@codepoet.org [PATCH] Fix cdrom error handling in 2.6 In both 2.4 and in 2.6, error handling for bad cdrom media is wrong. And it is my fault I'm afraid, since I botched an earlier fix for the problem by putting the fix in the wrong spot. My kids have a "Jumpstart Toddlers" cd they have long since completely killed, which makes a great test disc. Without this fix, the best time projection I can get for completing a dd type sector copy is about 2 years... Most of that is spent thrashing about in kernel space trying to re-read sectors we already know are not correctable.... After the fix, I was able to rip a copy the CD (or rather muddle through it getting lots of EIO errors) in about 15 minutes. Attached is the fix for 2.6.x, ChangeSet@1.1316, 2003-08-22 16:38:56-07:00, torvalds@home.osdl.org Linux 2.6.0-test4 TAG: v2.6.0-test4