topic title: can't play cd
Posts: 156
caprea
Joined: 08 Jan 2014
#16
No,its with xmms and Mplayer too.
DVDs are playing,so it is not the wrong device.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#17
If its just VLC, you can set the optical drive in Tools>Preferences>Input/Codecs . About the middle of the page you should see a combo box that will list optical drives. As anti says, it could be that VLC is pointing to a different drive. (I think by default it points to /dev/sr0 OR /dev/sr1, depending on which version you install).

***edit*** just saw your post above.
Posts: 156
caprea
Joined: 08 Jan 2014
#18
Strange problem.
I don't use playing cds very often,but i like to know why it doesn't work.
So i don't know how long the problem realy exists.

Will have a look if i can still burn cds for the car.
Posts: 156
caprea
Joined: 08 Jan 2014
#19
Burning cds still works.

The computer burns a cd,but cannot read , the player in the car can read it.

But why?
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#20
caprea wrote:Hello,my pc can't read cd's anymore.It doesn't matter if they are burned or original.If i try to open them with spacefm
You cannot mount audio cds. They don't have a file system on them to mount. That is why you were getting the error messages when you tried to mount an audio cd with spacefm. You can only play audio cds, you cannot mount them. If they fail to play now, perhaps your attempts at mounting an audio cd put the cdrom device in an unhappy state.

None of your fstab entries are valid for audio cds because fstab is all about mounting devices. Also, you might be better off with a filesystem type of"auto" instead of"udf,iso9660" but as I said, these entries don't apply to audio cds.

If spacefm or some other program is trying to auto-mount your audio cds then you could try commenting out the lines in fstab for the device you want to play audio cds on. If something is trying to auto-mount your audio cds, that could possibly prevent them from playing. You might want to take a look at the dmesg output when you try to play an audio cd without trying to mount it.
Posts: 156
caprea
Joined: 08 Jan 2014
#21
Hello bitjam ,thank you for answer.
I don't know why but now I can play cds with vlc.

But not with xmms or mplayer.

Maybe you are right and i confused everything with trying to mount but even if itry to play a cd without using spacefm or mounting the dmesg tail shows the same output.
Also i saw that if i boot the pc with an audio cd inside the dmesg, just after booting and doing nothing, shows many lines with a similar output.

Code: Select all

   2.760200] Btrfs loaded
[    2.972135] Switched to clocksource tsc
[    3.122264] sr 1:0:1:0: [sr1]  
[    3.122427] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.122580] sr 1:0:1:0: [sr1]  
[    3.122726] Sense Key : Illegal Request [current] 
[    3.122952] sr 1:0:1:0: [sr1]  
[    3.123120] Add. Sense: Illegal mode for this track
[    3.123309] sr 1:0:1:0: [sr1] CDB: 
[    3.123457] Read(10): 28 00 00 00 00 00 00 00 02 00
[    3.124052] end_request: I/O error, dev sr1, sector 0
[    3.124207] Buffer I/O error on device sr1, logical block 0
[    3.124361] Buffer I/O error on device sr1, logical block 1
[    3.125994] sr 1:0:1:0: [sr1]  
[    3.126155] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.126310] sr 1:0:1:0: [sr1]  
[    3.126456] Sense Key : Illegal Request [current] 
[    3.126679] sr 1:0:1:0: [sr1]  
[    3.126828] Add. Sense: Illegal mode for this track
[    3.127025] sr 1:0:1:0: [sr1] CDB: 
[    3.127172] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.127754] end_request: I/O error, dev sr1, sector 0
[    3.127905] Buffer I/O error on device sr1, logical block 0
[    3.129521] sr 1:0:1:0: [sr1]  
[    3.129670] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.129822] sr 1:0:1:0: [sr1]  
[    3.129967] Sense Key : Illegal Request [current] 
[    3.130201] sr 1:0:1:0: [sr1]  
[    3.130350] Add. Sense: Illegal mode for this track
[    3.130536] sr 1:0:1:0: [sr1] CDB: 
[    3.130682] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.131279] end_request: I/O error, dev sr1, sector 4
[    3.131430] Buffer I/O error on device sr1, logical block 1
[    3.133066] sr 1:0:1:0: [sr1]  
[    3.133216] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.133368] sr 1:0:1:0: [sr1]  
[    3.133514] Sense Key : Illegal Request [current] 
[    3.133737] sr 1:0:1:0: [sr1]  
[    3.133887] Add. Sense: Illegal mode for this track
[    3.134089] sr 1:0:1:0: [sr1] CDB: 
[    3.134238] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.134820] end_request: I/O error, dev sr1, sector 0
[    3.134971] Buffer I/O error on device sr1, logical block 0
[    3.136586] sr 1:0:1:0: [sr1]  
[    3.136736] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.136889] sr 1:0:1:0: [sr1]  
[    3.137045] Sense Key : Illegal Request [current] 
[    3.137269] sr 1:0:1:0: [sr1]  
[    3.137418] Add. Sense: Illegal mode for this track
[    3.137604] sr 1:0:1:0: [sr1] CDB: 
[    3.137750] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.138346] end_request: I/O error, dev sr1, sector 4
[    3.138497] Buffer I/O error on device sr1, logical block 1
[    3.140418] sr 1:0:1:0: [sr1]  
[    3.140568] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.140720] sr 1:0:1:0: [sr1]  
[    3.140866] Sense Key : Illegal Request [current] 
[    3.141106] sr 1:0:1:0: [sr1]  
[    3.141257] Add. Sense: Illegal mode for this track
[    3.141445] sr 1:0:1:0: [sr1] CDB: 
[    3.141592] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.142182] end_request: I/O error, dev sr1, sector 0
[    3.142334] Buffer I/O error on device sr1, logical block 0
[    3.144427] sr 1:0:1:0: [sr1]  
[    3.144576] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.144727] sr 1:0:1:0: [sr1]  
[    3.144873] Sense Key : Illegal Request [current] 
[    3.145108] sr 1:0:1:0: [sr1]  
[    3.145258] Add. Sense: Illegal mode for this track
[    3.145445] sr 1:0:1:0: [sr1] CDB: 
[    3.145591] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.146188] end_request: I/O error, dev sr1, sector 4
[    3.146339] Buffer I/O error on device sr1, logical block 1
[    3.147954] sr 1:0:1:0: [sr1]  
[    3.148114] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.148268] sr 1:0:1:0: [sr1]  
[    3.148415] Sense Key : Illegal Request [current] 
[    3.148639] sr 1:0:1:0: [sr1]  
[    3.148788] Add. Sense: Illegal mode for this track
[    3.148976] sr 1:0:1:0: [sr1] CDB: 
[    3.149136] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.149721] end_request: I/O error, dev sr1, sector 0
[    3.149872] Buffer I/O error on device sr1, logical block 0
[    3.151487] sr 1:0:1:0: [sr1]  
[    3.151636] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.151788] sr 1:0:1:0: [sr1]  
[    3.151934] Sense Key : Illegal Request [current] 
[    3.152169] sr 1:0:1:0: [sr1]  
[    3.152318] Add. Sense: Illegal mode for this track
[    3.152504] sr 1:0:1:0: [sr1] CDB: 
[    3.152650] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.153246] end_request: I/O error, dev sr1, sector 4
[    3.154898] sr 1:0:1:0: [sr1]  
[    3.155058] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.155212] sr 1:0:1:0: [sr1]  
[    3.155358] Sense Key : Illegal Request [current] 
[    3.155582] sr 1:0:1:0: [sr1]  
[    3.155733] Add. Sense: Illegal mode for this track
[    3.155921] sr 1:0:1:0: [sr1] CDB: 
[    3.156080] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.156665] end_request: I/O error, dev sr1, sector 0
[    3.158276] sr 1:0:1:0: [sr1]  
[    3.158424] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.158576] sr 1:0:1:0: [sr1]  
[    3.158722] Sense Key : Illegal Request [current] 
[    3.158945] sr 1:0:1:0: [sr1]  
[    3.159107] Add. Sense: Illegal mode for this track
[    3.159295] sr 1:0:1:0: [sr1] CDB: 
[    3.159441] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.161538] sr 1:0:1:0: [sr1]  
[    3.161687] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.161840] sr 1:0:1:0: [sr1]  
[    3.161986] Sense Key : Illegal Request [current] 
[    3.162220] sr 1:0:1:0: [sr1]  
[    3.165309] Add. Sense: Illegal mode for this track
[    3.165496] sr 1:0:1:0: [sr1] CDB: 
[    3.165643] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.167703] sr 1:0:1:0: [sr1]  
[    3.167852] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.168018] sr 1:0:1:0: [sr1]  
[    3.168166] Sense Key : Illegal Request [current] 
[    3.168389] sr 1:0:1:0: [sr1]  
[    3.168539] Add. Sense: Illegal mode for this track
[    3.168727] sr 1:0:1:0: [sr1] CDB: 
[    3.168875] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.170945] sr 1:0:1:0: [sr1]  
[    3.171105] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.171258] sr 1:0:1:0: [sr1]  
[    3.171403] Sense Key : Illegal Request [current] 
[    3.171624] sr 1:0:1:0: [sr1]  
[    3.171772] Add. Sense: Illegal mode for this track
[    3.171958] sr 1:0:1:0: [sr1] CDB: 
[    3.172116] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.174178] sr 1:0:1:0: [sr1]  
[    3.174327] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.174479] sr 1:0:1:0: [sr1]  
[    3.174625] Sense Key : Illegal Request [current] 
[    3.174847] sr 1:0:1:0: [sr1]  
[    3.174996] Add. Sense: Illegal mode for this track
[    3.175198] sr 1:0:1:0: [sr1] CDB: 
[    3.175344] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.177438] sr 1:0:1:0: [sr1]  
[    3.177587] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.177740] sr 1:0:1:0: [sr1]  
[    3.177886] Sense Key : Illegal Request [current] 
[    3.178123] sr 1:0:1:0: [sr1]  
[    3.178273] Add. Sense: Illegal mode for this track
[    3.178460] sr 1:0:1:0: [sr1] CDB: 
[    3.178606] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.180634] sr 1:0:1:0: [sr1]  
[    3.180784] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.180936] sr 1:0:1:0: [sr1]  
[    3.181091] Sense Key : Illegal Request [current] 
[    3.181316] sr 1:0:1:0: [sr1]  
[    3.181465] Add. Sense: Illegal mode for this track
[    3.181652] sr 1:0:1:0: [sr1] CDB: 
[    3.181798] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.183811] sr 1:0:1:0: [sr1]  
[    3.183960] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.184122] sr 1:0:1:0: [sr1]  
[    3.184270] Sense Key : Illegal Request [current] 
[    3.184493] sr 1:0:1:0: [sr1]  
[    3.184642] Add. Sense: Illegal mode for this track
[    3.184828] sr 1:0:1:0: [sr1] CDB: 
[    3.184974] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.188221] sr 1:0:1:0: [sr1]  
[    3.188370] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.188522] sr 1:0:1:0: [sr1]  
[    3.188668] Sense Key : Illegal Request [current] 
[    3.188891] sr 1:0:1:0: [sr1]  
[    3.189056] Add. Sense: Illegal mode for this track
[    3.189244] sr 1:0:1:0: [sr1] CDB: 
[    3.189390] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.191560] sr 1:0:1:0: [sr1]  
[    3.191710] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.191862] sr 1:0:1:0: [sr1]  
[    3.192017] Sense Key : Illegal Request [current] 
[    3.192241] sr 1:0:1:0: [sr1]  
[    3.192390] Add. Sense: Illegal mode for this track
[    3.192577] sr 1:0:1:0: [sr1] CDB: 
[    3.192723] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.194760] sr 1:0:1:0: [sr1]  
[    3.194909] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.195070] sr 1:0:1:0: [sr1]  
[    3.195217] Sense Key : Illegal Request [current] 
[    3.195440] sr 1:0:1:0: [sr1]  
[    3.195588] Add. Sense: Illegal mode for this track
[    3.195774] sr 1:0:1:0: [sr1] CDB: 
[    3.195920] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.198026] sr 1:0:1:0: [sr1]  
[    3.198176] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.198328] sr 1:0:1:0: [sr1]  
[    3.198474] Sense Key : Illegal Request [current] 
[    3.198697] sr 1:0:1:0: [sr1]  
[    3.198845] Add. Sense: Illegal mode for this track
[    3.199046] sr 1:0:1:0: [sr1] CDB: 
[    3.199193] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.201234] sr 1:0:1:0: [sr1]  
[    3.201384] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.201537] sr 1:0:1:0: [sr1]  
[    3.201683] Sense Key : Illegal Request [current] 
[    3.201906] sr 1:0:1:0: [sr1]  
[    3.202069] Add. Sense: Illegal mode for this track
[    3.202258] sr 1:0:1:0: [sr1] CDB: 
[    3.202405] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.204500] sr 1:0:1:0: [sr1]  
[    3.204649] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.204802] sr 1:0:1:0: [sr1]  
[    3.204947] Sense Key : Illegal Request [current] 
[    3.205181] sr 1:0:1:0: [sr1]  
[    3.205330] Add. Sense: Illegal mode for this track
[    3.205516] sr 1:0:1:0: [sr1] CDB: 
[    3.205661] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.207877] sr 1:0:1:0: [sr1]  
[    3.208038] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.208191] sr 1:0:1:0: [sr1]  
[    3.208338] Sense Key : Illegal Request [current] 
[    3.208561] sr 1:0:1:0: [sr1]  
[    3.208709] Add. Sense: Illegal mode for this track
[    3.208895] sr 1:0:1:0: [sr1] CDB: 
[    3.209052] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.211140] sr 1:0:1:0: [sr1]  
[    3.211289] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.211441] sr 1:0:1:0: [sr1]  
[    3.211587] Sense Key : Illegal Request [current] 
[    3.211810] sr 1:0:1:0: [sr1]  
[    3.211958] Add. Sense: Illegal mode for this track
[    3.212161] sr 1:0:1:0: [sr1] CDB: 
[    3.212308] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.214295] sr 1:0:1:0: [sr1]  
[    3.214444] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.214595] sr 1:0:1:0: [sr1]  
[    3.214740] Sense Key : Illegal Request [current] 
[    3.214962] sr 1:0:1:0: [sr1]  
[    3.215124] Add. Sense: Illegal mode for this track
[    3.215312] sr 1:0:1:0: [sr1] CDB: 
[    3.215458] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.217580] sr 1:0:1:0: [sr1]  
[    3.217730] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.217882] sr 1:0:1:0: [sr1]  
[    3.218039] Sense Key : Illegal Request [current] 
[    3.218264] sr 1:0:1:0: [sr1]  
[    3.218413] Add. Sense: Illegal mode for this track
[    3.218599] sr 1:0:1:0: [sr1] CDB: 
[    3.218745] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.220743] sr 1:0:1:0: [sr1]  
[    3.220893] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.221056] sr 1:0:1:0: [sr1]  
[    3.221204] Sense Key : Illegal Request [current] 
[    3.221427] sr 1:0:1:0: [sr1]  
[    3.221576] Add. Sense: Illegal mode for this track
[    3.221763] sr 1:0:1:0: [sr1] CDB: 
[    3.221910] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.224024] sr 1:0:1:0: [sr1]  
[    3.224173] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.224325] sr 1:0:1:0: [sr1]  
[    3.224471] Sense Key : Illegal Request [current] 
[    3.224694] sr 1:0:1:0: [sr1]  
[    3.224842] Add. Sense: Illegal mode for this track
[    3.225044] sr 1:0:1:0: [sr1] CDB: 
[    3.225192] Read(10): 28 00 00 00 00 00 00 00 01 00
[    3.227182] sr 1:0:1:0: [sr1]  
[    3.227331] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.227483] sr 1:0:1:0: [sr1]  
[    3.227629] Sense Key : Illegal Request [current] 
[    3.227853] sr 1:0:1:0: [sr1]  
[    3.228016] Add. Sense: Illegal mode for this track
[    3.228204] sr 1:0:1:0: [sr1] CDB: 
[    3.228350] Read(10): 28 00 00 00 00 01 00 00 01 00
[    3.230738] sr 1:0:1:0: [sr1]  
[    3.230888] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.231055] sr 1:0:1:0: [sr1]  
[    3.231201] Sense Key : Illegal Request [current] 
[    3.231424] sr 1:0:1:0: [sr1]  
[    3.231573] Add. Sense: Illegal mode for this track
[    3.231758] sr 1:0:1:0: [sr1] CDB: 
[    3.231904] Read(10): 28 00 00 00 00 04 00 00 01 00
[    3.234434] sr 1:0:1:0: [sr1]  
[    3.234584] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.234737] sr 1:0:1:0: [sr1]  
[    3.234882] Sense Key : Illegal Request [current] 
[    3.235119] sr 1:0:1:0: [sr1]  
[    3.235269] Add. Sense: Illegal mode for this track
[    3.235455] sr 1:0:1:0: [sr1] CDB: 
[    3.235601] Read(10): 28 00 00 00 00 05 00 00 01 00
[    3.237617] sr 1:0:1:0: [sr1]  
[    3.237766] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.237917] sr 1:0:1:0: [sr1]  
[    3.238073] Sense Key : Illegal Request [current] 
[    3.238297] sr 1:0:1:0: [sr1]  
[    3.238445] Add. Sense: Illegal mode for this track
[    3.238631] sr 1:0:1:0: [sr1] CDB: 
[    3.238777] Read(10): 28 00 00 00 00 20 00 00 01 00
[    3.240777] sr 1:0:1:0: [sr1]  
and hundred lines more

