From: Manuel C. <ll...@ja...> - 2002-06-25 11:37:25
|
Hi all, I got this while trying to duplicate a data CDs. This happens at 99.9%. Gdk-WARNING **: locale not supported by C library Starting: cdrdao copy --simulate --remote 9 -v0 --paranoia-mode 3 --device 0,0,0 --driver generic-mmc:0x0 --buffers 10 ?: Input/output error. : scsi sendcmd: no error CDB: BE 00 00 00 BC B4 00 00 0E F8 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 BC C0 0A 00 00 00 00 06 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0 Sense flags: Blk 48320 (not valid) cmd finished after 0.167s timeout 20s ERROR: Read error while copying data from track. ERROR: Creation of source CD image failed. Andreas, we talked about this a long time ago. It is the option --tao-source and --tao-source-adjust. This should be automatic behaviour. Perhaps you can check if cdrdao is reading the last sectors and handle the error so it does not stops. -- Manuel Clos ll...@ja... * Si no puedes hacerlo bien, hazlo bonito (Bill Gates) * If you can't do it well, do it nice (Bill Gates) |
From: Andreas M. <an...@da...> - 2002-06-30 19:51:04
|
On Tue, 2002-06-25 at 13:39, Manuel Clos wrote: > I got this while trying to duplicate a data CDs. > > This happens at 99.9%. > > Gdk-WARNING **: locale not supported by C library > Starting: cdrdao copy --simulate --remote 9 -v0 --paranoia-mode 3 > --device 0,0,0 --driver generic-mmc:0x0 --buffers 10 > ?: Input/output error. : scsi sendcmd: no error > CDB: BE 00 00 00 BC B4 00 00 0E F8 00 00 > status: 0x2 (CHECK CONDITION) > Sense Bytes: 70 00 03 00 00 BC C0 0A 00 00 00 00 06 00 00 00 > Sense Key: 0x3 Medium Error, Segment 0 > Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0 > Sense flags: Blk 48320 (not valid) > cmd finished after 0.167s timeout 20s > ERROR: Read error while copying data from track. > ERROR: Creation of source CD image failed. > > Andreas, we talked about this a long time ago. It is the option > --tao-source and --tao-source-adjust. This should be automatic > behaviour. Perhaps you can check if cdrdao is reading the last sectors > and handle the error so it does not stops. Ok, I tried to fix that. The track reading function will now treat all errors (except errors indicating an illegal SCSI command) as L-EC errors. So the reading process should not stop anymore - even if the source CD is complete rubbish :) It will still print out error messages for read errors that are not "known" as L-EC error types. Please report them. I'll also still have to add the error code from the error message above. Everything is committed to CVS. Please try it. Regards, Andreas -- Andreas Mueller Tel: +49 89 67808848 Ramsmeierstr. 1 Email: an...@da... 85579 Neubiberg, Germany |
From: Manuel C. <ll...@ja...> - 2002-07-02 23:22:00
|
Andreas Mueller wrote: > Ok, I tried to fix that. The track reading function will now treat all > errors (except errors indicating an illegal SCSI command) as L-EC > errors. So the reading process should not stop anymore - even if the > source CD is complete rubbish :) > It will still print out error messages for read errors that are > not "known" as L-EC error types. Please report them. I'll also still > have to add the error code from the error message above. > > Everything is committed to CVS. Please try it. Hi Andreas, CdrDriver.cc:38: data.h: No such file or directory make[1]: *** [CdrDriver.d] Error 1 make[1]: Leaving directory `/home/llanero/cvs/cdrdao/dao' make: *** [all] Error 1 Also, I have tried again and I can see that the error only happens with my recorder ('YAMAHA ' 'CRW8824E'), with the reader ('ASUS ' 'CD-S500/A') I get a "padding with two zero sectors" or something similar. I'm using the same driver (generic-mmc) with both drives. If you can put the missing data.h file in cvs, I'll try with both drives again. -- Manuel Clos ll...@ja... * Si no puedes hacerlo bien, hazlo bonito (Bill Gates) * If you can't do it well, do it nice (Bill Gates) |
From: Andreas M. <an...@da...> - 2002-07-03 17:41:09
|
Hi Manuel, > CdrDriver.cc:38: data.h: No such file or directory > make[1]: *** [CdrDriver.d] Error 1 > make[1]: Leaving directory `/home/llanero/cvs/cdrdao/dao' > make: *** [all] Error 1 Sorry, as usual I forgot to add the new files. It's done now. > Also, I have tried again and I can see that the error only happens with > my recorder ('YAMAHA ' 'CRW8824E'), with the reader ('ASUS ' > 'CD-S500/A') I get a "padding with two zero sectors" or something > similar. I'm using the same driver (generic-mmc) with both drives. That's because the drives behave differently when they come across unreadable sectors. I hope the new code will treat all drives the same way. Regards, Andreas -- Andreas Mueller Tel: +49 89 67808848 Ramsmeierstr. 1 Email: an...@da... 85579 Neubiberg, Germany |
From: Manuel C. <ll...@ja...> - 2002-07-03 18:45:23
|
Andreas Mueller wrote: > That's because the drives behave differently when they come across > unreadable sectors. I hope the new code will treat all drives the > same way. Hi, I get a "successfully completed" now in gcdmaster. This is what I get in the console: Starting: cdrdao read-cd --remote 9 -v0 --read-raw --device 0,0,0 --driver generic-mmc:0x0 --paranoia-mode 3 --datafile /home/llanero/CDs/test.bin /home/llanero/CDs/test.toc ?: Input/output error. : scsi sendcmd: no error CDB: BE 00 00 00 3E 42 00 00 0F F8 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 3E 4F 0A 00 00 00 00 06 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0 Sense flags: Blk 15951 (not valid) cmd finished after 0.154s timeout 20s ?: Input/output error. : scsi sendcmd: no error CDB: BE 00 00 00 3E 4F 00 00 01 F8 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 3E 4F 0A 00 00 00 00 06 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0 Sense flags: Blk 15951 (not valid) cmd finished after 0.175s timeout 20s WARNING: Found L-EC error at sector 15951 - ignored. ?: Input/output error. : scsi sendcmd: no error CDB: BE 00 00 00 3E 50 00 00 01 F8 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 3E 50 0A 00 00 00 00 06 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0 Sense flags: Blk 15952 (not valid) cmd finished after 0.147s timeout 20s WARNING: Found L-EC error at sector 15952 - ignored. Shoudn't this be a two sectors ignored? -- Manuel Clos ll...@ja... * Si no puedes hacerlo bien, hazlo bonito (Bill Gates) * If you can't do it well, do it nice (Bill Gates) |
From: Andreas M. <an...@da...> - 2002-07-08 18:49:10
|
On Wed, 2002-07-03 at 20:46, Manuel Clos wrote: > Andreas Mueller wrote: > > That's because the drives behave differently when they come across > > unreadable sectors. I hope the new code will treat all drives the > > same way. > > Hi, I get a "successfully completed" now in gcdmaster. > > This is what I get in the console: > > Starting: cdrdao read-cd --remote 9 -v0 --read-raw --device 0,0,0 > --driver generic-mmc:0x0 --paranoia-mode 3 --datafile > /home/llanero/CDs/test.bin /home/llanero/CDs/test.toc > ?: Input/output error. : scsi sendcmd: no error > CDB: BE 00 00 00 3E 42 00 00 0F F8 00 00 > status: 0x2 (CHECK CONDITION) > Sense Bytes: 70 00 03 00 00 3E 4F 0A 00 00 00 00 06 00 00 00 > Sense Key: 0x3 Medium Error, Segment 0 > Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0 > Sense flags: Blk 15951 (not valid) > cmd finished after 0.154s timeout 20s > ?: Input/output error. : scsi sendcmd: no error > CDB: BE 00 00 00 3E 4F 00 00 01 F8 00 00 > status: 0x2 (CHECK CONDITION) > Sense Bytes: 70 00 03 00 00 3E 4F 0A 00 00 00 00 06 00 00 00 > Sense Key: 0x3 Medium Error, Segment 0 > Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0 > Sense flags: Blk 15951 (not valid) > cmd finished after 0.175s timeout 20s > WARNING: Found L-EC error at sector 15951 - ignored. > ?: Input/output error. : scsi sendcmd: no error > CDB: BE 00 00 00 3E 50 00 00 01 F8 00 00 > status: 0x2 (CHECK CONDITION) > Sense Bytes: 70 00 03 00 00 3E 50 0A 00 00 00 00 06 00 00 00 > Sense Key: 0x3 Medium Error, Segment 0 > Sense Code: 0x06 Qual 0x00 (no reference position found) Fru 0x0 > Sense flags: Blk 15952 (not valid) > cmd finished after 0.147s timeout 20s > WARNING: Found L-EC error at sector 15952 - ignored. > > > Shoudn't this be a two sectors ignored? Actually it is. It ignores sector 15951 and 15952. The error message for sector 15951 comes twice because the reading algorithm is in the multi sector read mode when it comes to first erroneous sector. At that point it is not easily possible to determine which sector failed (and I don't want to rely on the sense data). So the algorithm switch to a single step mode until it hits the erroneous sector again (that's the second error message). After a couple of error free reads the algorithm switches back to multi sector read mode. I've added the error code to the list of know errors in GenericMMC.cc. Regards, Andreas -- Andreas Mueller Tel: +49 89 67808848 Ramsmeierstr. 1 Email: an...@da... 85579 Neubiberg, Germany |
From: Manuel C. <ll...@ja...> - 2002-07-15 11:27:41
|
Andreas Mueller wrote: > I've added the error code to the list of know errors in GenericMMC.cc. Great, now I only see the sectors ignored. Starting: cdrdao read-cd --remote 8 -v0 --read-raw --device 0,0,0 --driver generic-mmc:0x0 --paranoia-mode 3 --datafile /home/llanero/CDs/kk.bin /home/llanero/CDs/kk.toc WARNING: Found L-EC error at sector 48320 - ignored. WARNING: Found L-EC error at sector 48321 - ignored. -- Manuel Clos ll...@ja... TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398 TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html |