Music CD blocked system

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Music CD blocked system

Post by jpg153 »

:oops: 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?
Regards Gruß
jpg
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Music CD blocked system

Post 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. :D
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Music CD blocked system

Post 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. :D
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.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Music CD blocked system

Post by jpg153 »

ok not a bad idea :!:

as user I did

Code: Select all

cdrecord -scanbus
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

Code: Select all

cdrecord -scanbus
Result (guess!) :?: :?: :?:


Dead Frozen! :evil: :evil: :evil:
Regards Gruß
jpg
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Music CD blocked system

Post 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?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Music CD blocked system

Post 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!
Regards Gruß
jpg
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Music CD blocked system

Post 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... :evil:

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?) ?
Regards Gruß
jpg
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Music CD blocked system

Post by thenktor »

You can upload such stuff to pastebin.com or a similiar site ;)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Music CD blocked system

Post by jpg153 »

Regards Gruß
jpg
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Music CD blocked system

Post by jpg153 »

Well,

did some further investigation (and caught some freezes as well :evil: )...

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... :?
Regards Gruß
jpg
Post Reply