Takashi Iwai wrote: > > hmm, pci_compat_22.c looks unchanged. could you check whether the > patch was correctly applied?
Well, the patch you sent me modifies pci_compat_22.c When I first applied it I got an error in acore/misc.c HUNK 1 failed. I applied the patch again with -l and it went in correctly. I manually checked acore/misc.c and it went in correctly. > > pci_compat_22.c: In function `snd_pci_compat_alloc_consistent1': > > pci_compat_22.c:284: warning: implicit declaration of function > > `snd_malloc_pages_Rd2c7e32e' > > this should be fixed. > > please try the attached new version? I updated the driver tree from cvs this morning again (all files) and I applied it like this: ---------------------------------------------------------------------------------- gate:~/install/alsa-cvs/alsa-driver# patch -p1 -l < alsa-0.9.0-kern2.2-fix.2.diff patching file acore/memalloc.c patching file acore/memory_wrapper.c patching file acore/misc.c patching file acore/pci_compat_22.c patching file include/compat_22.h ---------------------------------------------------------------------------------- gate:~/install/alsa-cvs/alsa-driver# ./configure --with-isapnp=yes --with-sequencer=yes --with-oss=yes --with-cards=dummy,cs46xx,opti92x-ad1848 ---------------------------------------------------------------------------------- I get : ---------------------------------------------------------------------------------- gcc -M -D__KERNEL__ -DMODULE=1 -I/serve/install/alsa-cvs/alsa-driver/include -I/usr/src/linux/include -O2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD control.c device.c hwdep.c info.c info_oss.c init.c isadma.c memalloc.c memory.c memory_wrapper.c misc.c pci_compat_22.c pcm.c pcm_lib.c pcm_memory.c pcm_misc.c pcm_native.c pcm_timer.c rawmidi.c rtctimer.c sgbuf.c sound.c sound_oss.c timer.c wrappers.c > .depend memory_wrapper.c:17: sound/pci.h: No such file or directory make[2]: *** [fastdep] Error 1 make[2]: Leaving directory `/serve/install/alsa-cvs/alsa-driver/acore' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/serve/install/alsa-cvs/alsa-driver' make: *** [include/sndversions.h] Error 2 ----------------------------------------------------------------------------------- I looked into the file memory_wrapper.c and the second patch you sent me sets this. I think it should read : #include <linux/pci.h> After this, the driver compilation succeeded. I deleted the snd-* modules, then make install depmod -a I get : ------------------------------------------------------------------------------------- gate:~/install/alsa-cvs/alsa-driver# depmod -a /lib/modules/2.2.23/misc/snd-opti92x-ad1848.o: unresolved symbol(s) /lib/modules/2.2.23/misc/snd-opl3-synth.o: unresolved symbol(s) ------------------------------------------------------------------------------------- I tried modprobe snd-opti92x-ad1848 and I see : ------------------------------------------------------------------------------------- gate:~/install/alsa-cvs/alsa-driver# modprobe snd-opti92x-ad1848 /lib/modules/2.2.23/misc/snd-page-alloc.o: init_module: Device or resource busy snd-page-alloc: No such file or directory snd-rawmidi: No such file or directory snd: No such file or directory ------------------------------------------------------------------------------------- The interesting part is that snd-rawmidi.o, snd.o, snd-page-alloc.o all exist and are there Then I ran again depmod -a -v -e and I get : ------------------------------------------------------------------------------------- /lib/modules/2.2.23/misc/snd-opti92x-ad1848.o: unresolved symbol(s) isapnp_resource_change isapnp_find_card isapnp_find_dev /lib/modules/2.2.23/misc/snd-ad1848-lib.o /lib/modules/2.2.23/misc/snd-opl3-synth.o: unresolved symbol(s) snd_seq_instr_find_R8fff548c snd_seq_instr_free_use_Rf8a556ca snd_midi_channel_free_set_Rcfb054f4 snd_seq_instr_event_R7bdca607 snd_seq_instr_list_new_Rb61f0009 snd_seq_instr_list_free_R192a43fe snd_midi_process_event_R789db613 snd_midi_channel_alloc_set_R7b6f0fa7 snd_seq_fm_init_Ra759f38d ------------------------------------------------------------------------------------- I noticed that snd-isapnp was _NOT_ built. Makefile.conf reads: CONFIG_ISAPNP_KERNEL = CONFIG_ISAPNP = y ------------------------------------------------------------------------------------- support/Makefile ------------------------------------------------------------------------------------- # Toplevel Module Dependency ifndef CONFIG_ISAPNP_KERNEL ifeq (y,$(CONFIG_ISAPNP)) obj-m += snd-isapnp.o endif endif ------------------------------------------------------------------------------------- I tried the other module : snd-cs46xx which I have working in alsa-0.9-rc7 and I also get : ------------------------------------------------------------------------------------- gate:~# modprobe snd-cs46xx /lib/modules/2.2.23/misc/snd-page-alloc.o: init_module: Device or resource busy snd-page-alloc: No such file or directory snd: No such file or directory snd: No such file or directory snd-pcm: No such file or directory ------------------------------------------------------------------------------------- -- ing. Andrei Boros mailto:[EMAIL PROTECTED] / +40-21-303-1870 Centrul pt. Tehnologia Informatiei Societatea Romana de Radiodifuziune ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user