[Debburn-devel] readom error reading last sector on image created by wodim

Janani Janakiraman janani at us.ibm.com
Wed Jul 29 18:17:02 UTC 2009


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.
Would I be running into the Linux read-ahead bugs in their filesystem I/O?
Or does
readom expect some "pad" to be added by the CD writer and is not able to
find it?

 Even though I get an error from readom, I am able to mount the output
created by readom and view all the files.

Any tips to resolve this error greatly appreciated.

Details of the commands I ran are below:

 # genisoimage -o janani.iso /opt/deploy
I: -input-charset not specified, using utf-8 (detected in locale settings)
...
 98.22% done, estimate finish Wed Jul 29 12:18:43 2009
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 12288
Path table size(bytes): 90
Max brk space used 0
249448 extents written (487 MB)


 # wodim dev=/dev/scd0 janani.iso speed=1
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent
defaults.
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'TSSTcorp'
Identification : 'CDW/DVD TS-H492B'
Revision       : 'IB00'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Speed set to 1411 KB/s
Starting to write CD/DVD at speed   8.0 in real TAO mode for single
session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Track 01: Total bytes read/written: 510869504/510869504 (249448 sectors).

 # readom dev=/dev/scd0 f=jananireadom.raw
Read  speed:  8467 kB/s (CD  48x, DVD  6x).
Write speed:  8467 kB/s (CD  48x, DVD  6x).
Capacity: 249450 Blocks = 498900 kBytes = 487 MBytes = 510 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (1,0,0) disk to file 'jananireadom.raw'
end:    249450
Errno: 5 (Input/output error), read_g1 scsi sendcmd: no error
CDB:  28 00 00 03 CE 40 00 00 2A 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 11 05 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x11 Qual 0x05 (l-ec uncorrectable error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 4.755s timeout 40s
readom: Input/output error. Cannot read source disk
readom: Retrying from sector 249408.
.........................................~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~
+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~
+~~~-~~~+~~~-~~~
readom: Input/output error. Error on sector 249448 not corrected. Total of
1 errors.

Time total: 463.707sec
Read 498816.00 kB at 1075.7 kB/sec.
Max corected retry count was 0 (limited to 128).
The following 1 sector(s) could not be read correctly:
249448

 # mount -o loop jananireadom.raw /mnt
# ls /mnt
configs  info  loader  tools

 # cat /etc/SuSE-release
openSUSE 11.1 (i586)
VERSION = 11.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debburn-devel/attachments/20090729/fe563b41/attachment.htm>


More information about the Debburn-devel mailing list