Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa modules refusing to load.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Lunpa
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 115
Location: mars

PostPosted: Sat Apr 09, 2005 7:18 pm    Post subject: alsa modules refusing to load. Reply with quote

A friend of mine is having an odd problem with alsa.
We recently recompiled his kernel so he could take advantage of some changes he did to his make.conf.

Once we finished, we re-merged alsa-driver so it would work with the new kernel, but upon rebooting, the modules associated with sound refused to load.

We tried re-emerging diffierent versions of alsa, some refused to merge alltogether, others emerged fine, but refused to work.

we gave up on the external alsa-driver, unmered ALL of alsa on his system, and started fresh in the howto with the kernel alsa-drivers (as modules).

Burnt down, fell over, and then sunk into tho swamp. Here is the error message from one of the modules when I try to modprobe it:
Code:

# modprobe snd_cs4281           
FATAL: Error inserting snd_cs4281 (/lib/modules/2.6.11.5/alsa-driver/pci/snd-cs4281.ko): Unknown symbol in module, or unknown parameter (see dmesg)

I reacognize this error from a problem I can't remember with the nvidia drivers (external).
I think it might be a version miss-match between alsa-driver (in kernel) and things like alsa-headers and alsa-lib (from ebuild). Am I right? If so, how do I figure out wich version the kernel has in it?

Helps are apreciated ^^


[edit]
Btw, the kernel he is using is 2.6.11.5 from kernel.org, I believe...
_________________
I wanna learn how to play the accordian trumpet...
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Apr 09, 2005 7:38 pm    Post subject: Reply with quote

alsa-headers still on the system?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Lunpa
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 115
Location: mars

PostPosted: Sat Apr 09, 2005 7:49 pm    Post subject: Reply with quote

Code:
#emerge -p alsa-headers

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-sound/alsa-headers-1.0.9_rc2 [1.0.8]

Yes. Everything looks like it was set up as it should be, but modules are being irritating.
_________________
I wanna learn how to play the accordian trumpet...
Back to top
View user's profile Send private message
Lunpa
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 115
Location: mars

PostPosted: Mon Apr 11, 2005 2:26 am    Post subject: Reply with quote

*kabump*
_________________
I wanna learn how to play the accordian trumpet...
Back to top
View user's profile Send private message
wolvie
n00b
n00b


Joined: 01 Mar 2004
Posts: 32
Location: Stockholm, Sweden

PostPosted: Mon Apr 11, 2005 2:40 am    Post subject: Reply with quote

edit
Code:
/etc/modules.d/alsa


and coment the line

Code:
options snd device_mode=0666


then run
Code:
modules-update


and load the modules
Back to top
View user's profile Send private message
Lunpa
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 115
Location: mars

PostPosted: Wed Apr 13, 2005 8:53 pm    Post subject: Reply with quote

no such line. I checked /etc/devsd.conf for malformed permissions aswell, but they match what the howto sugests in the docs.
Code:

LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660



btw, here is the /etc/modules.d/alsa file:
Code:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.co$

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-cs4281
##  OSS/Free portion
alias sound-slot-0 snd-cs4281
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
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
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss



Problem still exists :/
_________________
I wanna learn how to play the accordian trumpet...
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Wed Apr 13, 2005 9:25 pm    Post subject: Reply with quote

I had this problem too when the new ALSA drivers were released.

$ su -
# emerge sync
# emerge -uD --newuse world
# echo 'media-sound/alsa-headers -~x86' >> /etc/portage/package.keywords
# echo 'media-libs/alsa-lib -~x86' >> /etc/portage/package.keywords
# emerge --oneshot -uD --newuse alsa-headers alsa-lib

and then recompile the kernel again, making sure of course that any and all ALSA stuff you need is set to build for modules and OSS support is disabled. alsa-oss, alsa-utils, etc seem to work OK despite the version mismatch.

# mount /boot
# cd /usr/src/linux
# make menuconfig
# make && make modules && make modules_install && make install
# alsaconf
# modules-update
# reboot
Back to top
View user's profile Send private message
Lunpa
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 115
Location: mars

PostPosted: Mon Apr 18, 2005 9:52 pm    Post subject: Reply with quote

We did what you said, but we got the same errors :/
_________________
I wanna learn how to play the accordian trumpet...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum