unable to mount a CD


Forum: HD Install
Topic: unable to mount a CD
started by: IInatas

Posted by IInatas on Oct. 15 2007,12:05
Hi,

I installed DSL 4.0 RC5 on a Compaq Presario 1207
(32Mb RAM, 1,7Gb HDD, CDROM, Floppy, fb800x600)
and the installation work out easy and swift.

The only thing to have a music playing typewriter is the DSL-package of abiwork and some ogg music files. So I burned the files on a CD and verfied it.
The problem is that I can't mount the CD nor can I play a music CD via xmms (digital track reading is nessesary).
Playing the music tracks via xmms (anaolg) works, but since there is no cable connection to the soundcard I won't hear a tone.

What might be the problem or is there a workaround ?

Regards,
Marcus

Posted by mikshaw on Oct. 15 2007,13:29
Quote
since there is no cable connection to the soundcard
This might be your problem.

Posted by IInatas on Oct. 15 2007,13:38
Hi mikshaw,

you are right :)
the missing cable will prevent hearing music while playing xmms in analog mode.
The more importend problem is that xmms can't use the digital mode to access the tracks.
The thing is that mount can't access the CDROM neighter can XMMS.

Regards,
Marcus

Posted by mikshaw on Oct. 15 2007,14:07
So the mount command actually fails? This should have nothing to do with an audio cable, but more likely an issue with your drive. You're sure this is an ogg CD you're trying to mount, and not an audio CD? Some burning software might automatically convert the ogg files to CD tracks.
Posted by IInatas on Oct. 15 2007,14:12
this is a normal data-CD - I verified it with another Linux system.
That should not be the problem.

Regards,
Marcus

Posted by IInatas on Oct. 16 2007,07:45
I found the problem :D
the DMA support was activated for both IDE drives the HDD (it's ok) and for /dev/hdc (it's not ok).
A
Code Sample
hdparm -d0 /dev/hdc
solved the problem.

:;): But how do I change it in a config file ??

Regards,
Marcus

Posted by mikshaw on Oct. 16 2007,13:51
Well, congrats on finding the answer. I wouldn't have suspected dma.

You apparently have "dma" in your boot options. I'd remove that and add device-specific command to /opt/bootlocal.sh (and make sure that file is backed up and restored).

Something like this should work:
Code Sample
for DEVICE in hda1 hda2 hdd; do
hdparm -d1 /dev/${DEVICE}
done

Replace the device names in the first line with your own

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.