Bug 267543 - Overwriting of used and formatted BD-RE by iso image not allowed. Empty media needed.
Summary: Overwriting of used and formatted BD-RE by iso image not allowed. Empty media...
Status: RESOLVED WORKSFORME
Alias: None
Product: k3b
Classification: Applications
Component: Video DVD (show other bugs)
Version: 2.0.2
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 11:26 UTC by pierre
Modified: 2023-02-07 18:54 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Information from K3B before try to start the burn session. (84.45 KB, image/png)
2018-11-22 20:46 UTC, pierre
Details
The window after try to start burning which needs to insert an proper media (25.80 KB, image/png)
2018-11-22 20:47 UTC, pierre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pierre 2011-03-03 11:26:48 UTC
Version:           2.0.2 (using KDE 4.4.3) 
OS:                Linux

I try to overwrite an used BD-RE with an debian bd iso image. If I try I get a
message I should insert an empty media in the bdr-drive.
I tried to use that overwriting is possible in principle by the following:
pierre@nihilnihil:~/squeeze$ growisofs -dvd-compat -speed=1 -Z
/dev/dvd=debian-6.0.0-amd64-BD-1.iso
WARNING: /dev/dvd already carries isofs!
About to execute 'builtin_dd if=debian-6.0.0-amd64-BD-1.iso of=/dev/dvd obs=32k
seek=0'
/dev/dvd: "Current Write Speed" is 2.0x4390KBps.
    2359296/22992447488 ( 0.0%) @0.0x, remaining 812:02 RBU 100.0% UBU   1.4%
    2359296/22992447488 ( 0.0%) @0.0x, remaining 1299:15 RBU 100.0% UBU 100.0%
   10485760/22992447488 ( 0.0%) @0.5x, remaining 438:20 RBU 100.0% UBU  90.3%
   23855104/22992447488 ( 0.1%) @0.9x, remaining 240:42 RBU  99.6% UBU  95.8%
   36896768/22992447488 ( 0.2%) @0.9x, remaining 186:38 RBU 100.0% UBU  95.8%
   50724864/22992447488 ( 0.2%) @0.9x, remaining 165:50 RBU 100.0% UBU  95.8%
   63307776/22992447488 ( 0.3%) @0.8x, remaining 150:54 RBU 100.0% UBU  93.1%
....

So I think K3B did not know that bd-re media can overwritten without erase it
before.

Now test it with an clean fresh new BD-RE media:

After selecting the iso image and try to start the burn procedure:
K3B wants to format the BD-RE: ok that is possible and looks like good.
After that K3B needs an clean BD-RE again so it is not possible to burn an iso
image directly with K3B.

I checked the burning of my second debian BD manually again with
pierre@nihilnihil:~/squeeze$ growisofs -dvd-compat -speed=1 -Z
/dev/dvd=debian-6.0.0-amd64-BD-2.iso
wich works here fine, too.



Reproducible: Always

Steps to Reproduce:
Insert an new or used BD-RE media in the BD writer.
Try to burn an iso image e.g. Debian BD iso image.

Actual Results:  
With new media:
K3B format it fine. But then K3B needs an clean media.

With used media:
K3B wants an clean media.
K3B can try to clean/format it, but this is not possibel with BD-RE. They can be overwritten without cleaning it before.


Expected Results:  
No iso image could been written to an bd-re with K3B.


OS: Linux (x86_64) release 2.6.32-5-amd64
Compiler: cc

-- Package-specific info:
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identification : 'BD-RE  BE06LU10 '
Revision       : 'YE05'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

