Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

cdrecord fails to burn dvd

 

 

First page Previous page 1 2 Next page Last page  View All Gentoo user RSS feed   Index | Next | Previous | View Threaded


j.romildo at gmail

Nov 8, 2009, 7:40 AM

Post #1 of 28 (587 views)
Permalink
cdrecord fails to burn dvd

Hello.

Burning dvds with Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 on my Dell
Vostro 1510 notebook is always failing.

The device is identified as TEAC DVD+-RW DVW28SLC and can write at 8x
speed.

The process starts and reports writing at 14.5x, but the media is not
burnt. cdrecord reaches but does not finish the fixation stage. It
reports an average write speed of 14.3x. When I manage to stop the
process (by rebooting the computer), I see the media has not been burnt
and it is not ruined. It can be reused.

With cdrkit, cdrecord finishes (after using different speeds, as 2x, 1x,
4x, 6x e 20x), but when reading the disc an input/output error is
reported.

With Nero Linux I can burn dvd discs without problems, though.

When I bought this notebook in january and first installed gentoo,
cdrecord used to work. Then at some point ago (probably after some
update) it has stopped working with the behaviour I have described
above. But by then I did not have the time to investigate, and keep
using only Nero, which continues to work well. Today I decided to
investigate a little more the problem, but could not reach to any
conclusions.

Any clues?

Romildo


Joerg.Schilling at fokus

Nov 8, 2009, 8:35 AM

Post #2 of 28 (565 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

> Hello.
>
> Burning dvds with Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 on my Dell
> Vostro 1510 notebook is always failing.
>
> The device is identified as TEAC DVD+-RW DVW28SLC and can write at 8x
> speed.
>
> The process starts and reports writing at 14.5x, but the media is not
> burnt. cdrecord reaches but does not finish the fixation stage. It
> reports an average write speed of 14.3x. When I manage to stop the
> process (by rebooting the computer), I see the media has not been burnt
> and it is not ruined. It can be reused.
>
> With cdrkit, cdrecord finishes (after using different speeds, as 2x, 1x,
> 4x, 6x e 20x), but when reading the disc an input/output error is
> reported.

wodim is known for not being able to support DVDs.

If you like to get help with cdrecord, I recommend you to first send information
and log files about your problem.

I need the following:

The version number of cdrecord that caused the bug.
The command line that was used for the failing command.
The complete output (including error messages) from 'cdrecord -v ...' (use
"script" to fetch the output)
Probably the important part of the 'cdrecord -V' output if we agreed on it
The OS name, release and hardware (processor)
Special conditions of your environment (libc vers. SCSI transport ...)
Sufficient information on the media used. This is at least the ATIP data, a
note to CD-R/CD-RW and information on the state and the case history of this
media.

If cdrecord reports a higher speed than possible, I would guess that the Linux
kernel does not set up DMA correctly.

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


j.romildo at gmail

Nov 8, 2009, 5:23 PM

Post #3 of 28 (563 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Sun, Nov 08, 2009 at 05:35:50PM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
> > Hello.
> >
> > Burning dvds with Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 on my Dell
> > Vostro 1510 notebook is always failing.
> >
> > The device is identified as TEAC DVD+-RW DVW28SLC and can write at 8x
> > speed.
> >
> > The process starts and reports writing at 14.5x, but the media is not
> > burnt. cdrecord reaches but does not finish the fixation stage. It
> > reports an average write speed of 14.3x. When I manage to stop the
> > process (by rebooting the computer), I see the media has not been burnt
> > and it is not ruined. It can be reused.
> >
> > With cdrkit, cdrecord finishes (after using different speeds, as 2x, 1x,
> > 4x, 6x e 20x), but when reading the disc an input/output error is
> > reported.
>
> wodim is known for not being able to support DVDs.
>
> If you like to get help with cdrecord, I recommend you to first send
> information and log files about your problem.
>
> I need the following:
>
> The version number of cdrecord that caused the bug.
> The command line that was used for the failing command.
> The complete output (including error messages) from 'cdrecord -v ...' (use
> "script" to fetch the output)
> Probably the important part of the 'cdrecord -V' output if we agreed on it
> The OS name, release and hardware (processor)
> Special conditions of your environment (libc vers. SCSI transport ...)
> Sufficient information on the media used. This is at least the ATIP
> data, a note to CD-R/CD-RW and information on the state and the case
> history of this media.
>
> If cdrecord reports a higher speed than possible, I would guess that
> the Linux kernel does not set up DMA correctly.
>
> Jörg

