From owner-freebsd-current Tue Jul 2 7:39: 1 2002 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 7F1EE37B400 for ; Tue, 2 Jul 2002 07:38:58 -0700 (PDT) Received: from lockdown.spectrum.fearmuffs.net (c164-147.pro.thalamus.se [212.31.164.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14B5143E3D for ; Tue, 2 Jul 2002 07:38:47 -0700 (PDT) (envelope-from gmh003532@brfmasthugget.se) Received: from lockdown.spectrum.fearmuffs.net (localhost.spectrum.fearmuffs.net [127.0.0.1]) by lockdown.spectrum.fearmuffs.net (8.12.3/8.12.3) with ESMTP id g62Ecjg7002283; Tue, 2 Jul 2002 16:38:46 +0200 (CEST) (envelope-from gmh003532@brfmasthugget.se) Received: (from redpixel@localhost) by lockdown.spectrum.fearmuffs.net (8.12.3/8.12.3/Submit) id g62EciYX002282; Tue, 2 Jul 2002 16:38:44 +0200 (CEST) (envelope-from gmh003532@brfmasthugget.se) Date: Tue, 2 Jul 2002 16:38:44 +0200 From: Martin Faxer To: Michael Hostbaek Cc: current@FreeBSD.ORG Subject: Re: kern: device pcm problems Message-ID: <20020702143844.GA517@lockdown.spectrum.fearmuffs.net> References: <20020702142810.GB29841@mich2.itxmarket.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020702142810.GB29841@mich2.itxmarket.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002.07.02 16:28:10 +0000, Michael Hostbaek wrote: > I have problems getting my sound card functioning under -CURRENT. (While > it was working perfect under -STABLE). > > I simply added 'device pcm' to the kernel config, when booting on new > kernel I get lots of errors like this: > > port 0x1400-0x14ff irq 5 at device 8.0 on pci0 > ../../../vm/uma_core.c:1333: could sleep with "pcm0" locked from ../../../dev/so > und/pcm/sound.c:134 This is a well known problem; it's basically a diagnostic message telling you that there's a deficiency in the pcm driver. If you want to fix it permanently I suggest that you go and have a look at dev/sound/pcm/sound.c:134 and look for a way of invoking UMA without holding the lock. If you just want to work around it, you can probably disable INVARIANTS and WITNESS in your kernel configuration and hope that it won't turn into a real problem (ie. panic.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message