[Libburn] Could you test this?

Bryan Forbes bryan at reigndropsfall.net
Tue Aug 31 06:55:46 PDT 2004


Yes, I changed line 60 from this:
burn_write_opts_set_simulate(o, 1);
to this:
burn_write_opts_set_simulate(o, 0);

I thought that would do it.

On Mon, 2004-08-30 at 17:45 -0500, Derek Foreman wrote:
> On Mon, 30 Aug 2004, Bryan Forbes wrote:
> 
> > After burning the iso with libburn's test/burniso, I can still write to
> > the disc with cdrecord.
> 
> Have you removed line 60?
> 
> burniso.c burns in simulate mode by default.  I want people to have to 
> actively screw with the source code in order to write discs.  (Just so 
> nobody thinks this software is fit to do their corporate backups right now 
> :)
> 
> > On Sun, 2004-08-29 at 21:54 -0500, Derek Foreman wrote:
> >> On Sat, 28 Aug 2004, Bryan Forbes wrote:
> >>
> >>> How would I go about finding out if it has something burnt on it?  I
> >>> think it does, but I'm not sure...  Thanks.
> >>
> >> Just see if cdrecord can write to it.  If it's still writeable, it's a
> >> blank. :)
> >>
> >>> On Sat, 2004-08-28 at 16:30 -0500, Derek Foreman wrote:
> >>>> On Fri, 27 Aug 2004, Bryan Forbes wrote:
> >>>>
> >>>>> Here's the result of running cdrecord -toc dev=/dev/hdc on a burned cd
> >>>>> using libburn to burn the iso:
> >>>>>
> >>>>> [?]
> >>>>> [?]
> >>>>> NOTE: this version of cdrecord is an inofficial (modified) release of
> >>>>> cdrecord
> >>>>>      and thus may have bugs that are not present in the original
> >>>>> version.
> >>>>>      Please send bug reports and support requests to
> >>>>> <cdrtools at packages.debian.org>.
> >>>>>      The original author should not be bothered with problems of this
> >>>>> version.
> >>>>>
> >>>>> scsidev: '/dev/hdc'
> >>>>> devname: '/dev/hdc'
> >>>>> scsibus: -2 target: -2 lun: -2
> >>>>> Warning: Open by 'devname' is unintentional and not supported.
> >>>>> Linux sg driver version: 3.5.27
> >>>>> Using libscg version 'schily-0.8'.
> >>>>> Device type    : Removable CD-ROM
> >>>>> Version        : 0
> >>>>> Response Format: 2
> >>>>> Capabilities   :
> >>>>> Vendor_info    : 'MATSHITA'
> >>>>> Identifikation : 'CD-RW  CW-8123  '
> >>>>> Revision       : 'CA0T'
> >>>>> Device seems to be: Generic mmc2 DVD-ROM.
> >>>>> Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
> >>>>> Driver flags   : MMC-2 SWABAUDIO BURNFREE
> >>>>> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
> >>>>> RAW/R96R
> >>>>> cdrecord: Success. read toc: scsi sendcmd: no error
> >>>>> CDB:  43 00 00 00 00 00 00 00 04 00
> >>>>> status: 0x2 (CHECK CONDITION)
> >>>>> Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
> >>>>> Sense Key: 0x5 Illegal Request, Segment 0
> >>>>> Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
> >>>>> Sense flags: Blk 0 (not valid)
> >>>>> resid: 4
> >>>>> cmd finished after 0.000s timeout 40s
> >>>>> cdrecord: Cannot read TOC header
> >>>>> cdrecord: Cannot read TOC/PMA
> >>>>>
> >>>>> so it looks like I can't read the toc.
> >>>>
> >>>> Can you confirm that the disc actually does have crap burnt onto it?
> >>>>
> >>>> If that's the case, I think it's safe to assume that all the commands are
> >>>> still fine, and I just have to do some byte swapping on the data.
> >>>>
> >>>> If the disc is still a blank, I need to byte swap the cdbs too.
> >>> --
> >>> ======================================================================
> >>> Bryan Forbes
> >>> bryan at reigndropsfall.net
> >>> http://www.reigndropsfall.net
> >>>
> >>> "It does not take a majority to prevail, but rather an irate, tireless
> >>> minority keen to set brush fires in people's minds."
> >>>        - Samuel Adams, an architect of the Constitution
> >>>
> >>> Key fingerprint = 3D7D B728 713A BB7B B8B1  5B61 3888 17E0 70CA 0F3D
> >>>
> > -- 
> > ======================================================================
> > Bryan Forbes
> > bryan at reigndropsfall.net
> > http://www.reigndropsfall.net
> >
> > "It does not take a majority to prevail, but rather an irate, tireless
> > minority keen to set brush fires in people's minds."
> >        - Samuel Adams, an architect of the Constitution
> >
> > Key fingerprint = 3D7D B728 713A BB7B B8B1  5B61 3888 17E0 70CA 0F3D
> >
-- 
======================================================================
Bryan Forbes
bryan at reigndropsfall.net
http://www.reigndropsfall.net

"It does not take a majority to prevail, but rather an irate, tireless
minority keen to set brush fires in people's minds."
        - Samuel Adams, an architect of the Constitution

Key fingerprint = 3D7D B728 713A BB7B B8B1  5B61 3888 17E0 70CA 0F3D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://freedesktop.org/pipermail/libburn/attachments/20040831/b1b65532/attachment.pgp


More information about the libburn mailing list