Anyway, one player that works is enough for me.Thank you for help.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#22
caprea wrote: i saw that if i boot the pc with an audio cd inside the dmesg, just after booting and doing nothing, shows many lines with a similar output.
There does seem to be a problem here. Unless your system boots to the desktop in 3 seconds, these errors are occurring before X and the window manager have even started.

What kernel are you using (inxi -F)?

I wonder if anyone else can replicate this? Google is not helpful because there too much noise about mounting/playing audio cds in general.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#23
is it possible that sr1 is the odd hardware caprea mentioned earlier in the thread?
Posts: 156
caprea
Joined: 08 Jan 2014
#24
The system boots fine every time (7 sec)

[code$ inxi -F
System: Host: freya Kernel: 3.12.3-antix.2-486-smp i686 (32 bit)
Desktop: IceWM 1.3.7
Distro: antiX-13.2_386-full Luddite 4 November 2013
Machine: Mobo: MSI model: MS-6590 v: 1.0
Bios: American Megatrends v: Version 07.00T date: 04/02/01
CPU: Single core AMD Athlon (-UP-) cache: 256 KB clocked at 1150 MHz
Graphics: Card: NVIDIA NV11 [GeForce2 MX/MX 400]
Display Server: X.Org 1.15.1 drivers: nouveau (unloaded: fbdev,vesa)
Resolution: 1280x1024@85.0hz
GLX Renderer: Mesa DRI nv11 x86/MMX+/3DNow!+/SSE
GLX Version: 1.2 Mesa 10.1.2
Audio: Card C-Media CMI8738/CMI8768 PCI Audio driver: snd_cmipci
Sound: ALSA v: k3.12.3-antix.2-486-smp
Network: Card: VIA VT6102 [Rhine-II] driver: via-rhine
IF: eth0 state: down mac: 00:50:ba:eb:64:1e
Drives: HDD Total Size: 80.0GB (7.3% used)
ID-1: /dev/sda model: WDC_WD800AB size: 80.0GB
Partition: ID-1: / size: 39G used: 5.5G (16%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 85 Uptime: 9 min Memory: 170.6/2023.7MB
Client: Shell (bash) inxi: 2.1.18
][/code]

The lines with sr1 in dmesg appear only if i boot with an audio-cd inside,
but not with a DVD inside
Posts: 156
caprea
Joined: 08 Jan 2014
#25
Same with 3.14.3-antix.1-486-smp
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#26
Well, maybe I was wrong and it is supposed to do that although it seems nuts to me to fill up the ring buffer with useless messages.

If your total boot time is really only 7 seconds then you could try is to boot into runlevel 3 using a"3" boot parameter. This will prevent X from starting and you can log into a virtual console to check dmesg.

If you don't get the flood then that means it is probably caused by some auto-mounting code perhaps in your ~/.$WINDOW-MANAGER/startup script. My gut feeling is that this is the most likely explanation. Then, if the gods are smiling upon us, when you disable the auto-mounting, the flood will stop and the other programs will be able to play the cd.

I have a couple of other ideas but they are more far-fetched.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#27
BitJam wrote:I wonder if anyone else can replicate this?
I have a few systems with 1 or 2 optical drives. If tests are still wanted I can try them if it will help. What test is wanted? The systems are all hard disk antiX installations, various kernels, IIRC running Stable repo.

Edit:
There is also a system with 2xoptical drives that boots 14Ra1 Live OK from CD-ROM,
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#28
Thanks SamK! I want to know if the output of the"dmesg" command gets filled with messages like those posted above by caprea when you boot when there is an audio cd in one of the optical drives. If you don't get the flood of message then for bonus points try uncommenting

Code: Select all

#spacefm -d 
in the startup file of your window manager and trying again.

I doubt the kernel would be doing this on its own. That seems to leave: the Debian initramfs, some kind of automounting gone awry, or maybe a problem with udev.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/auto-start-devices-t4166.html"
linktext was:"Here"
====================================
are instructions for using spaceFM to autoplay an audio cd when it is plugged in.

Ah, maybe the problem is caused by that kind of auto-starting combined with entries in the fstab like:

Code: Select all

/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
Maybe the problem would go away if caprea just comments out those entries. I'm grasping at straws here.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#29
BitJam wrote:I want to know if the output of the"dmesg" command gets filled with messages like those posted above by caprea when you boot when there is an audio cd in one of the optical drives. If you don't get the flood of message then for bonus points try uncommenting

Code: Select all

#spacefm -d 
in the startup file of your window manager and trying again.
Test Results

Performed on hardware from different manufacturers
Similar results obtained

Kernel: 3.7.10-antix.7-486-smp
IceWM startup: #spacefm -d
Audio CD autoplay: No

[...]
[ 2.170046] sr 1:0:0:0: [sr0]
[ 2.170050] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2.170053] sr 1:0:0:0: [sr0]
[ 2.170055] Sense Key : Illegal Request [current]
[ 2.170060] sr 1:0:0:0: [sr0]
[ 2.170066] Add. Sense: Illegal mode for this track
[ 2.170070] sr 1:0:0:0: [sr0] CDB:
[ 2.170072] Read(10): 28 00 00 00 00 20 00 00 02 00
[ 2.170081] end_request: I/O error, dev sr0, sector 128
[ 2.170241] Buffer I/O error on device sr0, logical block 32
[ 2.170411] Buffer I/O error on device sr0, logical block 33
[ 2.172538] sr 1:0:0:0: [sr0]
[ 2.172540] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2.172544] sr 1:0:0:0: [sr0]
[ 2.172545] Sense Key : Illegal Request [current]
[ 2.172549] sr 1:0:0:0: [sr0]
[ 2.172553] Add. Sense: Illegal mode for this track
[ 2.172557] sr 1:0:0:0: [sr0] CDB:
[ 2.172558] Read(10): 28 00 00 00 00 20 00 00 01 00
[ 2.172567] end_request: I/O error, dev sr0, sector 128
[ 2.172724] Buffer I/O error on device sr0, logical block 32
[ 2.174753] sr 1:0:0:0: [sr0]
[ 2.174755] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2.174758] sr 1:0:0:0: [sr0]
[ 2.174760] Sense Key : Illegal Request [current]
[ 2.174764] sr 1:0:0:0: [sr0]
[ 2.174768] Add. Sense: Illegal mode for this track
[ 2.174771] sr 1:0:0:0: [sr0] CDB:
[ 2.174773] Read(10): 28 00 00 00 00 21 00 00 01 00
[ 2.174781] end_request: I/O error, dev sr0, sector 132
[ 2.174939] Buffer I/O error on device sr0, logical block 33
[ 2.178045] sr 1:0:0:0: [sr0]
[ 2.178047] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2.178050] sr 1:0:0:0: [sr0]
[ 2.178052] Sense Key : Illegal Request [current]
[ 2.178056] sr 1:0:0:0: [sr0]
[ 2.178060] Add. Sense: Illegal mode for this track
[ 2.178063] sr 1:0:0:0: [sr0] CDB:
[ 2.178065] Read(10): 28 00 00 00 80 00 00 00 04 00
[ 2.178073] end_request: I/O error, dev sr0, sector 131072
[ 2.178237] Buffer I/O error on device sr0, logical block 32768
[ 2.178412] Buffer I/O error on device sr0, logical block 32769
[ 2.178588] Buffer I/O error on device sr0, logical block 32770
[ 2.178763] Buffer I/O error on device sr0, logical block 32771
[ 2.182776] sr 1:0:0:0: [sr0]
[ 2.182778] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2.182782] sr 1:0:0:0: [sr0]
[ 2.182783] Sense Key : Illegal Request [current]
[ 2.182787] sr 1:0:0:0: [sr0]
[ 2.182791] Add. Sense: Illegal mode for this track
[ 2.182795] sr 1:0:0:0: [sr0] CDB:
[ 2.182796] Read(10): 28 00 00 00 80 00 00 00 01 00
[ 2.182804] end_request: I/O error, dev sr0, sector 131072
[ 2.182968] Buffer I/O error on device sr0, logical block 32768
[ 2.184750] sr 1:0:0:0: [sr0]
[ 2.184753] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2.184756] sr 1:0:0:0: [sr0]
[ 2.184758] Sense Key : Illegal Request [current]
[ 2.184762] sr 1:0:0:0: [sr0]
[ 2.184766] Add. Sense: Illegal mode for this track
[ 2.184769] sr 1:0:0:0: [sr0] CDB:
[ 2.184771] Read(10): 28 00 00 00 80 01 00 00 01 00
[ 2.184779] end_request: I/O error, dev sr0, sector 131076
[...]

