Problem found and solved.<br>There are two dummy.c under alsa-driver-1.0.20, I overwrote the one under drivers, which is the wrong one. Based on the wiki, it should be the one under alsa-driver-1.0.20/sound/drivers.<br>Besides, I need to reboot after rebuilding the new dummy.c.<br>
<br>Thank Giovanni for helping me out.<br><br>Jian<br><br><div class="gmail_quote">On Sun, Oct 24, 2010 at 5:32 PM, Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Sun, Oct 24, 2010 at 11:28 PM, Jian Ren <<a href="mailto:renjian@gmail.com">renjian@gmail.com</a>> wrote:<br>
> Ok, I found out the new error was caused by missing of 32bit compatibility<br>
> libraries, after I ran this:<br>
><br>
> apt-get -y install ia32-libs lib32asound2 libc6-i386 lib32gcc1 \<br>
> lib32stdc++6 lib32ncurses5 lib32z1<br>
<br>
</div>Btw, in the wiki is written about the 32bit libraries.<br>
<br>
If you follow the wiki, it works. I've done that many times.<br>
<br>
After you have installed ALSA, you need to reboot the machine, or to<br>
rmmod all the snd* modules from the kernel, before to modprobe<br>
snd-dummy<br>
<font color="#888888"><br>
-giovanni<br>
</font><div><div></div><div class="h5"><br>
<br>
><br>
> Now I am getting exactly the same problem as if under virtualBox or<br>
> VMPlayer. So it's not a VM problem.<br>
> Please help!<br>
> Thanks!<br>
> Jian<br>
><br>
> On Sat, Oct 23, 2010 at 10:19 PM, Jian Ren <<a href="mailto:renjian@gmail.com">renjian@gmail.com</a>> wrote:<br>
>><br>
>> Hi, I tried real machine. Got different error:<br>
>> FATAL: Error inserting<br>
>> snd_dummy(/lib/modules/2.6.24-26-server/kernel/sound/drivers/snd-dummy.ko):<br>
>> Unknown symbol in module, or unknown parameter (see demsg).<br>
>> Then if I type demsg, got the attached screen.<br>
>> Please help.<br>
>> Thanks!<br>
>><br>
>> On Fri, Oct 22, 2010 at 11:33 AM, Jian Ren <<a href="mailto:renjian@gmail.com">renjian@gmail.com</a>> wrote:<br>
>>><br>
>>> Tried under VMPlayer, got the same problem, will try real machine later.<br>
>>> Attached is the screen shot.<br>
>>><br>
>>> Thanks!<br>
>>> Jian<br>
>>><br>
>>> On Thu, Oct 21, 2010 at 4:45 PM, Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Maybe is a problem with virtualbox. Also, is known that<br>
>>>> fs+mod_skypopen+skype clients does not works in virtualbox.<br>
>>>><br>
>>>> Try it on a real (hardware) machine.<br>
>>>><br>
>>>> Or (but is less popular) in a xen like virtual machine.<br>
>>>><br>
>>>> -giovanni<br>
>>>><br>
>>>> On Thu, Oct 21, 2010 at 4:21 PM, Jian Ren <<a href="mailto:renjian@gmail.com">renjian@gmail.com</a>> wrote:<br>
>>>> > Hi,<br>
>>>> > I am trying to follow this wiki:<br>
>>>> > <a href="http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk" target="_blank">http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk</a><br>
>>>> > to setup FS and Skypopen on Ubuntu 8.04(64bit server inside<br>
>>>> > virualbox).<br>
>>>> ><br>
>>>> > There is one step asks me to build snd_dummy:<br>
>>>> ><br>
>>>> > <a href="http://wiki.freeswitch.org/wiki/Skypopen_Skype_Endpoint_and_Trunk#ALSA_and_the_custom_snd-dummy" target="_blank">http://wiki.freeswitch.org/wiki/Skypopen_Skype_Endpoint_and_Trunk#ALSA_and_the_custom_snd-dummy</a><br>
>>>> > The section is like below:<br>
>>>> ><br>
>>>> > Ubuntu, Debian<br>
>>>> ><br>
>>>> > Note, Ubuntu may have alsa sound drivers installed at<br>
>>>> > /lib/modules/<your<br>
>>>> > kernel version>/ubuntu/sound/..., you may need to remove the dir to<br>
>>>> > allow<br>
>>>> > modprobe search from the default place: /lib/modules/<your kernel<br>
>>>> > verision>/kernel/sound/ (don't forget to rerun /sbin/depmod after<br>
>>>> > removing<br>
>>>> > the old sound directory. Eg: /sbin/depmod -a 2.6.24-24-server).<br>
>>>> ><br>
>>>> > ./configure --with-redhat=no \<br>
>>>> > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \<br>
>>>> > --with-card-options=all<br>
>>>> > make && make install<br>
>>>> ><br>
>>>> > After the first make && make install, copy<br>
>>>> > mod_skypopen/configs/alsa/dummy.c<br>
>>>> > to alsa-driver-1.0.20sound/drivers/dummy.c .<br>
>>>> ><br>
>>>> > make && make install #again :)<br>
>>>> ><br>
>>>> > The problem is after I did all of them, when I entered modprobe<br>
>>>> > snd_dummy,<br>
>>>> > it always crashed and returned as "killed" on my terminal, I could see<br>
>>>> > it<br>
>>>> > dumped out a huge block or data(numbers, etc) on the host but don't<br>
>>>> > understand the meaning. While if I used the original dummy.c inside<br>
>>>> > alsa-driver-1.0.20, it worked fine.<br>
>>>> > Besides, the default ubuntu installation doesn't include kernal dev<br>
>>>> > and<br>
>>>> > source, so I did one more step(or it cannot build alsa).<br>
>>>> ><br>
>>>> > Did anyone try the same and get it working?<br>
>>>> ><br>
>>>> > Thanks!<br>
>>>> > Jian<br>
>>>> ><br>
>>>> ><br>
>>>> > _______________________________________________<br>
>>>> > FreeSWITCH-users mailing list<br>
>>>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>> ><br>
>>>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>> ><br>
>>>> ><br>
>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Sincerely,<br>
>>>><br>
>>>> Giovanni Maruzzelli<br>
>>>> Cell : +39-347-2665618<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> FreeSWITCH-users mailing list<br>
>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : +39-347-2665618<br>
</div></div></blockquote></div><br>