[Bug 1458230] Re: libburn imposing 0.2x BD-R burn (5-6 hours)

Thomas Schmitt scdbackup at gmx.net
Mon May 25 06:13:57 UTC 2015


Hi,

everything points towards Defect Management which seems to
be extremely slow with the given drive and BD-R media.
It normally slows down writing by a factor of 2 or 3 but not
by 10 or 20.

So the option  stream_recording=on  of cdrskin and xorrecord
is worth a try with the next BD-R you burn.

There remains the question why the BD-R written by your
xorrecord run is formatted despite you did not use option
blank=format_if_needed.

-----------------------------------------------------------
Reasoning:

> cdrtools [...] proceeded at a reasonable speed

cdrecord does not format the BD-R and thus no Defect Management
is employed while writing.

> growisofs [...] at the cost of five to six hours' burning

growisofs always formats, uses no stream recording, and thus
always employs Defect Management.

> I think the xorriso run did format the disc.

It should not have done it with the arguments you showed.
Whatever, there is still the option stream_recording=on
which should compensate for the speed effect of formatting.
(... and make formatting more or less senseless.)

> I've just tried a DVD-RW 2x, in the drive.  Performance seemed consistent
> with my experience with my DVD writers, and I calculated it as proceeding
> about twice as quickly as the problem BD-Rs.

2x DVD = 2.7 MB/s. That's plausible in comparison to the
1 MB/s you measure with BD-R.

So most probably the hardware connection is not to blame.


> libisoburn [1.3.2] is rather stale,

It's ok for the purpose.
Anyway, libburn is the one which operates the drive.
The BD stuff did not change much since many years.


> disc06 burnt with xorrecord (xorrecord -v dev=/dev/sr0 speed=26970k
> fs=8m -multi --grow_overwriteable_iso blank=as_needed padsize=300k
> disc06.iso):

It does not report BD spare area which i would expect if
it is formatted. But the announced size is smaller than the
unformatted size.

Can you show the output of the growisofs written BD-R or the
one which you wrote with cdrskin option blank=format_if_needed ?

Please also run with the xorriso-written BD-R

  xorriso -outdev /dev/sr0 -list_formats

and show the output.


> The only interesting result, from dvd+rw-mediainfo on that disc, is that
> Speed Descriptor#n is 00/12219391 c.f. 00/11826175 on the cdrskin and
> xorriso burns I reported earlier.  (I've no idea what that means and,
> hence, the compass of "interesting" might be minimal.

Speed descriptors are the way how the drive tells the burn
program the speeds offered with the loaded medium.
Theoretically a speed descriptor could be valid only for
a part of the medium (with other speed on the rest). Therefore
the speed descriptors tell the end address of their valid
block range. In practice all ranges end at the medium end.
Further the drive decides on its own how fast it really burns.

The xorriso-written BD-R reports a range up to 11826175 blocks
which is the end address of default size formatted BD-R.
The cdrecord-written BD-R reports 12219391 which is the end
of an unformatted BD-R.
See also output of dvd+rw-mediainfo on a blank BD-R:
> READ FORMAT CAPACITIES:
>  unformatted:           12219392*2048=25025314816
>  00h(3000):             11826176*2048=24220008448


(Just how did the xorriso-written BD-R get formatted ... ?)

----------------------------------------------------------------

Have a nice day :)

Thomas

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libburn in Ubuntu.
https://bugs.launchpad.net/bugs/1458230

Title:
  libburn imposing 0.2x BD-R burn (5-6 hours)

Status in libburn package in Ubuntu:
  New

