[k3b] [Bug 479863] Does not finish the burning process of a iso image but the DVD risults burnt without errors
Paolo Berti
bugzilla_noreply at kde.org
Thu Jan 18 14:44:18 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=479863
--- Comment #3 from Paolo Berti <pbcv4n at gmail.com> ---
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 the assignee for the bug.
More information about the k3b
mailing list