Bug 20734

Summary: 1) k3b errs out at ejecting ("Illegal argument"), 2) erroneously believes it was write error.
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: ftg, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: k3b-2.10.0-5.mga6.tainted.src.rpm CVE:
Status comment:

Description Morgan Leijström 2017-04-25 09:27:04 CEST
Description of problem:

I was writing a 2,39 GB iso on a DVD-R disc.
(iso is MSW7proSP1, SHA1 checked OK before writing)
I have selected default fully automatic, plus verify.

It stopped at 96% writing (according to k3b window) with error message 
"Allvarligt fel under inspelning: Ogiltigt argument"
I translate:
"Serious error during recording: Illegal argument"

But real result is:

1) It did eject the tray

2) k3b log show no error in writing. (no error at all, but also nothing abut attempting to verify)

3)  # sha1sum /dev/sr0  give the correct checksum.

-Which reveal another bug: it assumes the error is write error, but write was OK.

(so here really are two bugs)

Normally it ejects the disc and immediately pulls it in again to continue with the verify pass.  This have worked before on cauldron, exact same machine, some time in august.  I believe the error is that it now fail to give a today correct command for the eject+pull in.


Part of output from journalctl -xb | grep k3b:

apr 25 08:27:24 svarten k3b[886]: started
apr 25 08:27:24 svarten k3b[886]: "Skriver"
apr 25 08:27:24 svarten k3b[886]: (K3b::ActivePipe) successfully opened pipe.
apr 25 08:27:24 svarten k3b[886]: (K3b::ActivePipe) writing from K3b::FileSplitter(0x1a91f50) to K3b::Process(0x1acdde8)
apr 25 08:27:24 svarten k3b[886]: (growisofs)  "Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'"
apr 25 08:27:24 svarten k3b[886]: (growisofs)  "/dev/sr0: engaging DVD-R DAO upon user request..."
apr 25 08:27:59 svarten k3b[886]: (growisofs)  "/dev/sr0: reserving 1252186 blocks"
apr 25 08:28:04 svarten k3b[886]: "Skriver data"
apr 25 08:31:27 svarten k3b[886]: Done: "write succcess" "read success" (total bytes read/written: 2564476928 / 2564476928 )
apr 25 08:32:35 svarten k3b[886]: "/dev/sr0"
apr 25 08:32:35 svarten k3b[886]: received finished signal!
apr 25 08:32:35 svarten k3b[886]: starting command:  "(CommandEject)"


# journalctl -xb | grep Ogiltigt
apr 25 08:32:35 svarten plasmashell[3559]:  New Notification:  "Skriver: Klar" "Allvarligt fel under inspelning: Ogiltigt argument" -1 & Part of: 0

WHAT give that notification, because of WHAT command?
Comment 1 Marja Van Waes 2017-04-25 13:24:43 CEST
Assigning to the KDE maintainers.

Last time I burnt a DVD, ± 17 days ago, with non-tainted k3b, there were no such problems. But then it was a Mageia iso I burnt, not an MS one :-)

CC: (none) => marja11
Assignee: bugsquad => kde

Comment 2 Frank Griffin 2017-04-25 15:06:54 CEST
Just as an aside, I use k3b to burn ISOs regularly, and while I have seen the eject-and-reload behavior in the distant past, I haven't seen it lately - verify just starts reading the already-loaded disk.  Also, when done, k3b ejects the disk with no error.  So this is likely specific to your drive.

CC: (none) => ftg

Comment 3 Aurelien Oudelet 2021-05-17 01:15:54 CEST
Users who have experienced this problem are encouraged to upgrade to the latest update of their distribution, and if this issue turns out to still be reproducible in the latest update, please reopen this bug with additional information.

Closing as OLD.

Resolution: (none) => OLD
Status: NEW => RESOLVED