Thread: [Alsa-user] Building with aloop
Brought to you by:
perex
From: James A. <jam...@gm...> - 2008-07-28 21:41:52
|
Hi, I'm trying to build ALSA with the aloop driver but the snd-aloop module just never gets built. I'm following the instructions from: <http://www.alsa-project.org/main/index.php/Matrix:Module-aloop> [snip] ./configure --with-cards=aloop --with-sequencer=yes make ALSA modules were successfully compiled. root@domU-12-31-38-00-39-84:~/alsa-driver-1.0.17# ls -la modules/ total 8 drwxrwxr-x 2 root root 4096 2008-07-28 21:10 . drwxr-xr-x 28 root root 4096 2008-07-28 21:13 .. -rw-rw-r-- 1 root root 0 2008-07-14 07:53 .keepme lrwxrwxrwx 1 root root 37 2008-07-28 21:10 snd.ko -> /root/alsa-driver-1.0.17/acore/snd.ko lrwxrwxrwx 1 root root 51 2008-07-28 21:10 snd-mixer-oss.ko -> /root/alsa-driver-1.0.17/acore/oss/snd-mixer-oss.ko lrwxrwxrwx 1 root root 48 2008-07-28 21:10 snd-page-alloc.ko -> /root/alsa-driver-1.0.17/acore/snd-page-alloc.ko lrwxrwxrwx 1 root root 41 2008-07-28 21:10 snd-pcm.ko -> /root/alsa-driver-1.0.17/acore/snd-pcm.ko lrwxrwxrwx 1 root root 49 2008-07-28 21:10 snd-pcm-oss.ko -> /root/alsa-driver-1.0.17/acore/oss/snd-pcm-oss.ko lrwxrwxrwx 1 root root 52 2008-07-28 21:10 snd-seq-device.ko -> /root/alsa-driver-1.0.17/acore/seq/snd-seq-device.ko lrwxrwxrwx 1 root root 45 2008-07-28 21:10 snd-seq.ko -> /root/alsa-driver-1.0.17/acore/seq/snd-seq.ko lrwxrwxrwx 1 root root 56 2008-07-28 21:10 snd-seq-midi-event.ko -> /root/alsa-driver-1.0.17/acore/seq/snd-seq-midi-event.ko lrwxrwxrwx 1 root root 53 2008-07-28 21:10 snd-seq-oss.ko -> /root/alsa-driver-1.0.17/acore/seq/oss/snd-seq-oss.ko lrwxrwxrwx 1 root root 43 2008-07-28 21:10 snd-timer.ko -> /root/alsa-driver-1.0.17/acore/snd-timer.ko [/snip] If I follow the same instructions for the dummy driver it works (that means snd-dummy.ko is being built and I can load it with modprobe). Any idea or advise what could be wrong? Thank you very much, James! |
From: Sergei S. <ste...@li...> - 2008-07-28 22:02:05
|
-----Original Message----- From: "James Apfel" <jam...@gm...> To: als...@li... Date: Mon, 28 Jul 2008 17:41:58 -0400 Subject: [Alsa-user] Building with aloop > > Hi, > > I'm trying to build ALSA with the aloop driver but the snd-aloop > module just never gets built. I'm following the instructions from: > > <http://www.alsa-project.org/main/index.php/Matrix:Module-aloop> > > [snip] > ./configure --with-cards=aloop --with-sequencer=yes > make > > ALSA modules were successfully compiled. > > root@domU-12-31-38-00-39-84:~/alsa-driver-1.0.17# ls -la modules/ > total 8 > drwxrwxr-x 2 root root 4096 2008-07-28 21:10 . > drwxr-xr-x 28 root root 4096 2008-07-28 21:13 .. > -rw-rw-r-- 1 root root 0 2008-07-14 07:53 .keepme > lrwxrwxrwx 1 root root 37 2008-07-28 21:10 snd.ko -> > /root/alsa-driver-1.0.17/acore/snd.ko > lrwxrwxrwx 1 root root 51 2008-07-28 21:10 snd-mixer-oss.ko -> > /root/alsa-driver-1.0.17/acore/oss/snd-mixer-oss.ko > lrwxrwxrwx 1 root root 48 2008-07-28 21:10 snd-page-alloc.ko -> > /root/alsa-driver-1.0.17/acore/snd-page-alloc.ko > lrwxrwxrwx 1 root root 41 2008-07-28 21:10 snd-pcm.ko -> > /root/alsa-driver-1.0.17/acore/snd-pcm.ko > lrwxrwxrwx 1 root root 49 2008-07-28 21:10 snd-pcm-oss.ko -> > /root/alsa-driver-1.0.17/acore/oss/snd-pcm-oss.ko > lrwxrwxrwx 1 root root 52 2008-07-28 21:10 snd-seq-device.ko -> > /root/alsa-driver-1.0.17/acore/seq/snd-seq-device.ko > lrwxrwxrwx 1 root root 45 2008-07-28 21:10 snd-seq.ko -> > /root/alsa-driver-1.0.17/acore/seq/snd-seq.ko > lrwxrwxrwx 1 root root 56 2008-07-28 21:10 snd-seq-midi-event.ko -> > /root/alsa-driver-1.0.17/acore/seq/snd-seq-midi-event.ko > lrwxrwxrwx 1 root root 53 2008-07-28 21:10 snd-seq-oss.ko -> > /root/alsa-driver-1.0.17/acore/seq/oss/snd-seq-oss.ko > lrwxrwxrwx 1 root root 43 2008-07-28 21:10 snd-timer.ko -> > /root/alsa-driver-1.0.17/acore/snd-timer.ko > [/snip] > > If I follow the same instructions for the dummy driver it works (that > means snd-dummy.ko is being built and I can load it with modprobe). > > Any idea or advise what could be wrong? > > Thank you very much, > > James! > The instructions also say to run 'make install': ./configure --with-cards=aloop --with-sequencer=yes ; make ; make install - have you done this ? --Sergei. |
From: James A. <jam...@gm...> - 2008-07-29 00:24:08
|
Yes I have and "find / -name snd-aloop.ko" returns absolutely nothing. James root@domU-12-31-38-00-39-84:~# ls -la /lib/modules/2.6.16-xenU/kernel/sound/drivers/ total 28 drwxr-xr-x 2 root root 4096 2008-07-28 21:33 . drwxr-xr-x 4 root root 4096 2008-07-28 21:33 .. -rw-r--r-- 1 root root 16492 2008-07-28 21:33 snd-dummy.ko root@domU-12-31-38-00-39-84:~# ls -la /lib/modules/2.6.16-xenU/kernel/sound/acore/ total 236 drwxr-xr-x 4 root root 4096 2008-07-28 21:33 . drwxr-xr-x 4 root root 4096 2008-07-28 21:33 .. drwxr-xr-x 2 root root 4096 2008-07-28 21:33 oss drwxr-xr-x 3 root root 4096 2008-07-28 21:33 seq -rw-r--r-- 1 root root 70670 2008-07-28 21:33 snd.ko -rw-r--r-- 1 root root 12746 2008-07-28 21:33 snd-page-alloc.ko -rw-r--r-- 1 root root 93336 2008-07-28 21:33 snd-pcm.ko -rw-r--r-- 1 root root 32311 2008-07-28 21:33 snd-timer.ko 2008/7/28 Sergei Steshenko <ste...@li...>: > > > -----Original Message----- > From: "James Apfel" <jam...@gm...> > To: als...@li... > Date: Mon, 28 Jul 2008 17:41:58 -0400 > Subject: [Alsa-user] Building with aloop > >> >> Hi, >> >> I'm trying to build ALSA with the aloop driver but the snd-aloop >> module just never gets built. I'm following the instructions from: >> >> <http://www.alsa-project.org/main/index.php/Matrix:Module-aloop> >> >> [snip] >> ./configure --with-cards=aloop --with-sequencer=yes >> make >> >> ALSA modules were successfully compiled. >> >> root@domU-12-31-38-00-39-84:~/alsa-driver-1.0.17# ls -la modules/ >> total 8 >> drwxrwxr-x 2 root root 4096 2008-07-28 21:10 . >> drwxr-xr-x 28 root root 4096 2008-07-28 21:13 .. >> -rw-rw-r-- 1 root root 0 2008-07-14 07:53 .keepme >> lrwxrwxrwx 1 root root 37 2008-07-28 21:10 snd.ko -> >> /root/alsa-driver-1.0.17/acore/snd.ko >> lrwxrwxrwx 1 root root 51 2008-07-28 21:10 snd-mixer-oss.ko -> >> /root/alsa-driver-1.0.17/acore/oss/snd-mixer-oss.ko >> lrwxrwxrwx 1 root root 48 2008-07-28 21:10 snd-page-alloc.ko -> >> /root/alsa-driver-1.0.17/acore/snd-page-alloc.ko >> lrwxrwxrwx 1 root root 41 2008-07-28 21:10 snd-pcm.ko -> >> /root/alsa-driver-1.0.17/acore/snd-pcm.ko >> lrwxrwxrwx 1 root root 49 2008-07-28 21:10 snd-pcm-oss.ko -> >> /root/alsa-driver-1.0.17/acore/oss/snd-pcm-oss.ko >> lrwxrwxrwx 1 root root 52 2008-07-28 21:10 snd-seq-device.ko -> >> /root/alsa-driver-1.0.17/acore/seq/snd-seq-device.ko >> lrwxrwxrwx 1 root root 45 2008-07-28 21:10 snd-seq.ko -> >> /root/alsa-driver-1.0.17/acore/seq/snd-seq.ko >> lrwxrwxrwx 1 root root 56 2008-07-28 21:10 snd-seq-midi-event.ko -> >> /root/alsa-driver-1.0.17/acore/seq/snd-seq-midi-event.ko >> lrwxrwxrwx 1 root root 53 2008-07-28 21:10 snd-seq-oss.ko -> >> /root/alsa-driver-1.0.17/acore/seq/oss/snd-seq-oss.ko >> lrwxrwxrwx 1 root root 43 2008-07-28 21:10 snd-timer.ko -> >> /root/alsa-driver-1.0.17/acore/snd-timer.ko >> [/snip] >> >> If I follow the same instructions for the dummy driver it works (that >> means snd-dummy.ko is being built and I can load it with modprobe). >> >> Any idea or advise what could be wrong? >> >> Thank you very much, >> >> James! >> > > The instructions also say to run 'make install': > > ./configure --with-cards=aloop --with-sequencer=yes ; make ; make install > > - have you done this ? > > --Sergei. > |
From: James A. <jam...@gm...> - 2008-07-29 19:51:02
|
Hey, I've made some progress on the issue. Turns out the instructions in the Wiki or the Makefiles are wrong. The name of the "card" is loopback and not aloop as stated in the Wiki. My problem is now that I can't load the module. The syslog says something about "disagrees about version of symbol struct_module". Any ideas what could be wrong and more importantly how to fix it? Thanks, James [snip] ./configure --with-cards=loopback --with-sequencer=yes make make install root@domU-12-31-38-00-2E-13:~# ls -la /lib/modules/2.6.16-xenU/kernel/sound/drivers/ total 24 drwxr-xr-x 2 root root 4096 2008-07-29 19:35 . drwxr-xr-x 4 root root 4096 2008-07-29 17:14 .. -rw-r--r-- 1 root root 13356 2008-07-29 19:35 snd-aloop.ko root@domU-12-31-38-00-2E-13:~# modprobe snd-aloop FATAL: Module snd_aloop not found. root@domU-12-31-38-00-2E-13:~# insmod /lib/modules/2.6.16-xenU/kernel/sound/drivers/snd-aloop.ko insmod: error inserting '/lib/modules/2.6.16-xenU/kernel/sound/drivers/snd-aloop.ko': -1 Invalid module format root@domU-12-31-38-00-2E-13:~# tail -f /var/log/syslog Jul 29 19:39:21 (none) kernel: snd_aloop: disagrees about version of symbol struct_module [/snip] |