Re: Loading new ALSA modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 Aug 2007, Wallace, Brooke wrote:

> This may be a sily question, but I just compiled that latest version of
> Alsa drivers for my system and I'd like to load them and test them out.
>
> The problem I have is that I've already got alsa drivers installed (as
> return by lsmod). So when I try to unload those modules I get a Seg
> Fault error:
>
>> sudo modprobe -r snd_azx
> sh: line1: 7204 Segmentation fault  /usr/sbin/alsactl store >/dev/null
> 2>&1

Hmm. Obviously your system is set up to run a script when your modules is
downloaded, and the program alsactl is problematic. Did you install those
new libraries etc. If so you seem to have a problem. 
You could just do 
rmmod snd_azx
instead of using modprobe. If you look in /etc/modprobe.conf or one of the
files in /etc/modprobe.d/ you will presumably see that the snd_azx module
has a command to run alsactl befor unloading the module.


>
> Am I missing something here? What are the proper steps to unload a
> module, and then load in a new version of the module?
>
> This doesn't seem to be covered in any documentation. Most of what I can
> find just talks about loading in new modules fro the first time. Don't I
> have to unload the old one first?
>
> The system is Redhat - linux 2.6.9-34.ELsmp
>
> The sound modules I want to unload are: snd_azx, snd_pcm_oss,
> snd_mixer_oss, snd_pcm, snd_timer, snd, snd_page_alloc So I can replace
> them with the newwly compiled modules.
>
> Actually, it looks like snd_azx is no longer loaded.... Still I'm a bit
> confused about the error message. modprobe is not a shell script.
>
> Ok, I think the error must be because its trying to run my newwly
> compiled version of alsactl. Guess I should have either not installed
> the new stuff, or unloaded the older modules first... Wish there was
> more documentation on this stuff...
>
> -Brooke
>

-- 
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux