public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ide-scsi CD-recorder error reading burned disks
@ 2002-12-31 20:51 Guennadi Liakhovetski
  2003-01-01 15:56 ` Bill Davidsen
  2003-01-01 21:59 ` Kasper Dupont
  0 siblings, 2 replies; 6+ messages in thread
From: Guennadi Liakhovetski @ 2002-12-31 20:51 UTC (permalink / raw)
  To: linux-kernel

After burning a CD, when trying to read I am getting the following
behaviour:

~> dd if=/dev/cdr of=/dev/null bs=2048
dd: reading `/dev/cdr': Input/output error
176996+0 records in
176996+0 records out

Whereas, the same disk read on the same drive under the normal ide-driver
works ok:

~> dd if=/dev/hdc of=/dev/null bs=2048
177039+0 records in
177039+0 records out

Other disks can be read on this drive also under ide-scsi ok, as well as
this disk can be read on a SCSI DVD-drive fine. Is it a known behaviour,
or a problem in the drive / driver?

2.4.20, drive is Benq CRW 4012A

Thanks
Guennadi




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ide-scsi CD-recorder error reading burned disks
  2002-12-31 20:51 ide-scsi CD-recorder error reading burned disks Guennadi Liakhovetski
@ 2003-01-01 15:56 ` Bill Davidsen
  2003-01-01 20:37   ` Alan Cox
  2003-01-01 21:59 ` Kasper Dupont
  1 sibling, 1 reply; 6+ messages in thread
From: Bill Davidsen @ 2003-01-01 15:56 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: Linux-Kernel Mailing List

On Tue, 31 Dec 2002, Guennadi Liakhovetski wrote:

This is caused by either the way you burn it, or the inability of cdrecord
to create a CD which doesn't do this. It's related to read-ahead, but I
don't remember the exact detail. In any case, you *may* be able to get rid
of the problem by using -pad in mkisofs, or in cdrecord. 

> After burning a CD, when trying to read I am getting the following
> behaviour:
> 
> ~> dd if=/dev/cdr of=/dev/null bs=2048
> dd: reading `/dev/cdr': Input/output error
> 176996+0 records in
> 176996+0 records out
> 
> Whereas, the same disk read on the same drive under the normal ide-driver
> works ok:
> 
> ~> dd if=/dev/hdc of=/dev/null bs=2048
> 177039+0 records in
> 177039+0 records out
> 
> Other disks can be read on this drive also under ide-scsi ok, as well as
> this disk can be read on a SCSI DVD-drive fine. Is it a known behaviour,
> or a problem in the drive / driver?
> 
> 2.4.20, drive is Benq CRW 4012A

I would say a known behaviour, but one which is only triggered by certain
CDs. Not all CDs (in my experience) do this.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ide-scsi CD-recorder error reading burned disks
  2003-01-01 15:56 ` Bill Davidsen
@ 2003-01-01 20:37   ` Alan Cox
  2003-01-01 22:55     ` Guennadi Liakhovetski
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2003-01-01 20:37 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Guennadi Liakhovetski, Linux Kernel Mailing List

On Wed, 2003-01-01 at 15:56, Bill Davidsen wrote:
> On Tue, 31 Dec 2002, Guennadi Liakhovetski wrote:
> 
> This is caused by either the way you burn it, or the inability of cdrecord
> to create a CD which doesn't do this. It's related to read-ahead, but I
> don't remember the exact detail. In any case, you *may* be able to get rid
> of the problem by using -pad in mkisofs, or in cdrecord. 

Sounds like a scsi error handling funny more than anything else. The end
of disk case for cd-r/cd-rw burned disks are a bit fuzzier than normal
disks. The ide-cd layer knows about this.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ide-scsi CD-recorder error reading burned disks
  2002-12-31 20:51 ide-scsi CD-recorder error reading burned disks Guennadi Liakhovetski
  2003-01-01 15:56 ` Bill Davidsen
@ 2003-01-01 21:59 ` Kasper Dupont
  1 sibling, 0 replies; 6+ messages in thread
From: Kasper Dupont @ 2003-01-01 21:59 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-kernel

Guennadi Liakhovetski wrote:
> 
> After burning a CD, when trying to read I am getting the following
> behaviour:
> 
> ~> dd if=/dev/cdr of=/dev/null bs=2048
> dd: reading `/dev/cdr': Input/output error
> 176996+0 records in
> 176996+0 records out

I have seen similar problems before I started using the -dao option for
cdrecord.

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:aaarep@daimi.au.dk
for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ide-scsi CD-recorder error reading burned disks
  2003-01-01 20:37   ` Alan Cox
@ 2003-01-01 22:55     ` Guennadi Liakhovetski
  2003-01-02  8:17       ` Markus Plail
  0 siblings, 1 reply; 6+ messages in thread
From: Guennadi Liakhovetski @ 2003-01-01 22:55 UTC (permalink / raw)
  To: Alan Cox; +Cc: Bill Davidsen, Guennadi Liakhovetski, Linux Kernel Mailing List

> > This is caused by either the way you burn it, or the inability of cdrecord
> > to create a CD which doesn't do this. It's related to read-ahead, but I
> > don't remember the exact detail. In any case, you *may* be able to get rid
> > of the problem by using -pad in mkisofs, or in cdrecord.

I used -isosize (copying from another CD), which has an effect similar to
-pad. Just tried with -pad - same. -dao, as suggested by Kasper Dupont
<kasperd@daimi.au.dk>, doesn't help either. On the contrary, the latter
makes the error appear in all 3 reads - ide-scsi, ide, scsi (I used it
together with -isosize). Also strange, the number of blocks read by dd
bs=2048 on ide and scsi from the same disk differ...

> Sounds like a scsi error handling funny more than anything else. The end
> of disk case for cd-r/cd-rw burned disks are a bit fuzzier than normal
> disks. The ide-cd layer knows about this.

But, as I described, a native SCSI-CD/DVD-drive reads this disk without
problems.

Thanks
---
Guennadi Liakhovetski




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ide-scsi CD-recorder error reading burned disks
  2003-01-01 22:55     ` Guennadi Liakhovetski
@ 2003-01-02  8:17       ` Markus Plail
  0 siblings, 0 replies; 6+ messages in thread
From: Markus Plail @ 2003-01-02  8:17 UTC (permalink / raw)
  To: linux-kernel

* Guennadi Liakhovetski writes:
>I used -isosize (copying from another CD), which has an effect similar
>to -pad. Just tried with -pad - same. -dao, as suggested by Kasper
>Dupont <kasperd@daimi.au.dk>, doesn't help either. On the contrary, the
>latter makes the error appear in all 3 reads - ide-scsi, ide, scsi (I
>used it together with -isosize). Also strange, the number of blocks
>read by dd bs=2048 on ide and scsi from the same disk differ...

Try -raw. Some drives (e.g. my acer 2010A) have - according to Joerg
Schilling - broken firmwares, that have problems in SAO mode.

regards
Markus


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-02  8:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-31 20:51 ide-scsi CD-recorder error reading burned disks Guennadi Liakhovetski
2003-01-01 15:56 ` Bill Davidsen
2003-01-01 20:37   ` Alan Cox
2003-01-01 22:55     ` Guennadi Liakhovetski
2003-01-02  8:17       ` Markus Plail
2003-01-01 21:59 ` Kasper Dupont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox