View previous topic :: View next topic |
Author |
Message |
Lunpa Tux's lil' helper
Joined: 27 Jan 2004 Posts: 115 Location: mars
|
Posted: Sat Apr 09, 2005 7:18 pm Post subject: alsa modules refusing to load. |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Apr 09, 2005 7:38 pm Post subject: |
|
|
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 |
|
|
Lunpa Tux's lil' helper
Joined: 27 Jan 2004 Posts: 115 Location: mars
|
Posted: Sat Apr 09, 2005 7:49 pm Post subject: |
|
|
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 |
|
|
Lunpa Tux's lil' helper
Joined: 27 Jan 2004 Posts: 115 Location: mars
|
Posted: Mon Apr 11, 2005 2:26 am Post subject: |
|
|
*kabump* _________________ I wanna learn how to play the accordian trumpet... |
|
Back to top |
|
|
wolvie n00b
Joined: 01 Mar 2004 Posts: 32 Location: Stockholm, Sweden
|
Posted: Mon Apr 11, 2005 2:40 am Post subject: |
|
|
edit
Code: | /etc/modules.d/alsa
|
and coment the line
Code: | options snd device_mode=0666
|
then run
and load the modules |
|
Back to top |
|
|
Lunpa Tux's lil' helper
Joined: 27 Jan 2004 Posts: 115 Location: mars
|
Posted: Wed Apr 13, 2005 8:53 pm Post subject: |
|
|
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 |
|
|
tarpman Veteran
Joined: 04 Nov 2004 Posts: 1083 Location: Victoria, BC, Canada
|
Posted: Wed Apr 13, 2005 9:25 pm Post subject: |
|
|
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 |
|
|
Lunpa Tux's lil' helper
Joined: 27 Jan 2004 Posts: 115 Location: mars
|
Posted: Mon Apr 18, 2005 9:52 pm Post subject: |
|
|
We did what you said, but we got the same errors :/ _________________ I wanna learn how to play the accordian trumpet... |
|
Back to top |
|
|
|