Comment 45 for bug 207137

Revision history for this message
Justin Lee (cf9404) wrote :

I've tried to debug cd2iso's source code. It seems that the ReadFile() always fails and spits out an error code 23 (CRC error) when read any of the last two sectors (or the last 4096 bytes) of my Xubuntu-8.10 (bug #306151) and Ubuntu-8.04 CDs. Then, I found an article <http://support.microsoft.com/kb/138434/en> which use almost the same way as cd2iso to retrive data from CD. However, there is a difference from cd2iso when you read "... the buffers used for the reads must be aligned on addresses that fall on sector boundaries ... An easy way to guarantee the that the buffer will start on a multiple of 2048 is to allocate it with VirtualAlloc ..." in the article. Tried to follow the article's instruction by modifying cd2iso's code...but it turns out to fail with the same problem again. After that, I started to suspect whether the CDs other than *ubuntu have the similar problem? ...yes, I did find a WinXP CD-R that makes the ReadFile() fails at the last two sectors, too. But, interestingly the error code this time becomes 87 (invalid parameter) rather than 23....

I believe there should be some way else to create iso images coz I can use Nero to create iso with respect to problematic CDs. And this bug may be too tough to be solved to me. But It seems not to be a critical problem for wubi as Hampus and Agostino probably have found the workaround for the issue as I can see from the previous discussion. Just wait for future releases at the moment.