From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b605ba8eb214b620,start X-Google-Attributes: gid111c93,public From: Clay Kunz Subject: bigphysarea patch or equivalent on alpha Date: 2000/03/17 Message-ID: <38D2B704.4476E4EF@redzone.com>#1/1 X-Deja-AN: 598947754 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@stargate.net X-Trace: news.sgi.net 953333509 209.166.185.40 (Fri, 17 Mar 2000 17:51:49 EST) Organization: Mobot, Inc. MIME-Version: 1.0 Reply-To: ckunz@mobotinc.com NNTP-Posting-Date: Fri, 17 Mar 2000 17:51:49 EST Newsgroups: comp.os.linux.alpha I'm working on a driver for the EPIX PIXCI D frame grabber. The initial driver works on i386 Linux, and I want it to work on the Alpha architecture as well. The frame grabber has no RAM, and so shoves frames directly to the system RAM. I use the bigphysarea patch to reserve a large block of contiguous physical memory for this, since the kernel kmalloc can't deal with chunks bigger than 128K (I'm reserving on the order of 24MB of contiguous physical memory for the driver). The bigphysarea patch (http://www.uni-paderborn.de/fachbereich/AG/heiss/linux/bigphysarea.html) works fine for this under i386, but the patch file patches ptrace.c in arch/i386/kernel. Obviously this doesn't apply on the alpha. Has anyone tried patching the patch for use on the alpha, or does anyone know of an alternative? I'd appreciate any pointers. Also, this is the first time I've tried using Alpha Linux; I'm working on a Compaq XP 1000, and I need to rebuild the kernel and so on. Are there any pointers to the alpha-specific kernel options? I've not found any on alphalinux.org, for example. Also, the (RedHat) documentation on how to get the new kernel to boot is somewhat lacking. I'm quite familiar with lilo and so forth on the intel architecture - where should I look for pointers to making custom kernels on alpha? thanks for your help! Clay