Page 4 of 5
Re: Music CD blocked system
Posted: 4. Nov 2009, 13:47
by jpg153

uff, what simple!
Thanks!
Now that I can make noise....why does totem crash the system and why doesnot exaile play the CD?
Its easy to say: get
this app, when
that doesnot run - but what is the cause, reason, explanation?
Re: Music CD blocked system
Posted: 4. Nov 2009, 18:39
by gapan
thenktor wrote:@ gapan: Modern CD-Audio players play the same way than CD-Rippers do. The extract the audio data and send it as PCM to the soundcard. In the past the CD-Players only started the play process of the CD drive, which than acted like a real CD-Player: the drive sent the signal over an analog output to a line-in at the soundcard. The software on the PC had nothing to do with it. Some CD drives even hat the play button on the front.
Interesting, didn't know that. But, last time I used a computer to
play an audio CD was... well, I think it wasn't this century, really.

Re: Music CD blocked system
Posted: 4. Nov 2009, 21:25
by thenktor
gapan wrote:Interesting, didn't know that. But, last time I used a computer to
play an audio CD was... well, I think it wasn't this century, really.

I don't play Audio-CDs, too

But I remember XMMS was the first program I've used, that did it this way and there should be many around this times. I don't have an cable from cdrom to soundcard since ages, but I think I have no problems in playing Audio-CDs.
@ jpg153: No real idea about your problem. What do these commands say:
cdrecord -scanbus
cdrecord dev=/dev/sr0 -checkdrive
cdrecord dev=/dev/sr1 -checkdrive
Just to get a bit more info, but no real idea. You also can install burncdda via slapt-get and try to copy a CD.
Re: Music CD blocked system
Posted: 4. Nov 2009, 22:57
by jpg153
ok not a bad idea
as user I did
the answer was something like
Code: Select all
permission denied
Cannot open '/dev/sg0'.
Cannot open or use SCSI driver.
Question is, which SCSI driver? I have 2 SCSI host adapters, 1 with Symbios chipset (U160) and 1 with Initio (UW) chipset, using different SCSI drivers - at least this was the case in Zenwalk 5.x and 6.0...
I have so far NO IDE, PATA or SATA devices.
In Zenwalk I always used the so called SCSI kernel.
Is Salix different?
Further, after I became root, I again keyed in
Result (guess!)
Dead Frozen!

Re: Music CD blocked system
Posted: 5. Nov 2009, 00:15
by thenktor
Hmm, that's bad. What about your hard disks? They are scsi, too?
If cdrecord -scanbus freezes your machine, what happens if you just mount a normal cd-rom? Does it work or freeze?
Re: Music CD blocked system
Posted: 5. Nov 2009, 19:46
by jpg153
Well,
no IDE, PATA or SATA device means really
no such thing
I have 1 72GB drive attached to the SCSI U160 (Symbios).
The 2 CD drives (1 CD-ROM, 1CD-writer) are connetced to the Initio UW adapter.
Reason is, if I would attach the CD drives to the U160, then it would reduce the whole SCSI system to SCSI-2 level = 20MB/s...
Anyway, I installed Salix and Zenwalk without any problem from/to that drives...
But will check!
Re: Music CD blocked system
Posted: 5. Nov 2009, 20:08
by jpg153
I put in a CD-ROM with pictures and thunar came up - no problem.
But in a terminal I had exactly the same effect - no use of the SCSI driver and after becoming root all was frozen...
Yesterday evening I ran dmesg and logged the output in a file. But it is more than 500 lines...
Can anyone tell if there is something obscure in it, if I would upload (to where?) ?
Re: Music CD blocked system
Posted: 5. Nov 2009, 21:37
by thenktor
You can upload such stuff to pastebin.com or a similiar site

Re: Music CD blocked system
Posted: 5. Nov 2009, 21:48
by jpg153
Re: Music CD blocked system
Posted: 9. Nov 2009, 21:19
by jpg153
Well,
did some further investigation (and caught some freezes as well

)...
cdrecord not responding on -scanbus when not root seems ok or normal behaviour.
As root cdrecord doesnot crash when I specifically query against the CD writer. Same queries against the CD ROM drive might fail, luckily not all. cdrecord returns 2 warnings when trying to access the CD ROM drive.
It seems that there was also a problem with host setup (the INITIO type), which did not create problems under OS/2-eCS, but here. So I corrected them. The setup is now matching exactly (less optimistic) the drives specs at the lower end.
Apart from that the CD ROM drives seems a bit defective. As both CD drives are rather old (not to say ancient) I will probably get a new DVD writer and a DVD reader - well depends on cost of course, but I think to remember, each will cost around 30 EUR, so no big investment anyway.
Still I dont like to change hardware without knowing what exactly has failed...
Even with the changes in the adapter setup, none of the standard apps is reading the music-CDs properly....
The man pages of cdrecord state that the generic SCSI driver in Linux is not complete and doesnot respond to all standard SCSI commands, so is not 100% compatible to the SCSI standard, causing some trouble with cdrecord. But what exactly
So I now know how to avoid the crashes, but I dont know why they occur...
