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

Re: Bingo: Sound on 2.6.12-rc4 :::)))



Hi,

On 5/15/05, Wolfgang Pfeiffer <roto@gmx.net> wrote:
> Hi All
> 
> Sound is back. For future reference a small report:
> 
> Sound did not start here on a fresh 2.6.12-rc4.
> 
> Here: PowerMac Snapper on a Titanium IV, Debian/unstable.
> 
> Old alsa-error situation:
> 
> # lsmod | grep sound
> dmasound_pmac          84480  0
> dmasound_core          20240  1 dmasound_pmac
> soundcore               8324  1 dmasound_core
> root@ 21:31:52:# modprobe snd
> FATAL: Error inserting snd
> (/lib/modules/2.6.12-rc4-selinux1/kernel/sound/core/snd.ko): Unknown
> symbol in module, or unknown parameter (see dmesg)
> 
> And  grepping dmesg on snd gave this:
> 
> [   34.365598] snd: Unknown parameter `device_mode'
> [   34.381799] snd_timer: Unknown symbol snd_info_register
> [   34.389288] snd_timer: Unknown symbol snd_info_create_module_entry
> [   34.396686] snd_timer: Unknown symbol snd_info_free_entry
> [   34.404163] snd_timer: Unknown symbol snd_iprintf
> [   34.411304] snd_timer: Unknown symbol snd_ecards_limit
> [   34.418330] snd_timer: Unknown symbol snd_oss_info_register
> [   34.425260] snd_timer: Unknown symbol snd_unregister_device
> [   34.432109] snd_timer: Unknown symbol snd_device_new
> [   34.438836] snd_timer: Unknown symbol snd_kmalloc_strdup
> [   34.445549] snd_timer: Unknown symbol snd_info_unregister
> [   34.452123] snd_timer: Unknown symbol snd_register_device
> [   34.484151] snd: Unknown parameter `device_mode'
> [   34.499941] snd_timer: Unknown symbol snd_info_register
> 
>              [and bla bla bla lots more of that crap]
> 
> Obviously option `device_mode' was the culprit for the error:
> 
> I got sound back by doing the following:
> 
> I changed
> /etc/modutils/alsa-base:
> 
>  diff -u /etc/modutils/alsa-base /etc/modutils/alsa-base.05.05.15
> --- /etc/modutils/alsa-base     2005-05-15 21:51:02.000000000 +0200
> +++ /etc/modutils/alsa-base.05.05.15    2005-05-15 21:50:37.000000000 +0200
> @@ -1,5 +1,5 @@
>  # snd module options
> -# options snd device_mode=0660
> +options snd device_mode=0660
>  # autoloader aliases
>  alias char-major-116 snd
>  alias char-major-14 soundcore
> 
> So as you can see I commented out completely "options snd" in this
> file: Are there any options being useful to be set there?
> 
> And I also changed
> /etc/alsa/modutils/1.0
>
I run 2.6.12-rc4 without problem and I don't have this file. 
Why one need "modutils" for kernel 2.6 ?

Regards,

Bin Z.
 
> $ diff -u /etc/alsa/modutils/1.0 /etc/alsa/modutils/1.0.050515
> --- /etc/alsa/modutils/1.0      2005-05-15 21:52:34.000000000 +0200
> +++ /etc/alsa/modutils/1.0.050515       2005-05-15 21:51:45.000000000 +0200
> @@ -2,7 +2,7 @@
>  alias char-major-14 soundcore
> 
>  #options snd major=116 cards_limit=4 device_mode=0660 device_gid=29 device_uid=0
> -options snd major=116 cards_limit=4
> +options snd major=116 cards_limit=4 device_mode=0660
>  # or if you use devfs (gid=29 is 'audio' on Debian)
>  # options snd major=116 cards_limit=4 device_mode=0660 device_gid=29
> 
> Same question again: Any other options being useful to be set there in
> the  "options snd" line? Any useful docs?
> 
> And after changing the 2 files above: Running, IIRC, alsaconf did the
> rest. ... :)
> 
> TIA
> 
> Best Regards
> Wolfgang
> 
> --
> Wolfgang Pfeiffer
> http://profiles.yahoo.com/wolfgangpfeiffer
> 
> --
> To UNSUBSCRIBE, email to debian-powerpc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
>



Reply to: