[k3b] [Bug 236672] cdrecord has no permission to open device

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Jul 7 19:39:22 BST 2022


https://bugs.kde.org/show_bug.cgi?id=236672

--- Comment #7 from ThePreacher at mail.com ---
Comment on attachment 150439
  --> https://bugs.kde.org/attachment.cgi?id=150439
Screen shot of message

The error log:
-----------------------
TSSTcorp CDDVDW SN-208FB FU01 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R,
DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R
Dual Layer Sequential, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential,
DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P,
SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite] [%7]

System
-----------------------
K3b Version: 17.12.3
KDE Version: 5.44.0
Qt Version:  5.9.5
Kernel:      4.15.0-188-generic

Used versions
-----------------------
cdrecord: 1.1.11

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
limits.
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.11
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Text len: 54
TOC Type: 0 = CD-DA
Driveropts: 'burnfree'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identification : ' CDDVDW SN-208FB'
Revision       : 'FU01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0012 (DVD-RAM) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
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
Drive buf size : 342496 = 334 KB
FIFO size      : 12582912 = 12288 KB
Speed set to 4234 KB/s
pregap1: -1
Track 01: audio   39 MB (03:54.60) no preemp swab copy
Track 02: audio    7 MB (00:44.56) no preemp swab copy
Track 03: audio   32 MB (03:13.40) no preemp swab copy
Track 04: audio   25 MB (02:32.09) no preemp swab copy
Total size:      105 MB (10:24.65) = 46849 sectors
Lout start:      105 MB (10:26/49) = 46849 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, low Beta category (A-) (2)
  ATIP start of lead in:  -12508 (97:15/17)
  ATIP start of lead out: 359845 (79:59/70)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 22
Manufacturer: Ritek Co.
Blocks total: 359845 Blocks current: 359845 Blocks remaining: 312996
Starting to write CD/DVD at speed  24.0 in real SAO mode for single session.
Last chance to quit, starting real write in    2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
Errno: 5 (Input/output error), write_g1 scsi sendcmd: cmd timeout after 0.644
(200) s
CDB:  2A 00 FF FF D4 64 00 02 A0 00
resid: 14336
cmd finished after 0.644s timeout 200s
/usr/bin/wodim: Could not write Lead-in.
SAO startsec: -12508
Writing lead-in...
write CD-Text data: error after 129024 bytes
Writing  time:   14.630s
/usr/bin/wodim: fifo had 191 puts and 0 gets.
/usr/bin/wodim: fifo was 0 times empty and 0 times full, min fill was 100%.
BURN-Free was never needed.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/sr0 speed=24 -sao driveropts=burnfree
textfile=/tmp/k3b.E10391 -useinfo -audio /tmp/k3b_audio_0_01.inf
/tmp/k3b_audio_0_02.inf /tmp/k3b_audio_0_03.inf /tmp/k3b_audio_0_04.inf

------------------------------------------------------------------------------------------
Also, the error log from the "burner" program:
Checking session consistency (burner_burn_check_session_consistency
burner-burn.c:1739)
BurnerBurnURI called burner_job_get_action
BurnerBurnURI called burner_job_get_action
BurnerBurnURI called burner_job_set_output_size_for_current_track
BurnerBurnURI stopping
BurnerBurnURI called burner_job_get_action
BurnerBurnURI called burner_job_get_session_output_size
BurnerBurnURI called burner_job_get_action
BurnerBurnURI called burner_job_get_current_track
BurnerBurnURI no burn:// URI found
BurnerBurnURI stopping
BurnerLocalTrack called burner_job_get_action
BurnerLocalTrack called burner_job_get_action
BurnerLocalTrack called burner_job_set_output_size_for_current_track
BurnerLocalTrack stopping
BurnerLocalTrack called burner_job_get_action
BurnerLocalTrack called burner_job_get_session_output_size
BurnerLocalTrack called burner_job_get_action
BurnerLocalTrack called burner_job_get_current_track
BurnerLocalTrack no remote URIs
BurnerLocalTrack stopping
BurnerChecksumFiles called burner_job_get_output_type
BurnerChecksumFiles called burner_job_get_current_track
BurnerChecksumFiles called burner_job_get_action
BurnerChecksumFiles called burner_job_get_action
BurnerChecksumFiles called burner_job_set_output_size_for_current_track
BurnerChecksumFiles stopping
BurnerChecksumFiles called burner_job_get_output_type
BurnerChecksumFiles called burner_job_get_current_track
BurnerChecksumFiles called burner_job_get_action
BurnerChecksumFiles called burner_job_get_session_output_size
BurnerChecksumFiles called burner_job_get_action
BurnerChecksumFiles called burner_job_get_action
BurnerChecksumFiles called burner_job_get_current_track
BurnerChecksumFiles called burner_job_get_current_track
BurnerChecksumFiles called burner_job_set_current_action
BurnerChecksumFiles called burner_job_get_flags
BurnerChecksumFiles called burner_job_get_action
BurnerChecksumFiles called burner_job_get_current_track
BurnerChecksumFiles Adding graft for checksum file /.checksum.md5
file:///tmp/burner_tmp_TUJRO1.md5
BurnerChecksumFiles called burner_job_add_track
BurnerChecksumFiles called burner_job_get_action
BurnerChecksumFiles Finished track successfully
BurnerChecksumFiles stopping
BurnerChecksumImage called burner_job_get_current_track
BurnerChecksumImage called burner_job_get_action
BurnerChecksumImage called burner_job_get_flags
BurnerLibburn called burner_job_get_action
BurnerLibburn creating input
BurnerLibburn called burner_job_get_action
BurnerLibburn unsupported operation
BurnerLibburn deactivating
BurnerChecksumImage called burner_job_get_action
BurnerChecksumImage creating input
BurnerChecksumImage called burner_job_get_action
BurnerChecksumImage called burner_job_get_fd_in
BurnerChecksumImage deactivating
BurnerLibisofs called burner_job_get_action
BurnerLibisofs called burner_job_get_action
BurnerLibisofs called burner_job_set_current_action
BurnerLibisofs creating volume
BurnerLibisofs called burner_job_get_data_label
BurnerLibisofs called burner_job_get_flags
BurnerLibisofs called burner_job_get_current_track
BurnerLibisofs Adding graft disc path = /.checksum.md5, URI =
file:///tmp/burner_tmp_TUJRO1.md5
BurnerLibisofs Found parent
BurnerLibisofs Adding graft disc path = /[2] UMH-095; Doxology (D03-T06).wav,
URI =
file:///home/ldurfee/Aoo/01-Writer/Other/UMC/UMH%20&%20TFWS/Audio/Assemble%20for%20CD/%5B2%5D%20UMH-095%3B%20Doxology%20(D03-T06).wav
BurnerLibisofs Found parent
BurnerLibisofs Adding graft disc path = /[3] UMH-437; This Is My Song
(D15-T16).wav, URI =
file:///home/ldurfee/Aoo/01-Writer/Other/UMC/UMH%20&%20TFWS/Audio/Assemble%20for%20CD/%5B3%5D%20UMH-437%3B%20This%20Is%20My%20Song%20(D15-T16).wav
BurnerLibisofs Found parent
BurnerLibisofs Adding graft disc path = /[1] UMH-620; One bread, one body
(D21-T23).wav, URI =
file:///home/ldurfee/Aoo/01-Writer/Other/UMC/UMH%20&%20TFWS/Audio/Assemble%20for%20CD/%5B1%5D%20UMH-620%3B%20One%20bread,%20one%20body%20(D21-T23).wav
BurnerLibisofs Found parent
BurnerLibisofs Adding graft disc path = /[4] UMH-577; God of Grace and God of
Glory (D20-T07).wav, URI =
file:///home/ldurfee/Aoo/01-Writer/Other/UMC/UMH%20&%20TFWS/Audio/Assemble%20for%20CD/%5B4%5D%20UMH-577%3B%20God%20of%20Grace%20and%20God%20of%20Glory%20(D20-T07).wav
BurnerLibisofs Found parent
BurnerLibisofs called burner_job_set_output_size_for_current_track
BurnerLibisofs called burner_job_get_action
BurnerLibisofs Finished track successfully
BurnerLibisofs stopping
BurnerChecksumImage called burner_job_get_current_track
BurnerChecksumImage called burner_job_get_action
BurnerChecksumImage called burner_job_get_flags
BurnerLibburn called burner_job_get_action
BurnerLibburn creating input
BurnerLibburn called burner_job_get_action
BurnerLibburn called burner_job_get_device
BurnerLibburn Drive (/dev/sr0) init result = 1
BurnerLibburn called burner_job_get_flags
BurnerLibburn called burner_job_get_media
BurnerLibburn called burner_job_get_fd_in
BurnerLibburn called burner_job_get_fd_in
BurnerLibburn called burner_job_get_input_type
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn Setting multi 0
BurnerLibburn Setting burnproof 0
BurnerLibburn Setting dummy 0
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerChecksumImage called burner_job_get_action
BurnerChecksumImage linked to BurnerLibburn
BurnerChecksumImage creating input
BurnerChecksumImage called burner_job_get_action
BurnerLibisofs called burner_job_get_action
BurnerLibisofs linked to BurnerChecksumImageBurnerChecksumImage called
burner_job_get_action

BurnerLibisofs called burner_job_get_actionBurnerChecksumImage called
burner_job_get_current_track

BurnerChecksumImage called burner_job_get_input_type
BurnerLibisofs Entering thread
BurnerLibisofs called burner_job_get_fd_out
BurnerLibisofs called burner_job_set_nonblocking
BurnerLibisofs called burner_job_get_fd_in
BurnerLibisofs called burner_job_get_fd_out
BurnerLibisofs called burner_job_set_current_action
BurnerLibisofs called burner_job_get_fd_out
BurnerLibisofs Writing to pipe
BurnerChecksumImage called burner_job_set_current_action
BurnerChecksumImage called burner_job_get_fd_in
BurnerChecksumImage Starting checksum generation live (size = 0)
BurnerChecksumImage called burner_job_set_nonblocking
BurnerChecksumImage called burner_job_get_fd_in
BurnerChecksumImage called burner_job_get_fd_out
BurnerChecksumImage called burner_job_get_fd_in
BurnerChecksumImage called burner_job_get_fd_out
BurnerLibburn burn_drive_convert_fs_adr( /dev/sr0 )
BurnerLibburn Writing
BurnerLibburn called burner_job_set_dangerous
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn burn_drive_is_enumerable_adr( /dev/sr0 ) is true
BurnerLibburn called burner_job_set_current_action
BurnerLibburn Async START UNIT succeeded after 0.1 seconds
BurnerLibburn called burner_job_set_current_action
BurnerLibburn Allocating buffer via mmap()
BurnerLibburn called burner_job_set_current_action
BurnerLibburn cd Profile= 09h , obs= 32768 , obs_pad= 0
BurnerLibburn called burner_job_set_current_action
BurnerLibburn TAO pre-track 01 : get_nwa(0)=1, d=0 , demand=110264320 ,
cap=736958464

BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn SCSI command 2Ah yielded host problem: 0x7 SG_ERR_DID_ERROR
(Internal error detected in the host adapter)
BurnerLibburn called burner_job_get_session_output_size
BurnerLibburn called burner_job_set_current_action
BurnerLibburn Libburn reported an error Lost connection to drive
BurnerLibburn called burner_job_error
BurnerLibburn finished with an error
BurnerLibburn asked to stop because of an error
        error           = 1
        message = "Lost connection to drive"
BurnerLibisofs stopping
BurnerLibisofs Getting out thread
BurnerLibisofs disconnecting BurnerLibisofs from BurnerChecksumImage
BurnerChecksumImage stopping
BurnerChecksumImage disconnecting BurnerChecksumImage from BurnerLibburn
BurnerChecksumImage closing connection for BurnerChecksumImage
BurnerLibburn stopping
BurnerLibburn closing connection for BurnerLibburn
Session error : Lost connection to drive (burner_burn_record
burner-burn.c:2856)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list