[k3b] [Bug 479863] Does not finish the burning process of a iso image but the DVD risults burnt without errors

2024-01-29 Thread Paolo Berti
https://bugs.kde.org/show_bug.cgi?id=479863

--- Comment #5 from Paolo Berti  ---
I did the patch above described to growisofs_mmc.cpp and compiled from source
(not easy at all):(https://salsa.debian.org/optical-media-team/dvd-rw-tools).

The resulted growisofs executable, placed in /usr/bin/, worked well without any
error while burning the iso file.
(ubuntu-20.04.6-desktop-amd64.iso)

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 479863] Does not finish the burning process of a iso image but the DVD risults burnt without errors

2024-01-29 Thread Paolo Berti
https://bugs.kde.org/show_bug.cgi?id=479863

--- Comment #4 from Paolo Berti  ---
I did the patch above described to growisofs_mmc.cpp and compiled from source
(not easy at all):(https://salsa.debian.org/optical-media-team/dvd-rw-tools).

The resulted growisofs executable, placed in /usr/bin/, worked well without any
error while burning the iso file.
(ubuntu-20.04.6-desktop-amd64.iso)

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 479863] Does not finish the burning process of a iso image but the DVD risults burnt without errors

2024-01-18 Thread Paolo Berti
https://bugs.kde.org/show_bug.cgi?id=479863

--- Comment #3 from Paolo Berti  ---
WORK AROUND FOR THE K3b problem: hang at the end of DVD-R[W] DAO recording.

The problem was observed with image sizes not divisible by 32KB. It manifests
itself as I/O error in the last WRITE command, which is caused by latter's
timeout. The recording per se is properly completed by unit and no data loss
occurs. To work around the timeout condition, pad input image file up to the
nearest 32KB boundary or avoid DAO recordings.

One way to pad is to:

perl -e '$blk=32*1024; $nm=@ARGV[0]; $sz=(stat($nm))[7];
truncate($nm,int(($sz+$blk-1)/$blk)*$blk);' example.iso

(ref: http://fy.chalmers.se/~appro/linux/DVD+RW/hcn.html)

IT WORKED FOR ME!!!

HELP FOR A RESOLVE
The bug is described and a diagnosis is given here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794868

It gives this patch to the growisofs_mmc.cpp file as a definitive solution:

- if (!(errcode=cmd.transport (WRITE,(void *)buff,size)))
+ if (!(errcode=cmd.transport (WRITE,(void *)buff,nbl*2048)))
 break;

In the source package of dvd+rw-7.1-14build1 (used by Ubuntu 20.04.6), the file
growisofs_mmc.cpp, at line n. 527, has exactly:
if (!(errcode=cmd.transport (WRITE,(void *)buff,size)))
So, corrected as above can resolve the bug.

I am not a c++ expert and am not able to do it by my self.

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 479863] Does not finish the burning process of a iso image but the DVD risults burnt without errors

2024-01-16 Thread Paolo Berti
https://bugs.kde.org/show_bug.cgi?id=479863

Paolo Berti  changed:

   What|Removed |Added

 Status|RESOLVED|REPORTED
 Resolution|FIXED   |---

--- Comment #2 from Paolo Berti  ---
WORK AROUND FOR THE K3b problem: hang at the end of DVD-R[W] DAO recording.

The problem was observed with image sizes not divisible by 32KB and firmware
version EL01. It manifests itself as I/O error in the last WRITE command, which
is caused by latter's timeout. The recording per se is properly completed by
unit and no data loss occurs. To work around the timeout condition, pad input
image file up to the nearest 32KB boundary or avoid DAO recordings.

One way to pad is to:

perl -e '$blk=32*1024; $nm=@ARGV[0]; $sz=(stat($nm))[7];
truncate($nm,int(($sz+$blk-1)/$blk)*$blk);' ubuntu-20.04.6-desktop-amd64-b.iso

(ref: http://fy.chalmers.se/~appro/linux/DVD+RW/hcn.html)

IT WORKED FOR ME!!!

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 479863] Does not finish the burning process of a iso image but the DVD risults burnt without errors

2024-01-16 Thread Paolo Berti
https://bugs.kde.org/show_bug.cgi?id=479863

Paolo Berti  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #1 from Paolo Berti  ---
WORK AROUND FOR THE K3b problem: hang at the end of DVD-R[W] DAO recording.

The problem was observed with image sizes not divisible by 32KB and firmware
version EL01. It manifests itself as I/O error in the last WRITE command, which
is caused by latter's timeout. The recording per se is properly completed by
unit and no data loss occurs. To work around the timeout condition, pad input
image file up to the nearest 32KB boundary or avoid DAO recordings.

One way to pad is to:

perl -e '$blk=32*1024; $nm=@ARGV[0]; $sz=(stat($nm))[7];
truncate($nm,int(($sz+$blk-1)/$blk)*$blk);' ubuntu-20.04.6-desktop-amd64-b.iso

(ref: http://fy.chalmers.se/~appro/linux/DVD+RW/hcn.html)

IT WORKED FOR ME!!!

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 479863] Does not finish the burning process of a iso image but the DVD risults burnt without errors

2024-01-15 Thread Paolo Berti
https://bugs.kde.org/show_bug.cgi?id=479863

Paolo Berti  changed:

   What|Removed |Added

   Platform|Other   |Ubuntu

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 479863] Does not finish the burning process of a iso image but the DVD risults burnt without errors

2024-01-15 Thread Paolo Berti
https://bugs.kde.org/show_bug.cgi?id=479863

Paolo Berti  changed:

   What|Removed |Added

 CC||pbc...@gmail.com
  Component|Burning/Hardware|general

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 479863] New: Does not finish the burning process of a iso image but the DVD risults burnt without errors

2024-01-15 Thread Paolo Berti
https://bugs.kde.org/show_bug.cgi?id=479863

Bug ID: 479863
   Summary: Does not finish the burning process of a iso image but
the DVD risults burnt without errors
Classification: Applications
   Product: k3b
   Version: 19.12
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: Burning/Hardware
  Assignee: k...@kde.org
  Reporter: pbc...@gmail.com
CC: mich...@jabster.pl, tr...@kde.org
  Target Milestone: ---

Created attachment 164926
  --> https://bugs.kde.org/attachment.cgi?id=164926=edit
the error output of k3b

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Start burning a iso image. Writing mode: auto. Verify written data
2. at around 98% 
2. 
3. 

OBSERVED RESULT
at around 98% it stops without verifying and gives a error message

EXPECTED RESULT
should verify without error

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ububtu 20.04.6
(available in About System)
KDE Plasma Version: 19.12.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.