Most of the requested information can be found in the attached log file.

I do not know how to get the ATIP data on the media used. But I can say
that I have recently used more than 200 discs of this brand (Kodak) and
it has shown very reliable. cdrecord has no problems with it on my
desktop computer. The problem happens just in my notebook. Therefore it
suggests the problem is not with the media.

If you need any more information, just ask.

Romildo
Attachments: cdrecord.txt (4.31 KB)


j.romildo at gmail

Nov 8, 2009, 11:59 PM

Post #4 of 28 (563 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Sun, Nov 08, 2009 at 11:23:50PM -0200, José Romildo Malaquias wrote:
> On Sun, Nov 08, 2009 at 05:35:50PM +0100, Joerg Schilling wrote:
> > José Romildo Malaquias <j.romildo [at] gmail> wrote:
[...]
> > > Burning dvds with Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 on my Dell
> > > Vostro 1510 notebook is always failing.
[...]
> > I need the following:
[...]
> > Sufficient information on the media used. This is at least the ATIP
> > data, a note to CD-R/CD-RW and information on the state and the case
> > history of this media.
[...]
> I do not know how to get the ATIP data on the media used. But I can say
> that I have recently used more than 200 discs of this brand (Kodak) and
> it has shown very reliable. cdrecord has no problems with it on my
> desktop computer. The problem happens just in my notebook. Therefore it
> suggests the problem is not with the media.

Attached is information related to the ATIP of the media, get with
cdrecod and dvd+rw-mediainfo.

Romildo
Attachments: cdrecord1.log (3.13 KB)


Joerg.Schilling at fokus

Nov 9, 2009, 1:11 AM

Post #5 of 28 (564 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:


> Most of the requested information can be found in the attached log file.
>
> I do not know how to get the ATIP data on the media used. But I can say

Call cdrecord -atip

For the medium state, I would need the output from cdrecord -minfo
before and after you tries to burn.


> that I have recently used more than 200 discs of this brand (Kodak) and
> it has shown very reliable. cdrecord has no problems with it on my
> desktop computer. The problem happens just in my notebook. Therefore it
> suggests the problem is not with the media.

Did you ever write a DVD-R with this hardware?

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


j.romildo at gmail

Nov 9, 2009, 3:36 AM

Post #6 of 28 (562 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Mon, Nov 09, 2009 at 10:11:40AM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
>
> > Most of the requested information can be found in the attached log file.
> >
> > I do not know how to get the ATIP data on the media used. But I can say
>
> Call cdrecord -atip

By searching the cdrecord man page I have found it. Thanks anyway.

> For the medium state, I would need the output from cdrecord -minfo
> before and after you tries to burn.
>
>
> > that I have recently used more than 200 discs of this brand (Kodak) and
> > it has shown very reliable. cdrecord has no problems with it on my
> > desktop computer. The problem happens just in my notebook. Therefore it
> > suggests the problem is not with the media.
>
> Did you ever write a DVD-R with this hardware?

Yes I have written some DVD-R discs with this hardware. When I bought
the notebook and installed gentoo in last January, burning with cdrecord
(from cdrtools) used to work. Sometime later (about one month, but I am
not sure) it stopped working. Probably after some upgrade. I do not
remeber exactly. By then I could not look at the problem because of lack
of time. Since then I have been using Nero Linux for recording DVD-R
discs without problems.

Some information I have sent in previous messages may not be accurate
enough because I have forgotten to change the media to a new unused
one. So I am attaching a new file with the output of some requested
commands.

Romildo
Attachments: cdrecord2.log (9.11 KB)


Joerg.Schilling at fokus

Nov 10, 2009, 8:33 AM

Post #7 of 28 (561 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

> > Did you ever write a DVD-R with this hardware?
>
> Yes I have written some DVD-R discs with this hardware. When I bought
> the notebook and installed gentoo in last January, burning with cdrecord
> (from cdrtools) used to work. Sometime later (about one month, but I am
> not sure) it stopped working. Probably after some upgrade. I do not
> remeber exactly. By then I could not look at the problem because of lack
> of time. Since then I have been using Nero Linux for recording DVD-R
> discs without problems.
>
> Some information I have sent in previous messages may not be accurate
> enough because I have forgotten to change the media to a new unused
> one. So I am attaching a new file with the output of some requested
> commands.

