From: Daniel E. <dan...@gm...> - 2002-05-26 15:42:19
|
Am Sonntag, 26. Mai 2002 11:01 schrieb Andreas Mueller: > Ok, then try the following (hoping you can compile cdrdao yourself): > > Edit the file "dao/GenericMMC.cc" and look for the function > 'GenericMMC::finishDao()'. Here you will find the following > code: > > while ((ret =3D testUnitReady(0)) =3D=3D 2) > mSleep(2000); > > My guess is that the cdrdao hangs at this point. Please replace > the lines by the following code so that I can see what the drive > is reporting: > > while ((ret =3D testUnitReady(0)) =3D=3D 2) { > scsiIf_->printError(); > mSleep(2000); > } > > Please send me the output if any. > > If you see that this loop really hangs then just remove it and > try another run > > BTW: Do you really have to perform a real write run to produce > the problem or does a simulate run show the same effect? > > Regards, > Andreas Hi Andreas! I'm not a developer, but compiling is part of my job at work :) I had to use the stable tree, because the actual cvs code didn't compile = for=20 me and I have thrown away the older one :( But it worked with the stable tree, too. You guessed very right! This is the loop that hangs. With your changes in= the=20 code, after burning it gives the output: ?: Input/output error. : scsi sendcmd: no error CDB: 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 08 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x04 Qual 0x08 (logical unit not ready, long write in progres= s)=20 Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.001s timeout 180s again and again and again :)) I could reproduce it by simulating the burn process, too. After deleting this loop, the burn process works fine. Well, there is the= =20 warning message I expected after deleting the loop. Writing track 01 (mode AUDIO/AUDIO)... Wrote 55 of 55 MB (Buffer 100%). Wrote 24636 blocks. Buffer fill min 93%/max 100%. WARNING: TEST UNIT READY failed after recording. Flushing cache... Writing finished successfully. Okay, do you need more details now to fix this loop? And of course: Thanks alot! Greets, Daniel |