dd_hint

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Re: dd sends error at the end of a read of a SCSI -CD
From: jwalsh <jwalsh@adsl-78-160-122.gnv.bellsouth.net>
Date: Thu, 4 Nov 1999 13:44:40 -0500 (EST)



On Thu, 4 Nov 1999, johnsj20 wrote:

> Hello,
> I have been having a problem making iso images with dd on my cdroms.  I get 
> an i/o error at the end of the cd.  The cd iso file sizes seem to be 
> correct but the errors worry me a bit.  I tried dd with multiple cds and on 
> both cdrom drives.  I have a techram dc-390u2w card and I have a u2 ibm 
> drive, teac CD-R55S, teac CD-ROM CD-532S, and an external iomega zip 
> 100.  I am running linux Mandrake 6.1 on an Abit Bp6 with dual 400mhz Cpus.
> 
> Card Connectors:
> u2w--|		(ID0)u2 IBM  ---> {external adapter} (ID6)External Zip  ---> 
> Terminator|
> 
> uw----|		(ID2)CD-ROM CD-532S   ---->   (ID4)CD-R55S ----> terminator|
> 
> 
> CD-R55S
> ---------------------
> [root@500smp /root]# dd if=/dev/scd1 of=mandrake.iso
> SCSI CD error : host 0 id 4 lun 0 return code = 28000002
> Info fld=0x4c5c9, Current sr0b:01: sense key Blank Check
> CD-ROM I/O error: dev 0b:01, sector 1251108
> dd: /dev/scd1: Input/output error
> 1251108+0 records in
> 1251108+0 records out
> SCSI CD error : host 0 id 4 lun 0 return code = 28000002
> Info fld=0x4c5ca, Current sr0b:01: sense key Blank Check
> CD-ROM I/O error: dev 0b:01, sector 1251112
> 
> 
> CD-ROM CD-532S
> ---------------------
> [root@500smp /root]# dd if=/dev/scd0 of=scd0.iso
> scsi0: MEDIUM ERROR on channel 0, id 2, lun 0, CDB: Read (10) 00 00 04 66 d1 00
> 00 02 00
> Info fld=0x466d1, Current sr0b:00: sense key Medium Error
> Additional sense indicates Unrecovered read error
> CD-ROM I/O error: dev 0b:00, sector 1153860
> dd: /dev/scd0: Input/output error
> 1153860+0 records in
> 1153860+0 records out
> scsi0: MEDIUM ERROR on channel 0, id 2, lun 0, CDB: Read (10) 00 00 04 66 d2 00
> 00 01 00
> Info fld=0x466d2, Current sr0b:00: sense key Medium Error
> Additional sense indicates Unrecovered read error
> CD-ROM I/O error: dev 0b:00, sector 1153864
> 
> 
> Any suggestions would be helpfull!

try specifying the number of blocks and
the block size. This will tell dd when to stop specifically.
You are probably running past the EOF.
J.

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu