[Freeswitch-users] Help needed about building snd_dummy with the dummy.c in skypopen

Giovanni Maruzzelli gmaruzz at gmail.com
Sun Oct 24 14:32:24 PDT 2010


On Sun, Oct 24, 2010 at 11:28 PM, Jian Ren <renjian at gmail.com> wrote:
> Ok, I found out the new error was caused by missing of 32bit compatibility
> libraries, after I ran this:
>
> apt-get -y install ia32-libs lib32asound2 libc6-i386 lib32gcc1 \
> lib32stdc++6 lib32ncurses5 lib32z1

Btw, in the wiki is written about the 32bit libraries.

If you follow the wiki, it works. I've done that many times.

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

-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



More information about the FreeSWITCH-users mailing list