<html><body>
<p>On an openSuse 11.1 Linux system, I am running into a problem with readom not unable to read the last sector on an image created by wodim. <br>
Would I be running into the Linux read-ahead bugs in their filesystem I/O? Or does<br>
readom expect some "pad" to be added by the CD writer and is not able to find it?<br>
<br>
Even though I get an error from readom, I am able to mount the output created by readom and view all the files.<br>
<br>
Any tips to resolve this error greatly appreciated.<br>
<br>
Details of the commands I ran are below:<br>
<br>
# genisoimage -o janani.iso /opt/deploy<br>
I: -input-charset not specified, using utf-8 (detected in locale settings)<br>
...<br>
98.22% done, estimate finish Wed Jul 29 12:18:43 2009<br>
Total translation table size: 0<br>
Total rockridge attributes bytes: 0<br>
Total directory bytes: 12288<br>
Path table size(bytes): 90<br>
Max brk space used 0<br>
249448 extents written (487 MB)<br>
<br>
<br>
# wodim dev=/dev/scd0 janani.iso speed=1<br>
wodim: No write mode specified.<br>
wodim: Asuming -tao mode.<br>
wodim: Future versions of wodim may have different drive dependent defaults.<br>
Device type : Removable CD-ROM<br>
Version : 5<br>
Response Format: 2<br>
Capabilities :<br>
Vendor_info : 'TSSTcorp'<br>
Identification : 'CDW/DVD TS-H492B'<br>
Revision : 'IB00'<br>
Device seems to be: Generic mmc2 DVD-ROM.<br>
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).<br>
Driver flags : MMC-3 SWABAUDIO BURNFREE<br>
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R<br>
Speed set to 1411 KB/s<br>
Starting to write CD/DVD at speed 8.0 in real TAO mode for single session.<br>
Last chance to quit, starting real write in 0 seconds. Operation starts.<br>
Track 01: Total bytes read/written: 510869504/510869504 (249448 sectors).<br>
<br>
# readom dev=/dev/scd0 f=jananireadom.raw<br>
Read speed: 8467 kB/s (CD 48x, DVD 6x).<br>
Write speed: 8467 kB/s (CD 48x, DVD 6x).<br>
Capacity: 249450 Blocks = 498900 kBytes = 487 MBytes = 510 prMB<br>
Sectorsize: 2048 Bytes<br>
Copy from SCSI (1,0,0) disk to file 'jananireadom.raw'<br>
end: 249450<br>
Errno: 5 (Input/output error), read_g1 scsi sendcmd: no error<br>
CDB: 28 00 00 03 CE 40 00 00 2A 00<br>
status: 0x2 (CHECK CONDITION)<br>
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00<br>
Sense Key: 0x3 Medium Error, Segment 0<br>
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0<br>
Sense flags: Blk 0 (not valid)<br>
cmd finished after 4.755s timeout 40s<br>
readom: Input/output error. Cannot read source disk<br>
readom: Retrying from sector 249408.<br>
.........................................~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~<br>
readom: Input/output error. Error on sector 249448 not corrected. Total of 1 errors.<br>
<br>
Time total: 463.707sec<br>
Read 498816.00 kB at 1075.7 kB/sec.<br>
Max corected retry count was 0 (limited to 128).<br>
The following 1 sector(s) could not be read correctly:<br>
249448<br>
<br>
# mount -o loop jananireadom.raw /mnt<br>
# ls /mnt<br>
configs info loader tools<br>
<br>
# cat /etc/SuSE-release<br>
openSUSE 11.1 (i586)<br>
VERSION = 11.1</body></html>