Bug description:
  Note: libburn 1.3.8 (Ubuntu 15.04 AMD64)

  Confident of correctly observing the symptom (in four / four tests
  with BD-R 25 GB), but apologise for pointing a finger that may be
  stabbing in the dark.

  dvd+rw-mediainfo /dev/sr0
  INQUIRY:                [PIONEER ][BD-RW   BDR-209M][1.20]
  GET [CURRENT] CONFIGURATION:
   Mounted Media:         41h, BD-R SRM
   Media ID:              CMCMAG/BA5
   Current Write Speed:   12.0x4495=53940KB/s
   Write Speed #0:        12.0x4495=53940KB/s
   Write Speed #1:        10.0x4495=44950KB/s
   Write Speed #2:        8.0x4495=35960KB/s
   Write Speed #3:        6.0x4495=26970KB/s
   Write Speed #4:        4.0x4495=17980KB/s
   Write Speed #5:        2.0x4495=8990KB/s
   Speed Descriptor#0:    00/12219391 R at 12.0x4495=53940KB/s W at 12.0x4495=53940KB/s
   Speed Descriptor#1:    00/12219391 R at 10.0x4495=44950KB/s W at 10.0x4495=44950KB/s
   Speed Descriptor#2:    00/12219391 R at 8.0x4495=35960KB/s W at 8.0x4495=35960KB/s
   Speed Descriptor#3:    00/12219391 R at 6.0x4495=26970KB/s W at 6.0x4495=26970KB/s
   Speed Descriptor#4:    00/12219391 R at 4.0x4495=17980KB/s W at 4.0x4495=17980KB/s
   Speed Descriptor#5:    00/12219391 R at 2.0x4495=8990KB/s W at 2.0x4495=8990KB/s
  :-[ READ BD SPARE INFORMATION failed with SK=5h/MEDIUM NOT FORMATTED]: Wrong medium type
  READ DISC INFORMATION:
   Disc status:           blank
   Number of Sessions:    1
   State of Last Session: empty
   "Next" Track:          1
   Number of Tracks:      1
  READ FORMAT CAPACITIES:
   unformatted:		12219392*2048=25025314816
   00h(3000):		11826176*2048=24220008448
   32h(0):		11826176*2048=24220008448
   32h(0):		5796864*2048=11871977472
   32h(0):		12088320*2048=24756879360
  READ TRACK INFORMATION[#1]:
   Track State:           invisible incremental
   Track Start Address:   0*2KB
   Next Writable Address: 0*2KB
   Free Blocks:           12219392*2KB
   Track Size:            12219392*2KB
  READ CAPACITY:          0*2048=0

  
  cdrskin --version
  cdrskin 1.3.8 : limited cdrecord compatibility wrapper for libburn
  Cdrecord 2.01a27 Emulation. Copyright (C) 2006-2014, see libburnia-project.org
  System adapter    :  internal GNU/Linux SG_IO adapter sg-linux
  libburn interface :  1.3.8
  libburn in use    :  1.3.8
  cdrskin version   :  1.3.8
  Version timestamp :  2014.06.28.060001
  Build timestamp   :  -none-given-

  cdrskin dev=/dev/sr0 -v -v padsize=300k gracetime=60 blank=format_if_needed speed=10 --adjust_speed_to_drive -multi disc.iso
  ...
  cdrskin: installed hard abort handler.
  cdrskin: active drive number : 0  '/dev/sr0'
  cdrskin: establishing fifo of 4194304 bytes
  cdrskin: called as :  cdrskin
  cdrskin: status 1 burn_disc_blank "The drive holds a blank disc"
  Current: BD-R sequential recording
  cdrskin: beginning to format disc
  Starting to write CD/DVD at speed 10 in real FORMAT mode for multi session.
  Last chance to quit, starting real write in   0 seconds. Operation starts.
  cdrskin: formatting done                                        
  Formatting time:   12.002s
  cdrskin: beginning to burn disc
  cdrskin: status 1 burn_disc_blank "The drive holds a blank disc"
  Current: BD-R sequential recording
  cdrskin: Write type : SAO
  Track 01: data  23041 MB         padsize:  300 KB
  Total size:    23041 MB (2621:41.01) = 11797426 sectors
  Lout start:    23041 MB (2621:43/01) = 11797576 sectors
  Starting to write CD/DVD at speed 10 in real SAO mode for multi session.
  Last chance to quit, starting real write in   0 seconds. Operation starts.
  Waiting for reader process to fill input buffer ... input buffer ready.
  Starting new track at sector: 0
  Track 01: 16520 of 23041 MB written (fifo 100%) [buf  66%]   0.2x.

  
  xorrecord --version
  xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

  Cdrecord 2.01-Emulation Copyright (C) 2013 see libburnia-project.org xorriso
  xorriso 1.3.2
  ISO 9660 Rock Ridge filesystem manipulator and CD/DVD/BD burn program
  Copyright (C) 2013, Thomas Schmitt <scdbackup at gmx.net>, libburnia project.
  xorriso version   :  1.3.2
  Version timestamp :  2013.08.07.110001
  Build timestamp   :  -none-given-
  libisofs   in use :  1.3.8  (min. 1.3.6)
  libjte     in use :  1.0.0  (min. 1.0.0)
  libburn    in use :  1.3.8  (min. 1.3.4)
  libburn OS adapter:  internal GNU/Linux SG_IO adapter sg-linux
  libisoburn in use :  1.3.2  (min. 1.3.2)
  Provided under GNU GPL version 2 or later.
  There is NO WARRANTY, to the extent permitted by law.

  xorrecord -v dev=/dev/sr0 speed=26970k fs=8m -multi --grow_overwriteable_iso blank=as_needed padsize=300k disc.iso
  ...
  xorriso : UPDATE : 10186 of 10189 MB written (fifo  1%) [buf  78%]   0.2x.
  xorriso : UPDATE : 10187 of 10189 MB written (fifo  1%) [buf  78%]   0.2x.
  xorriso : UPDATE : 10188 of 10189 MB written (fifo  1%) [buf  60%]   0.2x.
  xorriso : UPDATE : 10189 of 10189 MB written (fifo  0%) [buf  60%]   0.2x.
  xorriso : UPDATE : Closing track/session. Working since 10285 seconds
  xorriso : UPDATE : Closing track/session. Working since 10286 seconds
  Writing to '/dev/sr0' completed successfully.

  xorriso : NOTE : Re-assessing -outdev '/dev/sr0'
  Drive current: -outdev '/dev/sr0'
  Media current: BD-R sequential recording
  Media status : is written , is appendable
  Media summary: 1 session, 5216800 data blocks, 10.0g data, 12.6g free

  
  xorriso:
    Installed: 1.3.2-1.1
    Candidate: 1.3.2-1.1
    Version table:
   *** 1.3.2-1.1 0
          500 http://gb.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  
  Any help gratefully received.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libburn/+bug/1458230/+subscriptions



More information about the foundations-bugs mailing list