From alsa-devel-owner@alsa.jcu.cz  Fri Feb 19 00:08:23 1999
Received: from calypso.saturn (root@dialup84-12-3.swipnet.se [130.244.84.179])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id AAA22949
	for <alsa-devel@alsa.jcu.cz>; Fri, 19 Feb 1999 00:08:08 +0100
Received: by bun.falkenberg.se
	via sendmail from stdin
	id <m10DcXy-00158eC@calypso.saturn> (Debian Smail3.2.0.102)
	for alsa-devel@alsa.jcu.cz; Fri, 19 Feb 1999 00:07:54 +0100 (CET) 
Date: Fri, 19 Feb 1999 00:07:54 +0100
From: Ulf Carlsson <ulfc@bun.falkenberg.se>
To: alsa-devel@alsa.jcu.cz
Cc: Raphael Becker <beckerra@rumms.uni-mannheim.de>,
        Linux-Kernel Mailinglist <linux-kernel@vger.rutgers.edu>,
        support@4front-tech.com
Subject: Re: 2.2.x memory allocation (was Re: TEAC CD-R55S doesn't work)
Message-ID: <19990219000754.A15878@bun.falkenberg.se>
References: <36CB62ED.28F5E547@rumms.uni-mannheim.de> <Pine.OSF.3.96.990218225200.10998A-100000@alpha.hut.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <Pine.OSF.3.96.990218225200.10998A-100000@alpha.hut.fi>; from Tuomas Heino on Thu, Feb 18, 1999 at 11:26:56PM +0200
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

> Hmm... I think there's something wrong with the way 2.2.1 allocates memory...
> ... as in there seems to be no memory for some parts of the kernel... like
> DMA:ble memory for example
> let me show you what trying to get sound working w/ 2.2.1 gave me:

[snip]

When you check if you can allacate a DMA buffer you cannot just check how much
free RAM you have. You have to check if those pages are in blocks which are
large enough. If your memory is very fragmented you might very well be unable to
allocate a big DMA buffer. Check this with alt-sysrq-m.

- Ulf