With the messages you send, it cannot be cdrecord but either your drive
or the Linux kernel.

One interesting point is that cdrecord is unable to do a DMA speed test.
THis may have different reasons and without knowing the reason, I cannot
say more...

You may try to call cdrecord -v -checkdrive -V

and have a look at the SCSI read buffer command.

You also may try to reduce the transfer size to 16 kb by adding "ts=16k"
to the command line in hope that it is a driver bug that goes away with smaller
transfer sizes.



Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


j.romildo at gmail

Nov 11, 2009, 1:43 AM

Post #8 of 28 (561 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Tue, Nov 10, 2009 at 05:33:46PM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
> > > Did you ever write a DVD-R with this hardware?
> >
> > Yes I have written some DVD-R discs with this hardware. When I bought
> > the notebook and installed gentoo in last January, burning with cdrecord
> > (from cdrtools) used to work. Sometime later (about one month, but I am
> > not sure) it stopped working. Probably after some upgrade. I do not
> > remeber exactly. By then I could not look at the problem because of lack
> > of time. Since then I have been using Nero Linux for recording DVD-R
> > discs without problems.
> >
> > Some information I have sent in previous messages may not be accurate
> > enough because I have forgotten to change the media to a new unused
> > one. So I am attaching a new file with the output of some requested
> > commands.
>
> With the messages you send, it cannot be cdrecord but either your drive
> or the Linux kernel.
>
> One interesting point is that cdrecord is unable to do a DMA speed test.
> THis may have different reasons and without knowing the reason, I cannot
> say more...
>
> You may try to call cdrecord -v -checkdrive -V
>
> and have a look at the SCSI read buffer command.

Unfortanatly I do not know how to deal with the output of the above
command. So I am attaching it here (cdrecord0.log) and maybe someaone
can find anything unexpected in it.

> You also may try to reduce the transfer size to 16 kb by adding
> "ts=16k" to the command line in hope that it is a driver bug that goes
> away with smaller transfer sizes.

With "ts=16k" the speed is around 2.4x, but the disc is still not burn
at the end. This time there was more problems, though. See the output of
the command

script -f -c "cdrecord -v -sao -eject -ts=16 speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log

in the attached cdrecor.log file.

This time glibc detected a cdrecord double free or corruption error.

Romildo
Attachments: cdrecord0.log (56.3 KB)
  cdrecord.log (280 KB)


Joerg.Schilling at fokus

Nov 11, 2009, 9:03 AM

Post #9 of 28 (558 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

> > You may try to call cdrecord -v -checkdrive -V
> >
> > and have a look at the SCSI read buffer command.
>
> Unfortanatly I do not know how to deal with the output of the above
> command. So I am attaching it here (cdrecord0.log) and maybe someaone
> can find anything unexpected in it.
>

OK, the drive does not support the read buffer command, this is why cdrecord
cannot do a DMA speed test.

But you have a massive problem in the linux kernel that needs to be
investigated. The test unit ready command _cannot_ return a "fatal"
SCSI transport error as long as there is a drive connected.

Please start with running the "scgcheck" command to get some informations
on the compliance problems in your linux kernel.


Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


j.romildo at gmail

Nov 11, 2009, 11:16 AM

Post #10 of 28 (558 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Wed, Nov 11, 2009 at 06:03:39PM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
[...]
> OK, the drive does not support the read buffer command, this is why cdrecord
> cannot do a DMA speed test.
>
> But you have a massive problem in the linux kernel that needs to be
> investigated. The test unit ready command _cannot_ return a "fatal"
> SCSI transport error as long as there is a drive connected.
>
> Please start with running the "scgcheck" command to get some informations
> on the compliance problems in your linux kernel.

The output of scgcheck is attached to this message.

Romildo
Attachments: scgcheck.log (3.55 KB)


Joerg.Schilling at fokus

Nov 16, 2009, 6:43 AM

Post #11 of 28 (554 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

To find the reason for the following "Impossible" because
illegal error situation:

Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
CDB: 00 00 00 00 00 00
cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
CDB: 00 00 00 00 00 00
cmd finished after 0.000s timeout 40s


please run the command again and add debug=2 to the list of options.

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


j.romildo at gmail

