You are not logged in.
Hello
I use Arch with KDE Plasma, my system is fully updated.
When I open Kodi while an audio CD is inserted, kernel log reports errors:
[seg mai 5 00:21:25 2025] scsi_io_completion_action: 6 callbacks suppressed
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#13 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#13 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#13 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#13 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[seg mai 5 00:21:25 2025] blk_print_req_error: 6 callbacks suppressed
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#24 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#24 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#24 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#24 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] buffer_io_error: 4 callbacks suppressed
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 0, async page read
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#25 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#25 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#25 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#25 CDB: Read(10) 28 00 00 00 00 01 00 00 01 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 1, async page read
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#26 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#26 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#26 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#26 CDB: Read(10) 28 00 00 00 01 00 00 00 02 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 1024 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#27 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#27 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#27 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#27 CDB: Read(10) 28 00 00 00 01 00 00 00 01 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 1024 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 256, async page read
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#28 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#28 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#28 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#28 CDB: Read(10) 28 00 00 00 01 01 00 00 01 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 1028 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 257, async page read
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#29 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#29 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#29 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#29 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 0, async page read
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#30 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#30 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#30 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#30 CDB: Read(10) 28 00 00 00 00 01 00 00 01 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 1, async page read
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#14 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#14 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#14 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#14 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 0, async page read
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#0 Add. Sense: Illegal mode for this track
[seg mai 5 00:21:25 2025] sr 5:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 01 00 00 01 00
[seg mai 5 00:21:25 2025] I/O error, dev sr0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 1, async page read
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 256, async page read
[seg mai 5 00:21:25 2025] Buffer I/O error on dev sr0, logical block 257, async page readI can reproduce these i/o errors with two audio CDs.
When I try to play the CD, Kodi hangs for a few minutes saying "Fetching CD information", then a list of discs shows up, I choose an option from it and finally the audio CD plays.
Any idea on why these i/o errors occur, and how to stop them?
Thanks for reading.
Last edited by Strangiato (2025-05-05 14:28:45)
Offline
"AU·DI·O-C·D"?
What's that?![]()
I suspect kodi is trying to get the cddb information.
1. does
cd-info --no-header --no-disc-mode --no-device-info -I -T --cddb-server="gnudb.gnudb.org" trigger the same?
https://archlinux.org/packages/extra/x86_64/libcdio/
2. does
mpv --geometry=360x120-64+32 --video-unscaled=yes --force-window=yes "cdda://2"? (and does it play your possibly less-than-redbook compliant disc?)
Offline
The first command gets stuck for a few minutes and then says:
cd-info --no-header --no-disc-mode --no-device-info -I -T --cddb-server="gnudb.gnudb.org"
CD location : /dev/cdrom
CD driver name: GNU/Linux
access mode: IOCTL
__________________________________
Media Catalog Number (MCN): 0000000000000
Last CD Session LSN: 0
audio status: invalid
__________________________________
CD Analysis Report
No CD-TEXT on Disc.The second command does not play the cd and says:
$ mpv --geometry=360x120-64+32 --video-unscaled=yes --force-window=yes "cdda://2"
++ WARN: Can't get file status for 2:
No such file or directory
++ WARN: could not retrieve file info for `2': No such file or directory
++ WARN: can't open nrg image file 2 for reading
[cdda] Can't open CDDA device.
Failed to open cdda://2.Offline
mpv --geometry=360x120-64+32 --video-unscaled=yes --force-window=yes "cdda://" --start='#4'(cdda://2 is bad syntax and tries to use "2" as sr0 device, sorry - it's been a minute
)
Offline
mpv produces no error in the kernel log and plays the disc as expected.
Offline
Can you also just play starting at track #0?
mpv --geometry=360x120-64+32 --video-unscaled=yes --force-window=yes "cdda://"Unfortunately it doesn't seem to be possible to disable cddb queries w/ kodi, are those commercial discs which might or not use some copy protection stuff?
Offline
Yes, the disc plays. It's a commercial disc without copy protection.
Edit:
I have just disabled cddb queries in Kodi settings, but the errors in the kernel log persist.
Last edited by Strangiato (2025-05-05 14:23:27)
Offline
cd-info -C /dev/sr0 -I -T --cddb-server="gnudb.gnudb.org"And I assume that call will also trigger those errors?
Offline
cd-info -C /dev/sr0 -I -T --cddb-server="gnudb.gnudb.org"And I assume that call will also trigger those errors?
No error in the kernel log this time.
Offline
'key so the cddb query doesn't trigger it either (did you get meaningful cddb data from this, btw?)
https://forum.kodi.tv/showthread.php?tid=72323
Seems to have been caused by trying to control the drives speed?
Offline
I have never done any speed control with my drive.
Offline
The suspicion would be that kodi does (nb the thread was from 2010)
Offline