From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 459613EB4F for ; Fri, 9 May 2003 05:51:23 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h499pQX14273 for axp-list@listman.redhat.com; Fri, 9 May 2003 05:51:26 -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 h499pPI14267 for ; Fri, 9 May 2003 05:51:25 -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 h499pGH25423 for ; Fri, 9 May 2003 05:51:18 -0400 Received: from 192.168.10.160 by proxy.vlwonen.nl (InterScan E-Mail VirusWall NT); Fri, 09 May 2003 11:47:22 +0200 Received: by vreewijk-nt1 with Internet Mail Service (5.5.2653.19) id ; Fri, 9 May 2003 11:47:22 +0200 Message-ID: From: Wouter Rademaker To: "'Axp-list@redhat.com'" Subject: How to get alsa 0.9.3 working with 2.4 kernels on Alpha Date: Fri, 9 May 2003 11:47:21 +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.1 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: I got Alsa 0.9.3a finally working with kernel 2.2.24 with only " #include " in highmem.h What other hacks are needed with kernel 2.4.20 to get it working on a ALPHA. My guesses are 1. The hack above 2. Something with this lines in adriver.h : #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 3) #define need_resched() (current->need_resched) #endif Because of this error : /lib/modules/2.4.20/build/include/linux/sched.h:946: arguments given to macro `need_resched' Commenting out or changing the KERNEL_VERSION to (2, 4, 3) works 3. Something to solve this error: memory_wrapper.c: In function `snd_compat_vmalloc_to_page': memory_wrapper.c:41: `mem_map' undeclared (first use in this function) memory_wrapper.c:41: (Each undeclared identifier is reported only once memory_wrapper.c:41: for each function it appears in.) memory_wrapper.c:28: warning: `page' might be used uninitialized in this function make[1]: *** [memory_wrapper.o] Error 1 make: *** [compile] Error 1 Probably can't he find the declaration of mem_map, but I can't find it either. Are the fist two hacks right or is there a better way and how to solve the third? I'm using a 164SX ALPHA with Debian Woody Wouter Rademaker