fstab
[...]
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
[...]


Off Topic

I'm uncertain how much value to place on the above results. Over a long period I have found using optical drives in antiX to be unpredicatable across a wide range of hardware. There is no pattern I can discern.

For example on two of the three systems tested today, once antiX had booted, the tray could not be ejected using the physical button on the tray face. Ejecting via ROX-Filer or SpaceFM was possible. Then without notice these methods also failed. Once this failure condition is present often running the following command in a terminal will do the trick.

Code: Select all

sudo eject -i [on off]
This usually works but now returns the following error message on one system.

Code: Select all

eject: tried to use '/dev/cdrom' as device name but it is no block device
eject: unable to find or open device for: 'cdrom'
I picked up the tip to use eject -i from a post by another forum user some time ago so I am reasonably sure the issues are seen more widely than the kit in use here.

I don't know if the additional info helps with the posted problem, but is mentioned in case in case it assists with diagnosis. I do not recall a similar matter using CD-ROMs in Tinycore.


Edited to improve clarity.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#30
Thanks SamK. Can you comment out those two lines in fstab and try again?

I do think this problem may be related to the eject problems you have had. My experience (from a while ago) was that if you get a bunch of errors from a device then something eventually gives up and you lose the ability to eject.

Another approach would be to boot with a LiveUSB when an audio CD is inserted. Use"bp=8" and"from=usb" See if the error messages are in the dmesg output at the breakpoint. If not, but if they do appear after you cmplete the boot process then the culprit could be udev.