I run win2000, and am dual booting between w2k and redhat.
After installing rh 7.0, I expand the alsa packages, then
cd alsa-driver-0.5.10
./configure --with-cards=ymfpci --with-isapnp=yes
make install
./snddevices
I then add the following lines to /etc/modules.conf
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-card-ymfpci
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
I then do
modprobe snd-card-ymfpci
Then, when I do
lsmod
I get:
Module Size Used by
nls_cp437 3876 2 (autoclean)
vfat 9404 1 (autoclean)
fat 30688 1 (autoclean) [vfat]
snd-card-ymfpci 4080 1 (initializing)
snd-ymfpci 34236 0 (autoclean) [snd-card-ymfpci]
snd-ac97-codec 23680 0 (autoclean) [snd-ymfpci]
snd-opl3 4264 0 (autoclean) [snd-card-ymfpci]
snd-hwdep 2956 0 (autoclean) [snd-opl3]
snd-mpu401-uart 2264 0 (autoclean) [snd-card-ymfpci]
snd-rawmidi 9432 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 3652 0 (autoclean) [snd-rawmidi]
ide-cd 23628 0 (autoclean)
snd-pcm-oss 16460 0 (autoclean) (unused)
snd-pcm-plugin 14248 0 (autoclean) [snd-pcm-oss]
snd-pcm 29464 0 (autoclean) [snd-ymfpci snd-pcm-oss snd-pcm-plugin]
snd-timer 8064 0 (autoclean) [snd-opl3 snd-pcm]
snd-mixer-oss 3924 0 (autoclean) [snd-pcm-oss]
snd-mixer 23356 0 (autoclean) [snd-ymfpci snd-ac97-codec snd-mixer-oss]
snd 35820 0 (autoclean) [snd-card-ymfpci snd-ymfpci snd-ac97-codec snd-opl3 snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm-oss snd-pcm-plugin snd-pcm snd-timer snd-mixer-oss snd-mixer]
soundcore 2596 0 (autoclean) [snd]
ds 6280 2
i82365 21668 2
pcmcia_core 44160 0 [ds i82365]
lockd 31176 1 (autoclean)
sunrpc 52964 1 (autoclean) [lockd]
agpgart 18600 0 (unused)
usb-uhci 19052 0 (unused)
usbcore 42088 1 [usb-uhci]
Notice it says the sound card is initializing.(?)
Then
cat /proc/asound/devices
---------- no sound cards -----------
I've upgraded the kernel, compiled sound as modules with no sound
card selected, do the above routine, and got sound. I then
cp /alsa-driver-0.5.10/utils/alsasound /etc/rc.d/rc.alsasound
cp /alsa-driver-0.5.10/utils/alsasound /etc/rc.d/init.d
ln -s /etc/rc.d/init.d/alsasound /etc/rc.d/rc3.d
ln -s /etc/rc.d/init.d/alsasound /etc/rc.d/rc5.d
After rebooting, sound continues to work, but after I boot into win2k
then back into linux the sound is broken. I know one solution, don't
use win2k, but I have to for work stuff. After sound gets broken,
when I boot into Linux, I get the message:
Jan 18 11:38:39 satpro rc.sysinit: Remounting root filesystem in read-write mode: succeeded
Jan 18 11:38:40 satpro rc.sysinit: Finding module dependencies: succeeded
Jan 18 11:38:40 satpro modprobe: /lib/modules/2.2.16-22/misc/snd-card-ymfpci.o:
Jan 18 11:38:40 satpro modprobe: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Jan 18 11:38:40 satpro rc.sysinit: Loading sound module (snd-card-0): failed
Jan 18 11:38:40 satpro modprobe: init_module: Device or resource busy
Jan 18 11:38:40 satpro modprobe: /lib/modules/2.2.16-22/misc/snd-card-ymfpci.o: insmod /lib/modules/2.2.16-22/misc/snd-card-ymfpci.o failed
Jan 18 11:38:40 satpro modprobe: /lib/modules/2.2.16-22/misc/snd-card-ymfpci.o: insmod snd-card-0 failed
So I've read thru the isapnptools docs, and realize at that point I'm
over my head, I don't understand linux well enough to thoroughly
check the resource usage and then configure my modules accordingly.
Any pointers about how to go about getting the sound problem fixed?
I'm well versed with windows, and do some c++ programming in
the windows environment for work, but in starting to learn linux
I've quickly gotten bogged down. I've downloaded what I can on linux,
and am reading it slowly, but I haven't gotten to anything that
really helps with system resource problems. Any good docs for a newbie regarding resource usage and configuring?
Thanks for whoever reads this and can help!
wil snyder
|