<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 27 дек. 2022 г., 03:57 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" target="_blank" rel="noreferrer">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<br>
<br>
<div>Den 26.12.2022 23:01, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto"><a href="https://superuser.com/questions/879216/how-to-determine-whether-blu-ray-disc-is-htl-or-lth" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://superuser.com/questions/879216/how-to-determine-whether-blu-ray-disc-is-htl-or-lth</a>
<div dir="auto"><br>
</div>
<div dir="auto">lists two methods one with cdrecord + internet,
another one using imgburn</div>
<div dir="auto"><br>
</div>
<div dir="auto">===</div>
<div dir="auto">
<p>Here's
the best way I've found:</p>
<ol>
<li style="margin:0px 0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;font-size:16.2163px;vertical-align:baseline">
<p style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline">Determine
the manufacturer code and media type of the media. On
Linux, I used <a href="http://cdrtools.sourceforge.net/private/cdrecord.html" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"><code style="margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;vertical-align:baseline;white-space:pre-wrap">cdrecord</code></a> <code style="margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;vertical-align:baseline;white-space:pre-wrap">dev=XXX -atip | grep -i 'manufacturer\|media type'</code>,
where <code style="margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;vertical-align:baseline;white-space:pre-wrap">XXX</code> is
the code for the Blu-ray burner as listed by <code style="margin:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;vertical-align:baseline;white-space:pre-wrap">cdrecord -scanbus</code>.</p>
</li>
</ol>
</div>
</div>
</blockquote>
<br>
<font face="Courier New, Courier, monospace">This give me an
opportunity to discuss certain reported issues with access
privilegies from K3b/Cdrecord.<br>
<br>
I have also reported this as a possible K3b build bug to openSUSE
bugzilla a couple of weeks ago<br>
<a href="https://bugzilla.opensuse.org/show_bug.cgi?id=1206384" rel="noreferrer noreferrer" target="_blank">https://bugzilla.opensuse.org/show_bug.cgi?id=1206384</a><br>
<br>
Suggestions are welcome how to troubleshoot and get rid of them,
as they can be part of or main cause to my burning/disc problem.
!?<br>
<br>
<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">cdrecord
-scanbus</font><br>
<font face="Courier New, Courier, monospace">Cdrecord-ProDVD-ProBD-Clone
3.02a09 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2016 Joerg
Schilling</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'file read' privileges. You will not be able to
open all needed devices.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'file write' privileges. You will not be able to
open all needed devices.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'device' privileges. You may not be able to send
all needed SCSI commands, this my cause various unexplainable
problems.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'network' privileges. You will not be able to do
remote SCSI.</font><br>
<font face="Courier New, Courier, monospace">cdrecord: No access.
Cannot open '/dev/sg0'. Cannot open or use SCSI driver.</font><br>
<font face="Courier New, Courier, monospace">cdrecord: For
possible targets try 'cdrecord -scanbus'. Make sure you are
root.</font><br>
<font face="Courier New, Courier, monospace">cdrecord: For
possible transport specifiers try 'cdrecord dev=help'.</font><br>
<br>
<font face="Courier New, Courier, monospace">cdrecord dev=/dev/sr0
-atip | grep -i 'manufacturer\|media type'</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'file read' privileges. You will not be able to
open all needed devices.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'file write' privileges. You will not be able to
open all needed devices.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'device' privileges. You may not be able to send
all needed SCSI commands, this my cause various unexplainable
problems.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'network' privileges. You will not be able to do
remote SCSI.</font><br>
<font face="Courier New, Courier, monospace">scsidev: '/dev/sr0'</font><br>
<font face="Courier New, Courier, monospace">devname: '/dev/sr0'</font><br>
<font face="Courier New, Courier, monospace">scsibus: -2 target:
-2 lun: -2</font><br>
<font face="Courier New, Courier, monospace">Warning: Open by
'devname' is unintentional and not supported.</font><br>
<font face="Courier New, Courier, monospace">Linux sg driver
version: 3.5.27</font><br>
<font face="Courier New, Courier, monospace">Manufacturer:
'VERBAT'</font><br>
<font face="Courier New, Courier, monospace">Media type:
'IM1'</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"></font></div></blockquote></div></div><div dir="auto"><a href="https://github.com/netblue30/firejail/issues/2989" target="_blank" rel="noreferrer">https://github.com/netblue30/firejail/issues/2989</a><br></div><div dir="auto"><br></div><div dir="auto">I read somewhere in cdrtools documentation cdrecord may use linux capabilities ...</div><div dir="auto"><br></div><div dir="auto">this issues suggest using</div><div dir="auto"><br></div><div dir="auto"><pre style="font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;font-size:11.9px;margin-top:0px;margin-bottom:16px;padding:16px;line-height:1.45;border-radius:6px;color:rgb(36,41,47)"><code style="font-family:ui-monospace,sfmono-regular,"sf mono",menlo,consolas,"liberation mono",monospace;padding:0px;margin:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border-radius:6px;border:0px;display:inline;line-height:inherit">sudo getcap /usr/bin/cdrecord</code></pre></div><div dir="auto">So, I guess there should be setcap too?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><font face="Courier New, Courier, monospace"><br>
Just now K3b/Cdrecord seems to not even write to more BD-RE DL
discs :(<br>
<br>
The above messages are also part of the current debugging output
from K3b included here (sorry for the length):<br>
<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">Devices</font><br>
<font face="Courier New, Courier, monospace">-----------------------</font><br>
<font face="Courier New, Courier, monospace">HL-DT-ST BD-RE
BH10LS30 1.02 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R,
DVD-RW, DVD-R DL, BD-ROM, BD-R, BD-RE, DVD+R, DVD+RW, DVD+R DL)
[DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R
Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW
Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R,
CD-RW, BD-ROM, BD-R Sequential (SRM), BD-R Random (RRM), BD-RE]
[SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R,
Restricted Overwrite, Layer Jump, Random Recording, Sequential
Recording, Sequential Recording + POW] [%7]</font><br>
<br>
<font face="Courier New, Courier, monospace">System</font><br>
<font face="Courier New, Courier, monospace">-----------------------</font><br>
<font face="Courier New, Courier, monospace">K3b Version: 21.12.3</font><br>
<font face="Courier New, Courier, monospace">KDE Version: 5.90.0</font><br>
<font face="Courier New, Courier, monospace">Qt Version: 5.15.2</font><br>
<font face="Courier New, Courier, monospace">Kernel:
5.14.21-150400.24.38-default</font><br>
<br>
<font face="Courier New, Courier, monospace">Used versions</font><br>
<font face="Courier New, Courier, monospace">-----------------------</font><br>
<font face="Courier New, Courier, monospace">cdrecord: 3.2a09</font><br>
<br>
<font face="Courier New, Courier, monospace">cdrecord</font><br>
<font face="Courier New, Courier, monospace">-----------------------</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'file read' privileges. You will not be able to
open all needed devices.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'file write' privileges. You will not be able to
open all needed devices.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'device' privileges. You may not be able to send
all needed SCSI commands, this my cause various unexplainable
problems.</font><br>
<font face="Courier New, Courier, monospace">cdrecord:
Insufficient 'network' privileges. You will not be able to do
remote SCSI.</font><br>
<font face="Courier New, Courier, monospace">scsidev: '/dev/sr0'</font><br>
<font face="Courier New, Courier, monospace">devname: '/dev/sr0'</font><br>
<font face="Courier New, Courier, monospace">scsibus: -2 target:
-2 lun: -2</font><br>
<font face="Courier New, Courier, monospace">Warning: Open by
'devname' is unintentional and not supported.</font><br>
<font face="Courier New, Courier, monospace">Linux sg driver
version: 3.5.27</font><br>
<font face="Courier New, Courier, monospace">SCSI buffer size:
64512</font><br>
<font face="Courier New, Courier, monospace">Cdrecord-ProDVD-ProBD-Clone
3.02a09 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2016 Joerg
Schilling</font><br>
<font face="Courier New, Courier, monospace">TOC Type: 1 = CD-ROM</font><br>
<font face="Courier New, Courier, monospace">Using libscg version
'schily-0.9'.</font><br>
<font face="Courier New, Courier, monospace">Driveropts:
'burnfree'</font><br>
<font face="Courier New, Courier, monospace">atapi: 1</font><br>
<font face="Courier New, Courier, monospace">Device type :
Removable CD-ROM</font><br>
<font face="Courier New, Courier, monospace">Version : 5</font><br>
<font face="Courier New, Courier, monospace">Response Format: 2</font><br>
<font face="Courier New, Courier, monospace">Capabilities : </font><br>
<font face="Courier New, Courier, monospace">Vendor_info :
'HL-DT-ST'</font><br>
<font face="Courier New, Courier, monospace">Identifikation :
'BD-RE BH10LS30 '</font><br>
<font face="Courier New, Courier, monospace">Revision :
'1.02'</font><br>
<font face="Courier New, Courier, monospace">Device seems to be:
Generic mmc2 DVD-R/DVD-RW/DVD-RAM.</font><br>
<font face="Courier New, Courier, monospace">Current: BD-RE</font><br>
<font face="Courier New, Courier, monospace">Profile: BD-ROM </font><br>
<font face="Courier New, Courier, monospace">Profile: BD-R
sequential recording </font><br>
<font face="Courier New, Courier, monospace">Profile: BD-R random
recording </font><br>
<font face="Courier New, Courier, monospace">Profile: BD-RE
(current)</font><br>
<font face="Courier New, Courier, monospace">Profile: DVD-RAM </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD-R
sequential recording </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD-R/DL
sequential recording </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD-R/DL
layer jump recording </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD-RW
sequential recording </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD-RW
restricted overwrite </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD+RW </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD+R </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD+R/DL </font><br>
<font face="Courier New, Courier, monospace">Profile: DVD-ROM </font><br>
<font face="Courier New, Courier, monospace">Profile: CD-R </font><br>
<font face="Courier New, Courier, monospace">Profile: CD-RW </font><br>
<font face="Courier New, Courier, monospace">Profile: CD-ROM </font><br>
<font face="Courier New, Courier, monospace">Profile: Removable
Disk (current)</font><br>
<font face="Courier New, Courier, monospace">Using generic
SCSI-3/mmc-3 BD-RE driver (mmc_bdre).</font><br>
<font face="Courier New, Courier, monospace">Driver flags :
NO-CD BD MMC-3 BURNFREE </font><br>
<font face="Courier New, Courier, monospace">Supported modes:
PACKET SAO LAYER_JUMP</font><br>
<font face="Courier New, Courier, monospace">Drive buf size :
2031616 = 1984 KB</font><br>
<font face="Courier New, Courier, monospace">Drive pbuf size:
3850240 = 3760 KB</font><br>
<font face="Courier New, Courier, monospace">Drive DMA Speed:
17771 kB/s 100x CD 12x DVD 3x BD</font><br>
<font face="Courier New, Courier, monospace">FIFO size :
4194304 = 4096 KB</font><br>
<font face="Courier New, Courier, monospace">Track 01: data 39383
MB </font><br>
<font face="Courier New, Courier, monospace">Total size: 39383
MB = 20164288 sectors</font><br>
<font face="Courier New, Courier, monospace">Current Secsize: 0</font><br>
<font face="Courier New, Courier, monospace"> Capacity
Blklen/Sparesz. Format-type Type</font><br>
<font face="Courier New, Courier, monospace">
24438784 36864 0x00 Unformated or Blank
Media</font><br>
<font face="Courier New, Courier, monospace">
23652352 24576 0x00 Reserved (0)</font><br>
<font face="Courier New, Courier, monospace">
23259136 2048 0x01 Reserved (0)</font><br>
<font face="Courier New, Courier, monospace">
23652352 24576 0x30 Reserved (0)</font><br>
<font face="Courier New, Courier, monospace">
23259136 36864 0x30 Reserved (0)</font><br>
<font face="Courier New, Courier, monospace">
24307712 4096 0x30 Reserved (0)</font><br>
<font face="Courier New, Courier, monospace">
24438784 2048 0x31 Reserved (0)</font><br>
<font face="Courier New, Courier, monospace">Format was needed.</font><br>
<font face="Courier New, Courier, monospace">Starting to write
CD/DVD/BD at speed 2 in real FORMAT mode for single session.</font><br>
<font face="Courier New, Courier, monospace">Last chance to quit,
starting real write in 3 seconds.</font><br>
<font face="Courier New, Courier, monospace"> 2 seconds.</font><br>
<font face="Courier New, Courier, monospace"> 1 seconds.</font><br>
<font face="Courier New, Courier, monospace"> 0 seconds.
Operation starts.</font><br>
<font face="Courier New, Courier, monospace">Formatting media</font><br>
<font face="Courier New, Courier, monospace">operation 0% done</font><br>
<font face="Courier New, Courier, monospace">=== last message
repeated 29 times. ===</font><br>
<font face="Courier New, Courier, monospace">Formatting time:
61.464s (00:01:01.464)</font><br>
<font face="Courier New, Courier, monospace">Condition not caught:
capacity_not_set.</font><br>
<br>
<font face="Courier New, Courier, monospace">cdrecord command:</font><br>
<font face="Courier New, Courier, monospace">-----------------------</font><br>
<font face="Courier New, Courier, monospace">/usr/bin/cdrecord -v
gracetime=2 dev=/dev/sr0 speed=2 -sao driveropts=burnfree -data
-tsize=20164288s -</font><br>
</blockquote>
<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">
<ol>
<li style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;font-size:16.2163px;vertical-align:baseline">
<p style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline">Look
up the manufacturer and media type codes at <a href="http://www.blu-raydisc.info/licensee-list/discmanuid-licenseelist.php" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://www.blu-raydisc.info/licensee-list/discmanuid-licenseelist.php</a> .
The table on that site identifies "recording type" (i.e.
HTL or LTH) and also write speed from these codes.</p>
</li>
</ol>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px">===
quote end====</span></font></div>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px"><br>
</span></font></div>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px">site
worked when I clicked on link.</span></font></div>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px"><br>
</span></font></div>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px">Apparently
LTH should be marked due to their bad compatibility with
earlier drives, but .... reality is less stellar :(</span></font></div>
</div>
</div>
</blockquote>
<br>
<font color="#232629"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif">A
quick look in the tables it seemed for me that all 50GB BD-R/RE
DL discs use "HTL" recording type.<br>
<br>
<br>
</font></font>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px"><br>
</span></font></div>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px">and in
imgburn</span></font></div>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px"><br>
</span></font></div>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px">====</span></font></div>
<div dir="auto">
<p>With
image burning software. <a href="http://www.imgburn.com/" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline" rel="noreferrer noreferrer noreferrer" target="_blank">ImgBurn</a> for
instance.</p>
<p>In
Imgburn main menu just click on anything writing related.
For example, "Write image file to disc"</p>
<p>Now
a new window pops up</p>
<p>Please
check that you have the correct burner selected in the
left hand side, if you have more than one disc burner.</p>
<p>Scroll
down on the right pane, and you find the info under
"Recorded Mark Polarity"</p>
</div>
<div dir="auto"><font face="-apple-system, blinkmacsystemfont,
segoe ui adjusted, segoe ui, liberation sans, sans-serif" color="#232629"><span style="font-size:16.2163px">====</span></font></div>
</div>
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">HTL is apparently more durable....</div>
<div dir="auto"><br>
</div>
<div dir="auto">Terje posted link to Canadian site and I did
little search on my own</div>
<div dir="auto"><br>
</div>
<div dir="auto"><a href="https://www.pcworld.com/article/423607/hard-core-data-preservation-the-best-media-and-methods-for-archiving-your-data.html" rel="noreferrer noreferrer" target="_blank">https://www.pcworld.com/article/423607/hard-core-data-preservation-the-best-media-and-methods-for-archiving-your-data.html</a><br>
</div>
<div dir="auto">(from 2016)</div>
<div dir="auto"><br>
</div>
<div dir="auto">to be honest I newer heard about HTL vs LTH
when it comes to BDs....</div>
<div dir="auto"><br>
</div>
<div dir="auto">I found some ASUS drive in my city, so *may
be* I'll have some means to test real disks in new year.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
</div>
</blockquote>
<br>
Many articles recommend to keep three types of media for archiving
stored on at least two locations to spread the risk.<br>
For camcorded video this envolves for me <br>
<ol>
<li>keep the source media (tape cassettes)</li>
<li>a digitized version on portable expansion USB3 discs</li>
<li>and on optical Blu-ray data discs and playable BD-video discs.
</li>
</ol>
<br>
<br>
</div>
</blockquote></div></div></div>