k3b fails to write a DVD with "Unable to open new session"

Bug #1246804 reported by Sergey Zolotarev on 2013-10-31
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
k3b (Ubuntu)
Undecided
Unassigned

Bug Description

k3b frequently fails to write to a DVD disc with this error: Unable to open new session, while Brasero works fine for the same disk. This seems to be especially true for DVDs that I previously wrote to with k3b.

I guess this has something to do with the following error in k3b's debug log (attached):

/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: k3b 2.0.2-6ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Thu Oct 31 23:48:52 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-01-20 (283 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: k3b
UpgradeStatus: Upgraded to saucy on 2013-10-18 (13 days ago)

Sergey Zolotarev (szx) wrote :
Thomas Schmitt (scdbackup) wrote :

Hi,

> /usr/bin/wodim: Operation not permitted. Warning: Cannot raise
> RLIMIT_MEMLOCK limits.

This message is annoying but harmless.

The immediate reason for failure is given by these lines:

> CDB: 53 00 00 00 00 00 1F 52 53 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 72 05 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0x72 Qual 0x05 (no more track reservations allowed) Fru 0x0

wodim tried to apply SCSI command RESERVE TRACK to
a medium which is not suitable for this command:

> Profile: 0x0013 (DVD-RW restricted overwrite) (current)

This is a formatted DVD-RW. I am not sure whether cdrecord
can deal with it. wodim cannot.
growisofs or libburn are suitable backends for this medium
state.

There remains the question why K3B used wodim for DVD and
not growisofs, as would be normal.

You can probably make the DVD-RW suitable for wodim by
one of these commands:

  wodim -v dev=/dev/sr0 blank=all
  dvd+rw-format -blank=full /dev/sr0
  xorriso -outdev /dev/sr0 -blank all

They convert it from formatted state to unformatted.
Then it resembled more a CD-RW, which is what wodim
can understand.

These commands have to be repeated each time you want
to re-use the DVD-RW from scratch.

Have a nice day :)

Thomas

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers