K3b crashes with external DVD writer

Dears,

I have an issue with k3b. I am using Manjaro linux with K3b 24.08.1. I have kernels 6.11 and 6.10 installed.

I am trying to attach an external HP CT21L via SATA to USB adapter. When I do so, the drive is recognized by the system as CD/DVD burner and Blu Ray reader. When I insert an audio CD, the CD is recognized and I can play it with VLC.

However, if I start k3b with the external drive connected, it crashes - it does not start but freezes during start. This happens if the external drive is connected regardless whether a CD is inserted or not.

I tried the following without CD-ROM inserted (and see below, same output with CD insterted). Any help/hint?

I have installed k3b from official repo, not from snap or something. I tried removing and re-installing k3b already.

    ~  inxi -Fxzd                                                                      1 ✘ 
System:
  Kernel: 6.11.0-6-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.1.5 Distro: Manjaro base: Arch Linux
Machine:
  Type: Mini-pc System: Micro (HK) Tech product: Venus series v: N/A
    serial: <superuser required>
  Mobo: Shenzhen Meigao Equipment model: F7BSC serial: <superuser required>
    UEFI: American Megatrends LLC. v: 1.09 date: 11/20/2023
CPU:
  Info: 8-core model: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics bits: 64
    type: MT MCP arch: Zen 4 rev: 1 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
  Speed (MHz): avg: 2041 min/max: 400/5263 boost: enabled cores: 1: 2041
    2: 2041 3: 2041 4: 2041 5: 2041 6: 2041 7: 2041 8: 2041 9: 2041 10: 2041
    11: 2041 12: 2041 13: 2041 14: 2041 15: 2041 16: 2041 bogomips: 127797
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Phoenix1 driver: amdgpu v: kernel
    arch: RDNA-3 bus-ID: c4:00.0 temp: 39.0 C
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2 driver: X:
    loaded: amdgpu unloaded: modesetting dri: radeonsi gpu: amdgpu
    s-res: 1920x1200 resolution: 1920x1200
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.2-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 780M (radeonsi
    gfx1103_r1 LLVM 18.1.8 DRM 3.58 6.11.0-6-MANJARO)
  API: Vulkan v: 1.3.295 drivers: radv surfaces: xcb,xlib devices: 1
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
    Audio driver: snd_hda_intel v: kernel bus-ID: c4:00.1
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    driver: snd_pci_ps v: kernel bus-ID: c4:00.5
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h HD Audio
    driver: snd_hda_intel v: kernel bus-ID: c4:00.6
  Device-4: TempoTec SONATA Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB bus-ID: 7-1:2
  API: ALSA v: k6.11.0-6-MANJARO status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.2.3 status: off
  Server-3: PulseAudio v: 17.0 status: active
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169 v: kernel port: f000
    bus-ID: 02:00.0
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak]
    vendor: Rivet Networks Killer driver: iwlwifi v: kernel bus-ID: 03:00.0
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB bus-ID: 1-5:5
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 406.14 GiB (43.6%)
  ID-1: /dev/nvme0n1 vendor: Lexar model: SSD NM710 1TB size: 931.51 GiB
    temp: 48.9 C
  Optical-1: /dev/sr0 vendor: hp model: BDDVDRW CT2 rev: 1.02
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / size: 95.56 GiB used: 39.12 GiB (40.9%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 786.66 GiB used: 366.14 GiB (46.5%) fs: ext4
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: partition size: 33.27 GiB used: 903.2 MiB (2.7%)
    dev: /dev/nvme0n1p4
Sensors:
  System Temperatures: cpu: 47.4 C mobo: 34.5 C gpu: amdgpu temp: 39.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 29.17 GiB used: 3.12 GiB (10.7%)
  Processes: 382 Uptime: 29m Init: systemd
  Packages: 1544 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Zsh v: 5.9
    inxi: 3.3.36
    ~  cdrecord -prcap                                                                   ✔ 
Cdrecord-ProDVD-ProBD-Clone 3.02a09 (--) Copyright (C) 1995-2016 Joerg Schilling
Linux sg driver version: 3.5.36
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=0,0,0.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'hp      '
Identifikation : '     BDDVDRW CT2'
Revision       : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.

Drive capabilities, per MMC-3 page 2A:

  Does read CD-R media
  Does write CD-R media
  Does read CD-RW media
  Does write CD-RW media
  Does read DVD-ROM media
  Does read DVD-R media
  Does write DVD-R media
  Does read DVD-RAM media
  Does write DVD-RAM media
  Does support test writing

  Does read Mode 2 Form 1 blocks
  Does read Mode 2 Form 2 blocks
  Does read digital audio blocks
  Does restart non-streamed digital audio reads accurately
  Does support Buffer-Underrun-Free recording
  Does read multi-session CDs
  Does read fixed-packet CD media using Method 2
  Does not read CD bar code
  Does not read R-W subcode information
  Does read raw P-W subcode data from lead in
  Does return CD media catalog number
  Does return CD ISRC information
  Does not support C2 error pointers
  Does not deliver composite A/V data

  Does play audio CDs
  Number of volume control levels: 255
  Does support individual volume control setting for each channel
  Does support independent mute setting for each channel
  Does not support digital output on port 1
  Does not support digital output on port 2

  Loading mechanism type: tray
  Does support ejection of CD via START/STOP command
  Does not lock media on power up via prevent jumper
  Does allow media to be locked in the drive via PREVENT/ALLOW command
  Is not currently in a media-locked state
  Does not support changing side of disk
  Does not have load-empty-slot-in-changer feature
  Does not support Individual Disk Present feature

  Maximum read  speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x)
  Current read  speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x)
  Maximum write speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x)
  Current write speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x)
  Rotational control selected: CLV/PCAV
  Buffer size in KB: 2048
  Copy management revision supported: 1
  Number of supported write speeds: 1
  Write speed # 0:  4234 kB/s CLV/PCAV (CD  24x, DVD  3x, BD  0x)

Current performance according to MMC get performance:

Maximum performance according to MMC get performance:
End LBA:     4294967295
Read Speed:     4234 == 4234x NONE
Write Speed:    4234 == 4234x NONE


Supported CD-RW media types according to MMC-4 feature 0x37:
  Does write multi speed       CD-RW media
  Does write high  speed       CD-RW media
  Does write ultra high speed  CD-RW media
  Does write ultra high speed+ CD-RW media

Supported profiles according to MMC-4 feature list:
Current: none
Profile: BD-ROM 
Profile: DVD-RAM 
Profile: DVD+R/DL 
Profile: DVD+R 
Profile: DVD+RW 
Profile: DVD-R/DL layer jump recording 
Profile: DVD-R/DL sequential recording 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD-R sequential recording 
Profile: DVD-ROM 
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Profile: Removable Disk 

Supported features according to MMC-4 feature list:
Feature: 'Profile List' (current) (persistent)
Feature: 'Core' (current) (persistent)
Feature: 'Morphing' (current) (persistent)
Feature: 'Removable Medium' (current) (persistent)
Feature: 'Write Protect'  
Feature: 'Random Readable'  
Feature: 'Multi Read'  
Feature: 'CD Read' (current) 
Feature: 'DVD Read'  
Feature: 'Random Writable'  
Feature: 'Incremental Streaming Writable'  
Feature: 'Formattable'  
Feature: 'Defect Management'  
Feature: 'Restricted Overwrite'  
Feature: 'DVD+RW'  
Feature: 'DVD+R'  
Feature: 'Rigid Restricted Overwrite'  
Feature: 'CD Track at Once'  
Feature: 'CD Mastering'  
Feature: 'DVD-R/-RW Write'  
Feature: 'Layer Jump Recording'  
Feature: 'CD-RW Write'  
Feature: 'DVD+R/DL Read'  
Feature: 'BD Read'  
Feature: 'Hybrid Disk Read'  
Feature: 'Power Management' (current) (persistent)
Feature: 'CD Audio analog play'  
Feature: 'Microcode Upgrade' (current) 
Feature: 'Time-out' (current) (persistent)
Feature: 'DVD-CSS'  
Feature: 'Real Time Streaming'  
Feature: 'Logical Unit Serial Number' (current) (persistent)    Serial: 'K0NA55C1117 '
Feature: 'Disk Control Blocks'  
Feature: 'DVD CPRM'  
Feature: 'AACS'  
Feature: 0xFF33  
    ~  wodim -checkdrive                                                                 ✔ 
