[Freeswitch-users] Help needed about building snd_dummy with the dummy.c in skypopen
Giovanni Maruzzelli
gmaruzz at gmail.com
Mon Oct 25 10:09:38 PDT 2010
On Sun, Oct 24, 2010 at 11:32 PM, Giovanni Maruzzelli <gmaruzz at gmail.com> wrote:
> After you have installed ALSA, you need to reboot the machine, or to
> rmmod all the snd* modules from the kernel, before to modprobe
> snd-dummy
>
Hello Jian,
I can assure you that the process works, many many people do it and works.
So, we need to find the error.
1) are you sure you have moved away the correct sound modules
directory? check with "uname -a" to know which kernel are you using,
and then move away the sound directory under the correct kernel
directory (you may have more than one kernel and modules installed)
2) you really have to move that directory away, not rename it in place
3) are you sure the ALSA drivers were correctly maked and installed?
Also, don't do the depmod on the command line if you are unsure you
are using the correct kernel in command line (make install will do the
depmod for you, the second one is just a little redundant)
4) if still fails to modprobe:
a) find all the sound directories under the kernel you are actually
using and move them away or delete them
b) delete the /usr/src/alsa-drivers directory
c) do the tar xjf again on the alsa-driver archive you downloaded
d) do configure - make - make install - overwrite the dummy.c with my
dummy.c - make - make install
e) reboot
f) modprobe snd-dummy
Let me know how it goes.
-giovanni
>
>
>>
>> Now I am getting exactly the same problem as if under virtualBox or
>> VMPlayer. So it's not a VM problem.
>> Please help!
>> Thanks!
>> Jian
>>
>> On Sat, Oct 23, 2010 at 10:19 PM, Jian Ren <renjian at gmail.com> wrote:
>>>
>>> Hi, I tried real machine. Got different error:
>>> FATAL: Error inserting
>>> snd_dummy(/lib/modules/2.6.24-26-server/kernel/sound/drivers/snd-dummy.ko):
>>> Unknown symbol in module, or unknown parameter (see demsg).
>>> Then if I type demsg, got the attached screen.
>>> Please help.
>>> Thanks!
>>>
>>> On Fri, Oct 22, 2010 at 11:33 AM, Jian Ren <renjian at gmail.com> wrote:
>>>>
>>>> Tried under VMPlayer, got the same problem, will try real machine later.
>>>> Attached is the screen shot.
>>>>
>>>> Thanks!
>>>> Jian
>>>>
>>>> On Thu, Oct 21, 2010 at 4:45 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>
>>>> wrote:
>>>>>
>>>>> Maybe is a problem with virtualbox. Also, is known that
>>>>> fs+mod_skypopen+skype clients does not works in virtualbox.
>>>>>
>>>>> Try it on a real (hardware) machine.
>>>>>
>>>>> Or (but is less popular) in a xen like virtual machine.
>>>>>
>>>>> -giovanni
>>>>>
>>>>> On Thu, Oct 21, 2010 at 4:21 PM, Jian Ren <renjian at gmail.com> wrote:
>>>>> > Hi,
>>>>> > I am trying to follow this wiki:
>>>>> > http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk
>>>>> > to setup FS and Skypopen on Ubuntu 8.04(64bit server inside
>>>>> > virualbox).
>>>>> >
>>>>> > There is one step asks me to build snd_dummy:
>>>>> >
>>>>> > http://wiki.freeswitch.org/wiki/Skypopen_Skype_Endpoint_and_Trunk#ALSA_and_the_custom_snd-dummy
>>>>> > The section is like below:
>>>>> >
>>>>> > Ubuntu, Debian
>>>>> >
>>>>> > Note, Ubuntu may have alsa sound drivers installed at
>>>>> > /lib/modules/<your
>>>>> > kernel version>/ubuntu/sound/..., you may need to remove the dir to
>>>>> > allow
>>>>> > modprobe search from the default place: /lib/modules/<your kernel
>>>>> > verision>/kernel/sound/ (don't forget to rerun /sbin/depmod after
>>>>> > removing
>>>>> > the old sound directory. Eg: /sbin/depmod -a 2.6.24-24-server).
>>>>> >
>>>>> > ./configure --with-redhat=no \
>>>>> > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \
>>>>> > --with-card-options=all
>>>>> > make && make install
>>>>> >
>>>>> > After the first make && make install, copy
>>>>> > mod_skypopen/configs/alsa/dummy.c
>>>>> > to alsa-driver-1.0.20sound/drivers/dummy.c .
>>>>> >
>>>>> > make && make install #again :)
>>>>> >
>>>>> > The problem is after I did all of them, when I entered modprobe
>>>>> > snd_dummy,
>>>>> > it always crashed and returned as "killed" on my terminal, I could see
>>>>> > it
>>>>> > dumped out a huge block or data(numbers, etc) on the host but don't
>>>>> > understand the meaning. While if I used the original dummy.c inside
>>>>> > alsa-driver-1.0.20, it worked fine.
>>>>> > Besides, the default ubuntu installation doesn't include kernal dev
>>>>> > and
>>>>> > source, so I did one more step(or it cannot build alsa).
>>>>> >
>>>>> > Did anyone try the same and get it working?
>>>>> >
>>>>> > Thanks!
>>>>> > Jian
>>>>> >
>>>>> >
>>>>> > _______________________________________________
>>>>> > FreeSWITCH-users mailing list
>>>>> > FreeSWITCH-users at lists.freeswitch.org
>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> >
>>>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> > http://www.freeswitch.org
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sincerely,
>>>>>
>>>>> Giovanni Maruzzelli
>>>>> Cell : +39-347-2665618
>>>>>
>>>>> _______________________________________________
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>
>>>
>>
>>
>
>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
--
Sincerely,
Giovanni Maruzzelli
Cell : +39-347-2665618
More information about the FreeSWITCH-users
mailing list