From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (nat-pix.rdu.redhat.com [10.255.18.200]) by listman.rdu-colo.redhat.com (8.11.6/8.11.6) with ESMTP id h4N7DB505342 for ; Fri, 23 May 2003 03:13:11 -0400 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h4N7DlJ05419 for axp-list@listman.rdu-colo.redhat.com; Fri, 23 May 2003 03:13:47 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h4N7DkI05409 for ; Fri, 23 May 2003 03:13:46 -0400 Received: from proxy.vlwonen.nl (mail.vreewijk.nl [212.206.219.50]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h4N7DfH03143 for ; Fri, 23 May 2003 03:13:42 -0400 Received: from 192.168.10.160 by proxy.vlwonen.nl (InterScan E-Mail VirusWall NT); Fri, 23 May 2003 09:09:10 +0200 Received: by vreewijk-nt1 with Internet Mail Service (5.5.2653.19) id ; Fri, 23 May 2003 09:09:10 +0200 Message-ID: From: Wouter Rademaker To: "'Kelledin'" , "'axp-list@redhat.com'" Subject: RE: How to get alsa 0.9.3 working with 2.4 kernels on Alpha Date: Fri, 23 May 2003 09:09:06 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: list Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > -----Oorspronkelijk bericht----- > Van: Kelledin [mailto:kelledin+AXP@skarpsey.dyndns.org] > Verzonden: donderdag 22 mei 2003 1:52 > Aan: Wouter Rademaker > Onderwerp: Re: How to get alsa 0.9.3 working with 2.4 kernels on Alpha > > > On Wednesday 21 May 2003 04:29 am, Wouter Rademaker wrote: > > > Including and seems to solve > > > it. > > > > in adriver.h ? > > I put it in acore/memory_wrapper.c > did it, works > > Remaining (harmless?) compilation errors: > > > > misc.c: In function `work_caller': > > misc.c:249: warning: implicit declaration of function `kfree' > > misc.c: In function `snd_compat_schedule_work': > > misc.c:256: warning: implicit declaration of function > > `kmalloc' misc.c:256: warning: initialization makes pointer > > from integer without a cast ....... > > kmalloc() and > kfree() are in linux/slab.h though--try including that in the > affected source files. > did it, works > > errors when doing "modprobe -v snd-emu10k1" : > > > > /lib/modules/2.4.20/kernel/sound/acore/snd-page-alloc.o: > > unresolved symbol plat_node_data > > /lib/modules/2.4.20/kernel/sound/acore/snd-page-alloc.o: > > insmod /lib/modules/2.4.20/kernel/sound/acore/snd-page-alloc.o > > failed > > /lib/modules/2.4.20/kernel/sound/acore/snd-page-alloc.o: > > insmod snd-emu10k1 failed > > Now this is odd. It sounds like your running kernel doesn't > match the kernel ALSA was built against. You were right. I have built a new clean vanilla kernel and a new (0.9.3c) ALSA and now it loads, but when I try to use it with a program like alsaplayer I get this error: ALSA lib pcm_hw.c:324:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: Cannot allocate memory Unable to install hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 44100 PERIOD_TIME: (23219 23220) PERIOD_SIZE: 1024 PERIOD_BYTES: 4096 PERIODS: 8 BUFFER_TIME: (185759 185760) BUFFER_SIZE: 8192 BUFFER_BYTES: 32768 TICK_TIME: 976 failed to configure output device...trying OSS error setting sample_rate failed to configure output device...trying OSS And sfxload gives this error: pci_map_single failed:could not allocate dma page tables Met Vriendelijke Zwerversgroeten Wouter Rademaker Snel-post: egel@scoutnet.nl \ / \ / >O< >O< *{_} {_}*