[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using dd to verify a dvd and avoid the readahead bug.



"j t" <mark473@gmail.com> wrote:

> Now I have started getting read errors close to the lead-out, so I
> append 150 2k blocks to the end of the iso file using:
>
> # dd if=/dev/zero bs=2048 count=150 >> myDVD.iso
>
> and I even disable readahead using hdparm:
> # hdparm -a 0 /dev/hdc
>
> But I still get read errors around near the end of the dvd:
> # dd if=/dev/hdc bs=2048 count=2002922 | md5sum
> dd: reading `/dev/hdc': Input/output error
> 1938744+0 records in
> 1938744+0 records out

If you like to understand the reason for this error you need to use 
"readcd". This is the only way to get qualified error messages for the 
block.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



Reply to: