From owner-freebsd-amd64@FreeBSD.ORG Thu Feb 2 04:02:53 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAB2E16A420 for ; Thu, 2 Feb 2006 04:02:53 +0000 (GMT) (envelope-from andrew@areilly.bpc-users.org) Received: from omta03sl.mx.bigpond.com (omta03sl.mx.bigpond.com [144.140.92.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F87643D48 for ; Thu, 2 Feb 2006 04:02:50 +0000 (GMT) (envelope-from andrew@areilly.bpc-users.org) Received: from areilly.bpc-users.org ([141.168.4.160]) by omta03sl.mx.bigpond.com with ESMTP id <20060202040248.BLPR1358.omta03sl.mx.bigpond.com@areilly.bpc-users.org> for ; Thu, 2 Feb 2006 04:02:48 +0000 Received: (qmail 20502 invoked by uid 501); 2 Feb 2006 04:02:53 -0000 Date: Thu, 2 Feb 2006 15:02:53 +1100 From: Andrew Reilly To: freebsd-amd64@freebsd.org Message-ID: <20060202040253.GA20444@gurney.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Driver failed to allocate 49152 bytes of DMA buffer? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 04:02:54 -0000 Hi there, Still with the teething problems on my new AMD Athlon-X2 system: I've been a happy user of an M-Audio Delta 1010 sound card for several years. This card isn't supported by FreeBSD's drivers (no doubt because device information is not available without NDA), but I've been happily using 4front-technologies OSS driver for FreeBSD. That was on my old single-processor Pentium-III system, under FreeBSD 4, 5 and 6. 4Front have a driver available for FreeBSD 6.0-RELEASE-amd64, which should do the job, but it won't start properly, giving the following boot-time error messages: Feb 1 15:52:00 duncan kernel: OSS: Unable to allocate 49152 bytes for a DMA buffer Feb 1 15:52:00 duncan kernel: run soundoff and run soundon again. Feb 1 15:52:00 duncan kernel: Envy24: Failed to allocate 49152 bytes of DMA buffer Feb 1 15:52:00 duncan kernel: oss: Probing the hardware for IC Ensemble ENVY24 failed. I've been starting it from /etc/rc.local, which always seemed to be the right spot, but even so, the log file shows 11 seconds of uptime before "soundon" gets run. This machine has 1G of memory, and seems to behave the same way irrespective of whether I boot with the second processor enabled or not. uname -a says: FreeBSD duncan.reilly.home 6.0-STABLE FreeBSD 6.0-STABLE #3: Wed Feb 1 15:38:17 EST 2006 root@duncan.reilly.home:/usr/obj/usr/src/sys/SMP amd64 What are the chances that there has been a regression of some sort in this area since 6.0-RELEASE (which didn't boot on the board because of ACPI issues that have since been fixed)? Is there any kernel memory debugging information that I can investigate, to see why such a (seemingly) small amount of memory can't be allocated? Cheers, -- Andrew