Cdrecord-ProDVD-ProBD-Clone 3.02a09 (--) Copyright (C) 1995-2016 Joerg Schilling
Linux sg driver version: 3.5.36
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=0,0,0.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'hp      '
Identifikation : '     BDDVDRW CT2'
Revision       : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
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 LAYER_JUMP
wodim: Warning: Cannot read drive buffer.
wodim: Warning: The DMA speed test has been skipped.
    ~    

And I tried the same with a CD-ROM insterted:

    ~  inxi -Fxzd                                                                                                   ✔ 
System:
  Kernel: 6.11.0-6-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.1.5 Distro: Manjaro base: Arch Linux
Machine:
  Type: Mini-pc System: Micro (HK) Tech product: Venus series v: N/A
    serial: <superuser required>
  Mobo: Shenzhen Meigao Equipment model: F7BSC serial: <superuser required>
    UEFI: American Megatrends LLC. v: 1.09 date: 11/20/2023
CPU:
  Info: 8-core model: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics bits: 64
    type: MT MCP arch: Zen 4 rev: 1 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
  Speed (MHz): avg: 1293 min/max: 400/5263 boost: enabled cores: 1: 1293
    2: 1293 3: 1293 4: 1293 5: 1293 6: 1293 7: 1293 8: 1293 9: 1293 10: 1293
    11: 1293 12: 1293 13: 1293 14: 1293 15: 1293 16: 1293 bogomips: 127797
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Phoenix1 driver: amdgpu v: kernel
    arch: RDNA-3 bus-ID: c4:00.0 temp: 37.0 C
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2 driver: X:
    loaded: amdgpu unloaded: modesetting dri: radeonsi gpu: amdgpu
    s-res: 1920x1200 resolution: 1920x1200
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.2-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 780M (radeonsi
    gfx1103_r1 LLVM 18.1.8 DRM 3.58 6.11.0-6-MANJARO)
  API: Vulkan v: 1.3.295 drivers: radv surfaces: xcb,xlib devices: 1
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
    Audio driver: snd_hda_intel v: kernel bus-ID: c4:00.1
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    driver: snd_pci_ps v: kernel bus-ID: c4:00.5
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h HD Audio
    driver: snd_hda_intel v: kernel bus-ID: c4:00.6
  Device-4: TempoTec SONATA Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB bus-ID: 7-1:2
  API: ALSA v: k6.11.0-6-MANJARO status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.2.3 status: off
  Server-3: PulseAudio v: 17.0 status: active
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169 v: kernel port: f000
    bus-ID: 02:00.0
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak]
    vendor: Rivet Networks Killer driver: iwlwifi v: kernel bus-ID: 03:00.0
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB bus-ID: 1-5:5
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 406.18 GiB (43.6%)
  ID-1: /dev/nvme0n1 vendor: Lexar model: SSD NM710 1TB size: 931.51 GiB
    temp: 47.9 C
  Optical-1: /dev/sr0 vendor: hp model: BDDVDRW CT2 rev: 1.02
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / size: 95.56 GiB used: 39.12 GiB (40.9%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 786.66 GiB used: 366.14 GiB (46.5%) fs: ext4
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: partition size: 33.27 GiB used: 944.5 MiB (2.8%)
    dev: /dev/nvme0n1p4
Sensors:
  System Temperatures: cpu: 42.9 C mobo: 34.2 C gpu: amdgpu temp: 38.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 29.17 GiB used: 3.27 GiB (11.2%)
  Processes: 370 Uptime: 31m Init: systemd
  Packages: 1544 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Zsh v: 5.9
    inxi: 3.3.36
    ~  cdrecord -prcap                                                                                              ✔ 
Cdrecord-ProDVD-ProBD-Clone 3.02a09 (--) Copyright (C) 1995-2016 Joerg Schilling
Linux sg driver version: 3.5.36
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=0,0,0.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'hp      '
Identifikation : '     BDDVDRW CT2'
Revision       : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.

Drive capabilities, per MMC-3 page 2A:

  Does read CD-R media
  Does write CD-R media
  Does read CD-RW media
  Does write CD-RW media
  Does read DVD-ROM media
  Does read DVD-R media
  Does write DVD-R media
  Does read DVD-RAM media
  Does write DVD-RAM media
  Does support test writing

  Does read Mode 2 Form 1 blocks
  Does read Mode 2 Form 2 blocks
  Does read digital audio blocks
  Does restart non-streamed digital audio reads accurately
  Does support Buffer-Underrun-Free recording
  Does read multi-session CDs
  Does read fixed-packet CD media using Method 2
  Does not read CD bar code
  Does not read R-W subcode information
  Does read raw P-W subcode data from lead in
  Does return CD media catalog number
  Does return CD ISRC information
  Does not support C2 error pointers
  Does not deliver composite A/V data

  Does play audio CDs
  Number of volume control levels: 255
  Does support individual volume control setting for each channel
  Does support independent mute setting for each channel
  Does not support digital output on port 1
  Does not support digital output on port 2

  Loading mechanism type: tray
  Does support ejection of CD via START/STOP command
  Does not lock media on power up via prevent jumper
  Does allow media to be locked in the drive via PREVENT/ALLOW command
  Is currently in a media-locked state
  Does not support changing side of disk
  Does not have load-empty-slot-in-changer feature
  Does not support Individual Disk Present feature

  Maximum read  speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x)
  Current read  speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x)
  Maximum write speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x)
  Current write speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x)
  Rotational control selected: CLV/PCAV
  Buffer size in KB: 2048
  Copy management revision supported: 1
  Number of supported write speeds: 1
  Write speed # 0:  4234 kB/s CLV/PCAV (CD  24x, DVD  3x, BD  0x)

