Can't locate alsa modules

Place to discuss Fedora and/or Red Hat

Can't locate alsa modules

Postby sh00der » Tue Nov 11, 2003 12:20 pm

Hi, using apt I upgraded my kernel to 2.4.20-20.8 in Red-Hat 8.0, now my sound doesn't work. If I manually load the OSS module using;

modprobe via82cxxx_audio

then the sound works through xmms but when I try to load any of the alsa modules I get;

[root@localhost root]# modprobe snd-vrmidi
modprobe: Can't locate module snd-virmidi

I have the following rpms installed;

[root@localhost root]# rpm -qa | grep alsa
alsa-lib-0.9.6-1.fr
alsa-driver-0.9.6-1.fr
alsa-patch-bay-0.5.2-1.rh80
kernel-module-alsa-0.9.6-1.fr_2.4.20_19.8
alsa-utils-0.9.6-1.fr

I noticed that kernel-module-alsa is for an older kernel but the only other one I could find was for 2.4.20_20.9 so I thought it would be better to get the older one. I tried installing the 19.8 kernel using rpm -ivh kern*** but it reported that there was a newer one installed and gave up.

Here is the sound part of my /etc/modules.conf;

# -- Keep modules from being autocleaned
add options -k snd-card-0

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-via82xx
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
options snd major=116 cards_limit=1 device_mode=0666
options snd-via82xx index=0
# --- END: Generated by ALSACONF, do not edit. ---

Please help.

BTW Void, using mozilla I can't get a check to appear in the box on the log in screen to stay logged in to your great site. It works fine using IE at work.
sh00der
scripter
scripter
 
Posts: 50
Joined: Fri Apr 18, 2003 3:00 pm

Postby Tux » Tue Nov 11, 2003 12:30 pm

You need to apt-get install kernel-module-alsa

which will give you a lst of the available RPMs for the different kernels, you then need to copy the name of the appropriate on ad then apt-get install kernel-moudule-alsa-0.9.6#2.4.0-19.8 or a name very similar.
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Void Main » Tue Nov 11, 2003 12:32 pm

You usually just can't mix one version of kernel modules with another version of the kernel for a couple of reasons. 1st off, the running kernel looks for it's modules under the "/lib/modules/`uname -r`" directory. If you do an "rpm -qil kernel-module-alsa" you will see the modules are installed under a different directory than where the running kernel is looking for them.

Chances are, copying them to the location the running kernel wants them will just produce version errors. You will have to do a "depmod -a" if you add modules, and you will probably see the version errors there. If you want to upgrade to a kernel version where there are no also modules for then you might just as well install the kernel from source making sure you compile the alsa modules. Otherwise stick to a kernel version that you have the alsa modules for. Don't know if that helps...
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Tux » Tue Nov 11, 2003 12:43 pm

Hmm, where did you obtain that kernel? Because FreshRPMs dont have the kernel modules for it :-S

In this case, Void Mains answer seems most sensible.
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby sh00der » Tue Nov 11, 2003 12:46 pm

Void, I think that does help. But how do I install the older kernel version 2.4.20-19.8 that matches the kernel-alsa-module? Do I need to force it somehow to avoid the error message about a newer kernel already being installed?
Thanks
sh00der
scripter
scripter
 
Posts: 50
Joined: Fri Apr 18, 2003 3:00 pm

Postby sh00der » Tue Nov 11, 2003 12:55 pm

Tux, I got the kernel 2.4.20-20.8 from freshrpms before realising that there wasn't a kernel-module-alsa for that version.

Synaptic reports that kernel-module-alsa for 2.4.20-19.8 is available using the following repositories,

rpm http://apt.freshrpms.net/ redhat/8.0/en/i386 os updates freshrpms
rpm-src http://apt.freshrpms.net/ redhat/8.0/en/i386 os updates freshrpms
rpm http://ayo.freshrpms.net/ redhat/8.0/en/i386 os updates
sh00der
scripter
scripter
 
Posts: 50
Joined: Fri Apr 18, 2003 3:00 pm

Postby sh00der » Tue Nov 11, 2003 1:34 pm

Thanks for your help guys, I installed the 19.8 kernel and it's working fine now. Still struggling to get midi working though :?
sh00der
scripter
scripter
 
Posts: 50
Joined: Fri Apr 18, 2003 3:00 pm


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron