From owner-freebsd-current@FreeBSD.ORG Tue Dec 5 22:31:38 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D4F716A522 for ; Tue, 5 Dec 2006 22:31:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC5B443CA2 for ; Tue, 5 Dec 2006 22:30:55 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id kB5MVP9X053202; Tue, 5 Dec 2006 17:31:35 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 5 Dec 2006 16:32:45 -0500 User-Agent: KMail/1.9.1 References: <20061204091744.E1194@localhost> In-Reply-To: <20061204091744.E1194@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612051632.45504.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 05 Dec 2006 17:31:35 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2285/Tue Dec 5 08:58:47 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Nick Hibma Subject: Re: DRM forced malloc(M_NOWAIT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 22:31:38 -0000 On Monday 04 December 2006 03:19, Nick Hibma wrote: > My console gets spammed with the messages below after starting X. Dmesg below > that. > > cvs up -A > > in sys/dev/drm yielded no updates just now. > > Please let me know if you need additional information. > > Nick > > malloc(M_WAITOK) of "16", forcing M_NOWAIT with the following non-sleepable > locks held: > ... > bus_dma_tag_create(0,1000,0,ffffffff,ffffffff,...) at bus_dma_tag_create+0x174 > drm_pci_alloc(c255e800,1000,1000,ffffffff,c255e8d8,...) at drm_pci_alloc+0x54 > i915_dma_init(c2ab7100,80446440,c2ae9400,3,c28368c0,...) at i915_dma_init+0x2ed > drm_ioctl(c2ab7100,80446440,c2ae9400,3,c28368c0,c07e8b48,0,c0758458,131) at > drm_ioctl+0x150 drm(4) shouldn't hold a lock when calling bus_dma_tag_create(). I'd ask aholt@ about it. -- John Baldwin