From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 09:53:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47ED016A4CE; Mon, 26 Jan 2004 09:53:00 -0800 (PST) Received: from dd1318.kasserver.com (dd1318.kasserver.com [81.209.148.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id D11F843D1D; Mon, 26 Jan 2004 09:52:53 -0800 (PST) (envelope-from gbergling@0xfce3.net) Received: from nemesis.md.0xfce3.net (port-ip-213-211-224-164.reverse.mdcc-fun.de [213.211.224.164]) by dd1318.kasserver.com (Postfix) with ESMTP id 0835320B67; Mon, 26 Jan 2004 18:52:13 +0100 (CET) Received: from nemesis.md.0xfce3.net (localhost [127.0.0.1]) i0QHqo6O002581; Mon, 26 Jan 2004 18:52:50 +0100 (CET) (envelope-from gbergling@0xfce3.net) Received: (from gordon@localhost) by nemesis.md.0xfce3.net (8.12.10/8.12.10/Submit) id i0QHqnLT002580; Mon, 26 Jan 2004 18:52:49 +0100 (CET) (envelope-from gbergling@0xfce3.net) X-Authentication-Warning: nemesis.ipv6.0xfce3.net: gordon set sender to gbergling@0xfce3.net using -f Date: Mon, 26 Jan 2004 18:52:49 +0100 From: Gordon Bergling To: Don Lewis Message-ID: <20040126175249.GA2500@nemesis.md.0xfce3.net> References: <20040126133844.GA818@nemesis.md.0xfce3.net> <200401261725.i0QHPR7E078224@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <200401261725.i0QHPR7E078224@gw.catspoiler.org> User-Agent: Mutt/1.4.1i X-Url: X-Operating-System: FreeBSD 5.2-RELEASE i386 X-Host-Uptime: 6:46PM up 4:23, 5 users, load averages: 0.33, 0.29, 0.21 cc: freebsd-current@FreeBSD.org Subject: Re: dev/sound/pcm/* patch testers wanted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gordon Bergling List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 17:53:00 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon Jan 26, 2004 at 09:25AM -0800, Don Lewis wrote: > On 26 Jan, Gordon Bergling wrote: >=20 > > The "Danger!" message wasn't appeared, but I got the following on the > > console. > >=20 > > malloc() of "1024" with the following non-sleepable locks held: > > exclusive sleep mutex pcm0:play:0 (pcm play channel) r =3D 0 (0xc2be8a8= 0) > > locked @ > > /storage/os/src/freebsd-current/src/sys/dev/sound/pcm/buffer.c:195 > > malloc() of "4096" with the following non-sleepable locks held: > > exclusive sleep mutex pcm0:play:0 (pcm play channel) r =3D 0 (0xc2be8a8= 0) > > locked @ > > /storage/os/src/freebsd-current/src/sys/dev/sound/pcm/buffer.c:195 >=20 > A stack trace would be helpful so that we know where malloc() was being > called. I've got a hunch, though. What hardware specific driver are > you using? There was no stack trace. Can I print a stack trace with gdb or something simliar? The hardware is the following: pcm0: port 0xe000-0xe03f irq 11 at device 12.0 on pci0 pcm0: --Gordon --=20 Gordon Bergling http://www.0xFCE3.net/ PGP Fingerprint: 7732 9BB1 5013 AE8B E42C 28E0 93B9 D32B C76F 02A0 RIPE-HDL: MDTP-RIPE "There is no place like 127.0.0.0/8" --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAFVPxk7nTK8dvAqARAmV7AKCnVkIgc4aHYrgSZWgPhBpApOrqxwCfZspd 7/h565dyh0KjnxBP58fQJQM= =l/P5 -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--