Current performance according to MMC get performance:

Maximum performance according to MMC get performance:
End LBA:       13677
Read Speed:     4234 == 24x CD
Write Speed:    4234 == 24x CD


Supported CD-RW media types according to MMC-4 feature 0x37:
  Does write multi speed       CD-RW media
  Does write high  speed       CD-RW media
  Does write ultra high speed  CD-RW media
  Does write ultra high speed+ CD-RW media

Supported profiles according to MMC-4 feature list:
Current: CD-ROM
Profile: BD-ROM 
Profile: DVD-RAM 
Profile: DVD+R/DL 
Profile: DVD+R 
Profile: DVD+RW 
Profile: DVD-R/DL layer jump recording 
Profile: DVD-R/DL sequential recording 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD-R sequential recording 
Profile: DVD-ROM 
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM (current)
Profile: Removable Disk 

Supported features according to MMC-4 feature list:
Feature: 'Profile List' (current) (persistent)
Feature: 'Core' (current) (persistent)
Feature: 'Morphing' (current) (persistent)
Feature: 'Removable Medium' (current) (persistent)
Feature: 'Write Protect'  
Feature: 'Random Readable' (current) 
Feature: 'Multi Read' (current) 
Feature: 'CD Read' (current) 
Feature: 'DVD Read'  
Feature: 'Random Writable'  
Feature: 'Incremental Streaming Writable'  
Feature: 'Formattable'  
Feature: 'Defect Management'  
Feature: 'Restricted Overwrite'  
Feature: 'DVD+RW'  
Feature: 'DVD+R'  
Feature: 'Rigid Restricted Overwrite'  
Feature: 'CD Track at Once'  
Feature: 'CD Mastering'  
Feature: 'DVD-R/-RW Write'  
Feature: 'Layer Jump Recording'  
Feature: 'CD-RW Write'  
Feature: 'DVD+R/DL Read'  
Feature: 'BD Read'  
Feature: 'Hybrid Disk Read'  
Feature: 'Power Management' (current) (persistent)
Feature: 'CD Audio analog play' (current) 
Feature: 'Microcode Upgrade'  
Feature: 'Time-out' (current) (persistent)
Feature: 'DVD-CSS'  
Feature: 'Real Time Streaming' (current) 
Feature: 'Logical Unit Serial Number' (current) (persistent)    Serial: 'K0NA55C1117 '
Feature: 'Disk Control Blocks'  
Feature: 'DVD CPRM'  
Feature: 'AACS'  
Feature: 0xFF33  
    ~  wodim -checkdrive                                                                                            ✔ 
Cdrecord-ProDVD-ProBD-Clone 3.02a09 (--) Copyright (C) 1995-2016 Joerg Schilling
Linux sg driver version: 3.5.36
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=0,0,0.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'hp      '
Identifikation : '     BDDVDRW CT2'
Revision       : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
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 LAYER_JUMP
wodim: Warning: Cannot read drive buffer.
wodim: Warning: The DMA speed test has been skipped.
    ~ 