>From: [EMAIL PROTECTED] (Tom Crane) >Dear All, > I have the following problem with readcd: Using the command,
>$ readcd -vv dev=0,0,0 -f /tmp/test2.raw >scsidev: '0,0,0' >scsibus: 0 target: 0 lun: 0 >Linux sg driver version: 3.1.24 >readcd: Warning: controller returns wrong size for CD capabilities page. >readcd: Warning: controller returns wrong size for CD capabilities page. >Capacity: 181489 Blocks = 416857 kBytes = 407 MBytes = 426 prMB >Sectorsize: 2352 Bytes >Copy from SCSI (0,0,0) disk to file '/tmp/test2.raw' >end: 181489 >addr: 181489 cnt: 411 >Time total: 593.027sec >Read 416857.55 kB at 702.9 kB/sec. >generates the file, >-rw-r--r-- 1 root users 426862128 Oct 30 20:10 test2.raw >However, the image is corrupt. The source CD (actually a CDR) is OK and >repeated applications of readcd give the same written image. However, using dd >to dump the source CD completes without error and gives, >-rw-r--r-- 1 root root 371689472 Oct 30 19:51 test.raw >This image is good, mounting it together with the source CD and doing 'diff -r' >on the two FSs gives no difference. >The CDROM drive is an AOPEN 56 speed device, as follows, >Abstract File id: >Bibliographic File id: >Volume set size is: 1 >Volume set seqence number is: 1 > ^^^^^^^---------------- Note to Jorg: You have a trivial typo here Thank you. >Ps. System is Linux-2.4.19. >Ps2. Since doing the above tests. I have tried a couple more tests:- >(1) Reading another CD (a 'proper' factory pressed one this time). Again readcd >gives a significantly larger file containing a corrupt image. >(2) Using the machine's other drive (a Plextor CDwriter) gives identical and >non corrupt images via both dd and readcd. Is the answer probably bad AOpen >firmware? :-(. If so, is there a workaround? I'd rather not have to change the >frontend my users use (KOnCD), to use dd. In any case this is nasty, if it >were to be tried on a multi session CD... So you found the reason: corrupt firmware in the drive. Try ti get fixed fw from the manufacturer. Jörg EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) If you don't have iso-8859-1 [EMAIL PROTECTED] (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]