-- System Information:
Debian Release: 6.0
  APT prefers samples
  APT policy: (500, 'samples'), (500, 'proposed-updates'), (500, 'lucid'), (500, 'stable'), (300, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages k3b depends on:
ii  cdparanoia            3.10.2+debian-9    audio extraction tool for sampling
ii  cdrdao                1:1.2.3-0.1        records CDs in Disk-At-Once (DAO) 
ii  genisoimage           9:1.1.11-1         Creates ISO-9660 CD-ROM filesystem
ii  k3b-data              2.0.2-1            A sophisticated CD/DVD burning app
ii  kdebase-runtime       4:4.4.5-1          runtime components from the offici
ii  libc6                 2.11.2-10          Embedded GNU C Library: Shared lib
ii  libgcc1               1:4.4.5-8          GCC support library
ii  libk3b6               2.0.2-1+b1         The KDE CD/DVD burning application
ii  libkcddb4             4:4.4.5-1          CDDB library for KDE Platform (run
ii  libkde3support4       4:4.4.5-2+squeeze1 the KDE 3 Support Library for the 
ii  libkdecore5           4:4.4.5-2+squeeze1 the KDE Platform Core Library
ii  libkdeui5             4:4.4.5-2+squeeze1 the KDE Platform User Interface Li
ii  libkfile4             4:4.4.5-2+squeeze1 the File Selection Dialog Library 
ii  libkio5               4:4.4.5-2+squeeze1 the Network-enabled File Managemen
ii  libknotifyconfig4     4:4.4.5-2+squeeze1 library for configuring KDE Notifi
ii  libkparts4            4:4.4.5-2+squeeze1 the Framework for the KDE Platform
ii  libkutils4            4:4.4.5-2+squeeze1 various utility classes for the KD
ii  libmusicbrainz4c2a    2.1.5-4            Second generation incarnation of t
ii  libqt4-dbus           4:4.6.3-4          Qt 4 D-Bus module
ii  libqt4-network        4:4.6.3-4          Qt 4 network module
ii  libqt4-qt3support     4:4.6.3-4          Qt 3 compatibility library for Qt 
ii  libqt4-svg            4:4.6.3-4          Qt 4 SVG module
ii  libqt4-webkit         4:4.6.3-4          Qt 4 WebKit module
ii  libqt4-xml            4:4.6.3-4          Qt 4 XML module
ii  libqtcore4            4:4.6.3-4          Qt 4 core module
ii  libqtgui4             4:4.6.3-4          Qt 4 GUI module
ii  libsolid4             4:4.4.5-2+squeeze1 Solid Library for KDE Platform
ii  libstdc++6            4.4.5-8            The GNU Standard C++ Library v3
ii  wodim                 9:1.1.11-1         command line CD/DVD writing tool

Versions of packages k3b recommends:
ii  dvd+rw-tools                 7.1-6       DVD+-RW/R tools
ii  libk3b6-extracodecs          2.0.1-2     The KDE CD/DVD burning application
ii  vcdimager                    0.7.23-4+b2 A VideoCD (VCD) image mastering an

Versions of packages k3b suggests:
ii  k3b-extrathemes              2.0.1-2     A sophisticated CD/DVD burning app
ii  k3b-i18n                     2.0.1-2     A sophisticated CD/DVD burning app
ii  movixmaker-2                 0.8.4-2     Utility to create customized eMovi
ii  normalize-audio              0.7.7-7     adjusts the volume of WAV, MP3 and
ii  sox                          14.3.1-1+b1 Swiss army knife of sound processi

pierre@nihilnihil:~$ dvd+rw-mediainfo /dev/dvd
INQUIRY:                [HL-DT-ST][BD-RE  BE06LU10 ][YE05]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         43h, BD-RE
 Media ID:              VERBAT/IM0
 Current Write Speed:   2.0x4495=8992KB/s
 Write Speed #0:        2.0x4495=8992KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance:     2.0x4495=8992KB/s@[0 -> 11826175]
 Speed Descriptor#0:    02/11826175 R@2.0x4495=8992KB/s W@2.0x4495=8992KB/s
BD SPARE AREA INFORMATION:
 Spare Area:            393216/393216=100.0% free
READ DISC INFORMATION:
 Disc status:           complete
 Number of Sessions:    1
 State of Last Session: complete
 Number of Tracks:      1
READ FORMAT CAPACITIES:
 formatted:             11826176*2048=24220008448
 00h(3000):             11826176*2048=24220008448
 30h(3000):             11826176*2048=24220008448
 30h(5000):             11564032*2048=23683137536
 30h(1000):             12088320*2048=24756879360
 31h(800):              12219392*2048=25025314816
READ TRACK INFORMATION[#1]:
 Track State:           complete
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            11826176*2KB
FABRICATED TOC:
 Track#1  :             14@0
 Track#AA :             14@11826176
 Multi-session Info:    #1@0
READ CAPACITY:          11826176*2048=24220008448
Comment 1 Eifrn 2011-12-24 02:49:56 UTC
Frustrating that I have to boot up windows just to erase a rewritable CD because yet again a KDE application doesn't work.
Comment 2 pierre 2011-12-25 09:58:57 UTC
Hello,

for overwriting erasing/reformat is normally not needed on BD-RE. This
is a problem wich looks like K3B not handled correctly.

If you created an iso image with K3B you can write in on the media with

growisofs -dvd-compat -speed=1 -Z /dev/dvd=debian-6.0.0-amd64-BD-1.iso

which has been worked for me.

Formatting a new clean BD-RE has been worked in K3B but this will not
fixed the problem with writing the data to the media.

Cheers...
Pierre
Comment 3 pierre 2012-01-31 11:24:45 UTC
Are there any news here. How can I help to get an fix for that problem? I could not code an fix but hopefully there is another help needed for that problem.
It should not be so hard to fix that.
In my opinion the new media check must be modified here that an extension of dan BD must be used (growisofs) and so a re-use BD-RE fix must be coded.
So I hope it will be available in wheeze.
Comment 4 Andrew Crouthamel 2018-11-12 02:56:39 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-11-21 04:47:46 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 pierre 2018-11-21 13:16:10 UTC
Will retest. Give me some time.
Comment 7 pierre 2018-11-22 20:46:03 UTC
Created attachment 116474 [details]
Information from K3B before try to start the burn session.
Comment 8 pierre 2018-11-22 20:47:11 UTC
Created attachment 116475 [details]
The window after try to start burning which needs to insert an proper media
Comment 9 pierre 2018-11-22 20:57:42 UTC
Now it's more corrupt than before. I cannot also use empty clean BD-RE Medias although the free space is bigger than the iso image size. Check screenshots I've uploaded as attachments. … before start … shows the image size and the free space of the media. … after try … shows the message window which ask for a proper media.

Here a debugging output which shows the versions of software only:

Devices
-----------------------
HL-DT-ST BD-RE  BE06LU10 YE05 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, HD DVD-ROM, 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, HD DVD-ROM, 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]

System
-----------------------
K3b Version: 2.0.3
KDE Version: 4.14.26
QT Version:  4.8.7
Kernel:      4.9.0-8-amd64

Here the info from K3B's Media Info menu:
Empty BD-RE medium 

Medium

Type:	BD-RE
Capacity:	2715:25:17 min (23,3 GiB)
Remaining:	2715:25:17 min (23,3 GiB)
Rewritable:	yes
Appendable:	yes
Empty:	yes
Layers:	1
Sessions:	0
Supported writing speeds:	2.0x (8992 KB/s)

Here the info shown by dvd+rw-mediainfo:
Medium
pierre@nihilnihil:~$ dvd+rw-mediainfo /dev/dvd
INQUIRY:                [HL-DT-ST][BD-RE  BE06LU10 ][YE05]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         43h, BD-RE
 Media ID:              VERBAT/IM0
 Current Write Speed:   2.0x4495=8992KB/s
 Write Speed #0:        2.0x4495=8992KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance:     2.0x4495=8992KB/s@[0 -> 12219391]
 Speed Descriptor#0:    02/12219391 R@2.0x4495=8992KB/s W@2.0x4495=8992KB/s
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
 30h(3000):             11826176*2048=24220008448
 30h(5000):             11564032*2048=23683137536
 30h(1000):             12088320*2048=24756879360
 31h(800):              12219392*2048=25025314816
READ TRACK INFORMATION[#1]:
 Track State:           blank
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            0*2KB

I can try to burn the iso with grwoisofs by the way it is my last virgin BD-RE media. I think there is now problem to do it.
In my opinion the media detection does not support the use of BD-RE medias.

So next action on developers side, please :-)
Comment 10 Justin Zobel 2023-01-18 02:40:57 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 11 Bug Janitor Service 2023-02-02 05:00:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 pierre 2023-02-02 10:45:15 UTC
I've not used BD's and esp. BD-RE for a decade so I haven't any
media on my desk. But the drive is still here and so I'll spent
some money to buy a 5 pack BD-RE and will test it again.
But it need some days of preparing.
Comment 13 pierre 2023-02-07 15:10:17 UTC
I got 5 new 25GiB Verbatim BD-RE Medias. The drive is still the same
as before but software has to been already updated to newer one.

What is been found if I insert a clean empty Media is that it is
identified only as an BD-R media instead of an BD-RE media by
K3B now Copy and Paste from K3B media information overview in
main window.:

Medium

Typ:	BD-CD-R
Kapazität:	2715:25:17 Minuten (23,3 GiB)
Verbleibend:	2715:25:17 Minuten (23,3 GiB)
Wiederbeschreibbar:	ja
Weiter beschreibbar:	ja
Leer:	ja
Schichten:	1
Sitzungen:	0
Unterstützte Brenngeschwindigkeiten:	2.0x (8992 KB/s)


Additional marks:
I also tried to directly create an session on fresh media it without 
using the to burn an iso file doesn't accept the clean or an formatted
media. It want's an real BD-R media which I didn't have it so cannot
check that this is an problem related to the BD-RE or also for BD-R.

So I created first ISO Image without burning and erasing after burn 
feature of K3B.

Then I must format the media. Then I could burn the iso on the media 
with K3B.

Medium

Typ:	BD-CD-R
Kapazität:	2628:02:26 Minuten (22,6 GiB)
Verwendete Kapazität:	1269:13:09 Minuten (10,9 GiB)
Verbleibend:	1358:49:17 Minuten (11,7 GiB)
Wiederbeschreibbar:	ja
Weiter beschreibbar:	ja
Leer:	nein
Schichten:	1
Sitzungen:	1
Unterstützte Brenngeschwindigkeiten:	2.0x (8992 KB/s)
ISO-9660-Dateisysteminformationen

System-ID:	LINUX
Datenträger-ID:	Anime-Songs
Datenträgersatz-ID:	-
Veröffentlicher-ID:	-
Vorbereiter-ID:	-
Programm-ID:	K3B THE CD KREATOR (C) 1998-2017 SEBASTIAN TRUEG, MICHAL 
MALEK AND LESLIE ZHAI
Datenträgergröße:	10,9 GiB (2048 B * 5711484 Blöcke = 11697119232 B)
Titel

Typ	Attribute	Erster-Letzter Sektor	Länge
1	(Daten)	Kopie nicht erlaubt/ununterbrochen	0 - 11826175	11826176 
(2628:02:26)

I tried to re-burn same iso again without formatting or preparing
something and B3B ask me 2 times to overwrite the same media.
After second confirmation the burn process has to been started and
could be finished.

So the problem looks like be solved.

Why the problem described below 'Additional marks' exits should be
described in another bug report.
The same maybe that the BD-RE is only identified as BD-R media.

So fixed latest:
k3b 18.08.1