Nov 18, 2009, 7:56 AM

Post #12 of 28 (536 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Mon, Nov 16, 2009 at 03:43:12PM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
> To find the reason for the following "Impossible" because
> illegal error situation:
>
> Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
> CDB: 00 00 00 00 00 00
> cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
> CDB: 00 00 00 00 00 00
> cmd finished after 0.000s timeout 40s
>
>
> please run the command again and add debug=2 to the list of options.

I am attaching the compressed output of the command:

script -f -c "cdrecord -v debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log

Romildo
Attachments: cdrecord.log.bz2 (18.0 KB)


Joerg.Schilling at fokus

Nov 19, 2009, 3:33 AM

Post #13 of 28 (535 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

> On Mon, Nov 16, 2009 at 03:43:12PM +0100, Joerg Schilling wrote:
> > José Romildo Malaquias <j.romildo [at] gmail> wrote:
> >
> > To find the reason for the following "Impossible" because
> > illegal error situation:
> >
> > Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
> > CDB: 00 00 00 00 00 00
> > cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
> > CDB: 00 00 00 00 00 00
> > cmd finished after 0.000s timeout 40s
> >
> >
> > please run the command again and add debug=2 to the list of options.
>
> I am attaching the compressed output of the command:
>
> script -f -c "cdrecord -v debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log

I cannot see any problem like the problem above.

BTW: this may be caused by the fact that you did not simply add debug=2
but at the same time removed -V.

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


j.romildo at gmail

Nov 20, 2009, 3:33 AM

Post #14 of 28 (535 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Thu, Nov 19, 2009 at 12:33:40PM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
> > On Mon, Nov 16, 2009 at 03:43:12PM +0100, Joerg Schilling wrote:
> > > José Romildo Malaquias <j.romildo [at] gmail> wrote:
> > >
> > > To find the reason for the following "Impossible" because
> > > illegal error situation:
> > >
> > > Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
> > > CDB: 00 00 00 00 00 00
> > > cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
> > > CDB: 00 00 00 00 00 00
> > > cmd finished after 0.000s timeout 40s
> > >
> > >
> > > please run the command again and add debug=2 to the list of options.
> >
> > I am attaching the compressed output of the command:
> >
> > script -f -c "cdrecord -v debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log
>
> I cannot see any problem like the problem above.
>
> BTW: this may be caused by the fact that you did not simply add debug=2
> but at the same time removed -V.

I have run the cdrecord command again, this time passing "-V" and "debug=2":

$ script -f -c "cdrecord -vvv -V debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log

and the compressed log is attached.

I hope you can find anything useful to understand what is happening.

Romildo
Attachments: cdrecord.log.bz2 (137 KB)


Joerg.Schilling at fokus

Nov 20, 2009, 4:36 AM

Post #15 of 28 (535 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

> > BTW: this may be caused by the fact that you did not simply add debug=2
> > but at the same time removed -V.
>
> I have run the cdrecord command again, this time passing "-V" and "debug=2":
>
> $ script -f -c "cdrecord -vvv -V debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log
>
> and the compressed log is attached.
>
> I hope you can find anything useful to understand what is happening.

I'll look at this later. Could you meanwhile do a test without -V please?

There was a report for broken Pioneer formware that hits in -v mode and
causes the firmware from the drive to through away the data before writing
it to the medium.

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


j.romildo at gmail

Nov 20, 2009, 5:08 AM

Post #16 of 28 (536 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Fri, Nov 20, 2009 at 01:36:27PM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
> > > BTW: this may be caused by the fact that you did not simply add debug=2
> > > but at the same time removed -V.
> >
> > I have run the cdrecord command again, this time passing "-V" and "debug=2":
> >
> > $ script -f -c "cdrecord -vvv -V debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log
> >
> > and the compressed log is attached.
> >
> > I hope you can find anything useful to understand what is happening.
>
> I'll look at this later. Could you meanwhile do a test without -V please?
>
> There was a report for broken Pioneer formware that hits in -v mode and
> causes the firmware from the drive to through away the data before writing
> it to the medium.

Do you mean a test without -V or -v ?

Romildo


Joerg.Schilling at fokus

Nov 20, 2009, 5:31 AM

Post #17 of 28 (535 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

Joerg.Schilling [at] fokus (Joerg Schilling) wrote:

> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
> > > BTW: this may be caused by the fact that you did not simply add debug=2
> > > but at the same time removed -V.
> >
> > I have run the cdrecord command again, this time passing "-V" and "debug=2":
> >
> > $ script -f -c "cdrecord -vvv -V debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log
> >
> > and the compressed log is attached.
> >
> > I hope you can find anything useful to understand what is happening.
>
> I'll look at this later. Could you meanwhile do a test without -V please?

Sorry - I mean wihtout -v

With -v, crecord calls "read buffer cap" and this may cause a firmware bug in
your drive.

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


Joerg.Schilling at fokus

Nov 20, 2009, 7:48 AM

Post #18 of 28 (535 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

> > There was a report for broken Pioneer formware that hits in -v mode and
> > causes the firmware from the drive to through away the data before writing
> > it to the medium.
>
> Do you mean a test without -V or -v ?

Without -v, as in this case cdrecord does not read the drives buffer fill ratio.
It seems that there is a bug in Pioneer firmware that is triggered by calling
SCSI get buffer cap (0x5C)and that results in throwing away the DMA data.

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


j.romildo at gmail

Nov 20, 2009, 10:28 AM

Post #19 of 28 (535 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Fri, Nov 20, 2009 at 04:48:25PM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
> > > There was a report for broken Pioneer formware that hits in -v mode and
> > > causes the firmware from the drive to through away the data before writing
> > > it to the medium.
> >
> > Do you mean a test without -V or -v ?
>
> Without -v, as in this case cdrecord does not read the drives buffer fill ratio.
> It seems that there is a bug in Pioneer firmware that is triggered by calling
> SCSI get buffer cap (0x5C)and that results in throwing away the DMA data.

Good news!

With the command (without using the -v option)

$ script -f -c "cdrecord -V debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log

cdrecord completed successfully. The sha1 sums (calculated in a
different computer) for both the image and the recorded media are
identical!

The compressed output of the cdrecord command is attached.

Should I conclude that the firmware of the unit is affected by the same
bug found in that Pioneer one?

Is it fixable?

I was not able to find any firmware update for my unit.

Romildo
Attachments: cdrecord.log.bz2 (139 KB)


Joerg.Schilling at fokus

Nov 20, 2009, 12:25 PM

Post #20 of 28 (535 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

> > > Do you mean a test without -V or -v ?
> >
> > Without -v, as in this case cdrecord does not read the drives buffer fill ratio.
> > It seems that there is a bug in Pioneer firmware that is triggered by calling
> > SCSI get buffer cap (0x5C)and that results in throwing away the DMA data.
>
> Good news!
>
> With the command (without using the -v option)
>
> $ script -f -c "cdrecord -V debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log
>
> cdrecord completed successfully. The sha1 sums (calculated in a
> different computer) for both the image and the recorded media are
> identical!

Then it seems that the drive developer is Pioneer. TEAC is out of normal
business sind 4 years but it may be that they are the OEM for drives developed
by Pioneer.

> Is it fixable?

Fixable would be updating the firmware in the drive.

As it seems that Pioneer drives are sold by many companies, it may be that I
need to find a suitable workaround for the bug.

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


Joerg.Schilling at fokus

Nov 29, 2009, 9:58 AM

Post #21 of 28 (494 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

José Romildo Malaquias <j.romildo [at] gmail> wrote:

> On Fri, Nov 20, 2009 at 04:48:25PM +0100, Joerg Schilling wrote:
> > José Romildo Malaquias <j.romildo [at] gmail> wrote:
> >
> > > > There was a report for broken Pioneer formware that hits in -v mode and
> > > > causes the firmware from the drive to through away the data before writing
> > > > it to the medium.
> > >
> > > Do you mean a test without -V or -v ?
> >
> > Without -v, as in this case cdrecord does not read the drives buffer fill ratio.
> > It seems that there is a bug in Pioneer firmware that is triggered by calling
> > SCSI get buffer cap (0x5C)and that results in throwing away the DMA data.
>
> Good news!
>
> With the command (without using the -v option)
>
> $ script -f -c "cdrecord -V debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log
>
> cdrecord completed successfully. The sha1 sums (calculated in a
> different computer) for both the image and the recorded media are
> identical!

OK, could you please use an original cdrecord without your recent self made
patch and then apply this patch:


------- cdrecord.c -------
--- /tmp/sccs.RvayQW So Nov 29 18:48:57 2009
+++ cdrecord.c So Nov 29 18:47:24 2009
@@ -2590,7 +2590,7 @@
if (fper >= 0)
printf(" (fifo %3d%%)", fper);
#ifdef BCAP
- if (bsize > 0) { /* buffer size known */
+ if (bsize > 0 && bytes > bsize) { /* buffer size known */
scgp->silent++;
per = (*dp->cdr_buffer_cap)(scgp, (long *)0, &bfree);
scgp->silent--;


This should avoid some calls to the buffer cap function before the drive's
internal buffer was filled the first time.

Then please test again with -v

Jörg

--
EMail:joerg [at] schily (home) Jörg Schilling D-13353 Berlin
js [at] cs (uni)
joerg.schilling [at] fokus (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


daidxor at gmail

Nov 29, 2009, 5:21 PM

Post #22 of 28 (492 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

Forgive the top-post, but I would like to say I was very impressed by
the analysis of Joerg Schilling.

Given the issue appears resolved, I can't help myself:

> When I bought this notebook in january and first installed gentoo,
> cdrecord used to work. Then at some point ago (probably after some
> update) it has stopped working with the behaviour I have described
> above.

This is every single story of Gentoo and Linux in amazing brevity.

~daid


marcusw at cox

Nov 29, 2009, 6:12 PM

Post #23 of 28 (492 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On 11/29/2009 8:21 PM, daid kahl wrote:
>> When I bought this notebook in january and first installed gentoo,
>> cdrecord used to work. Then at some point ago (probably after some
>> update) it has stopped working with the behaviour I have described
>> above.
>>
>
> This is every single story of Gentoo and Linux in amazing brevity.
>
But not Ubuntu. They do things differently :p

Marcus


alan.mckinnon at gmail

Nov 30, 2009, 12:10 AM

Post #24 of 28 (488 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Monday 30 November 2009 03:21:08 daid kahl wrote:
> Forgive the top-post, but I would like to say I was very impressed by
> the analysis of Joerg Schilling.
>
> Given the issue appears resolved, I can't help myself:
> > When I bought this notebook in january and first installed gentoo,
> > cdrecord used to work. Then at some point ago (probably after some
> > update) it has stopped working with the behaviour I have described
> > above.
>
> This is every single story of Gentoo and Linux in amazing brevity.

/s/Gentoo and Linux/software/

There you go. Fixed that for you.

--
alan dot mckinnon at gmail dot com


j.romildo at gmail

Nov 30, 2009, 2:35 AM

Post #25 of 28 (489 views)
Permalink
Re: cdrecord fails to burn dvd [In reply to]

On Sun, Nov 29, 2009 at 06:58:40PM +0100, Joerg Schilling wrote:
> José Romildo Malaquias <j.romildo [at] gmail> wrote:
>
> > On Fri, Nov 20, 2009 at 04:48:25PM +0100, Joerg Schilling wrote:
> > > José Romildo Malaquias <j.romildo [at] gmail> wrote:
> > >
> > > > > There was a report for broken Pioneer formware that hits in -v mode and
> > > > > causes the firmware from the drive to through away the data before writing
> > > > > it to the medium.
> > > >
> > > > Do you mean a test without -V or -v ?
> > >
> > > Without -v, as in this case cdrecord does not read the drives buffer fill ratio.
> > > It seems that there is a bug in Pioneer firmware that is triggered by calling
> > > SCSI get buffer cap (0x5C)and that results in throwing away the DMA data.
> >
> > Good news!
> >
> > With the command (without using the -v option)
> >
> > $ script -f -c "cdrecord -V debug=2 -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" cdrecord.log
> >
> > cdrecord completed successfully. The sha1 sums (calculated in a
> > different computer) for both the image and the recorded media are
> > identical!
>
> OK, could you please use an original cdrecord without your recent self made
> patch and then apply this patch:
[...]
> This should avoid some calls to the buffer cap function before the drive's
> internal buffer was filled the first time.
>
> Then please test again with -v

It works. See attached the output of the command:

# script -f -c "/var/tmp/CDRTOOLS/opt/schily/bin/cdrecord -v -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso" /var/tmp/cdrecord.log

Romildo
Attachments: cdrecord.log (287 KB)

First page Previous page 1 2 Next page Last page  View All Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.