Hi, I'm trying tu install skypopen on my centOS server witout success. This is my configuration: virtual xen server on linode.com centos 5.5 32 bit freswitch latest trunk xen-devel given from linode If i try to compile the alsa-driver-1.0.20 modifing the files and lines indicates in the wiki when i do make this is the result: /usr/src/alsa-driver-1.0.20/acore/oss/pcm_oss.c: In function 'snd_pcm_oss_open_file' /usr/src/alsa-driver-1.0.20/acore/oss/pcm_oss.c:2304: error: 'fmode_t' undeclared (first use in this function) /usr/src/alsa-driver-1.0.20/acore/oss/pcm_oss.c:2304: error: (Each undeclared identifier is reported only once /usr/src/alsa-driver-1.0.20/acore/oss/pcm_oss.c:2304: error: for each function it appears in.) If i try to compile the alsa-driver-1.0.20 without any modification and then compile dummy.c, when i try to load snd-dummy module this is the result modprobe snd-dummy WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.18.8-linode22/misc/acore/snd-page-alloc.ko): Invalid module format WARNING: Error inserting snd_timer (/lib/modules/2.6.18.8-linode22/misc/acore/snd-timer.ko): Invalid module format WARNING: Error inserting snd_pcm (/lib/modules/2.6.18.8-linode22/misc/acore/snd-pcm.ko): Invalid module format FATAL: Error inserting snd_dummy (/lib/modules/2.6.18.8-linode22/misc/drivers/snd-dummy.ko): Invalid module format modprobe -f snd-dummy WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.18.8-linode22/misc/acore/snd-page-alloc.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting snd_timer (/lib/modules/2.6.18.8-linode22/misc/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting snd_pcm (/lib/modules/2.6.18.8-linode22/misc/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting snd_dummy (/lib/modules/2.6.18.8-linode22/misc/drivers/snd-dummy.ko): Unknown symbol in module, or unknown parameter (see dmesg) Any idea? BR - Andrea Sannucci -
On Sat, Jun 5, 2010 at 3:26 PM, bakko <asannucci@gmail.com> wrote:
I'm trying tu install skypopen on my centOS server witout success.
This is my configuration:
virtual xen server on linode.com
centos 5.5 32 bit
freswitch latest trunk
xen-devel given from linode
If i try to compile the alsa-driver-1.0.20 modifing the files and lines indicates in the wiki when i do make this is the result:
/usr/src/alsa-driver-1.0.20/acore/oss/pcm_oss.c: In function 'snd_pcm_oss_open_file' /usr/src/alsa-driver-1.0.20/acore/oss/pcm_oss.c:2304: error: 'fmode_t' undeclared (first use in this function) /usr/src/alsa-driver-1.0.20/acore/oss/pcm_oss.c:2304: error: (Each undeclared identifier is reported only once /usr/src/alsa-driver-1.0.20/acore/oss/pcm_oss.c:2304: error: for each function it appears in.)
If i try to compile the alsa-driver-1.0.20 without any modification and then compile dummy.c, when i try to load snd-dummy module this is the result
modprobe snd-dummy WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.18.8-linode22/misc/acore/snd-page-alloc.ko): Invalid module format WARNING: Error inserting snd_timer (/lib/modules/2.6.18.8-linode22/misc/acore/snd-timer.ko): Invalid module format WARNING: Error inserting snd_pcm (/lib/modules/2.6.18.8-linode22/misc/acore/snd-pcm.ko): Invalid module format FATAL: Error inserting snd_dummy (/lib/modules/2.6.18.8-linode22/misc/drivers/snd-dummy.ko): Invalid module format
modprobe -f snd-dummy WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.18.8-linode22/misc/acore/snd-page-alloc.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting snd_timer (/lib/modules/2.6.18.8-linode22/misc/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting snd_pcm (/lib/modules/2.6.18.8-linode22/misc/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting snd_dummy (/lib/modules/2.6.18.8-linode22/misc/drivers/snd-dummy.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Seems that the linode kernel has been patched in a different way from the stock centos kernel. But seems it snd-dummy compiles fine without the modifications needed by the stock centos kernel. So, if you follow the instructions in the wiki, and at the end "make install" the whole alsa-drivers, it will substitute the ALSA installation. Then, you will have to rmmod all the snd* modules, or - better - just reboot the machine. It will probably work. Let us know if you still have problems. -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Ciao Giovanni :) after the reboot the problem still lives :) my dmesg: snd: version magic '2.6.18.8-linode22 SMP mod_unload Xen PENTIUM4 REGPARM gcc-4.1' should be '2.6.18.8-linode22 SMP mod_unload Xen PENTIUM4 REGPARM gcc-4.3' snd: no version magic, tainting kernel. snd: Unknown symbol unregister_sound_special snd: Unknown symbol register_sound_special_device snd: Unknown symbol sound_class snd: no version magic, tainting kernel. snd: Unknown symbol unregister_sound_special snd: Unknown symbol register_sound_special_device snd: Unknown symbol sound_class snd: no version magic, tainting kernel. snd: Unknown symbol unregister_sound_special snd: Unknown symbol register_sound_special_device snd: Unknown symbol sound_class Maybe can be the kernel but i don“t know how resolve. Grazie mille per l'aiuto. Ciao - Andrea -
On Mon, Jun 7, 2010 at 3:59 PM, bakko <asannucci@gmail.com> wrote:
after the reboot the problem still lives :)
my dmesg:
snd: version magic '2.6.18.8-linode22 SMP mod_unload Xen PENTIUM4 REGPARM gcc-4.1' should be '2.6.18.8-linode22 SMP mod_unload Xen PENTIUM4 REGPARM gcc-4.3' snd: no version magic, tainting kernel. snd: Unknown symbol unregister_sound_special snd: Unknown symbol register_sound_special_device snd: Unknown symbol sound_class snd: no version magic, tainting kernel. snd: Unknown symbol unregister_sound_special snd: Unknown symbol register_sound_special_device snd: Unknown symbol sound_class snd: no version magic, tainting kernel. snd: Unknown symbol unregister_sound_special snd: Unknown symbol register_sound_special_device snd: Unknown symbol sound_class
Ciao Andrea, maybe is because you're not linking with the correct header files for your kernel? Are you sure you installed the kernel-headers of the kernel you got from linode? Also, if you have the correct kernel headers, could you ask in the linode forum how is the correct procedure to compile alsa (or any other module) for that kernel, and report here? (so I can add it to the wiki page). Sorry of not been of more help, a presto, -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Than you Giovanni. I hope to have some news very soon and learn inglish more fast :) BR - Andrea -
On Mon, Jun 7, 2010 at 4:44 PM, bakko <asannucci@gmail.com> wrote:
I hope to have some news very soon and learn inglish more fast :)
we're all using Basic English (600 words), barred a minority that knows Real English (and nobody understand them ;) ). Ciao e a presto! -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
participants (2)
-
bakko
-
Giovanni Maruzzelli