From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 17:45:36 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65A04299; Fri, 12 Sep 2014 17:45:36 +0000 (UTC) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "m.saper.info", Issuer "Marcin Cieslak 2011" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D866B10E; Fri, 12 Sep 2014 17:45:35 +0000 (UTC) Received: from localhost (saper@localhost [127.0.0.1]) by m.saper.info (8.14.9/8.14.9) with ESMTP id s8CHjVeO072475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Sep 2014 17:45:32 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1410543932; bh=JiHzqAvpKJ0SbFWA6Bb3nzBThI+hXI3Aww6qeJE9BQo=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=oQk2BpLiF2bqMN/J08Xd2ZwnxPQH7gbohM3HuCbbV5FFs+LTWFkERHo5FROi1thjM qw/sDyCqpgo/vt4yuXFqb3DelGQcHB1p+JfOBdVCymvlHKui4qG80oQnK5AdiGHfTY Ec9YRZYUvz/WLvp/C0WIQGHbh9PG+5U8/e/IS2ws= Date: Fri, 12 Sep 2014 17:45:31 +0000 (UTC) From: Marcin Cieslak To: John Baldwin Subject: Re: panic: resource_list_alloc: resource entry is busy In-Reply-To: <1749648.0eHaTPXHUy@ralph.baldwin.cx> Message-ID: References: <1749648.0eHaTPXHUy@ralph.baldwin.cx> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 12 Sep 2014 17:45:36 -0000 On Wed, 10 Sep 2014, John Baldwin wrote: > On Wednesday, September 10, 2014 12:45:08 PM Marcin Cieslak wrote: >> On my CURRENT as of 6 Sep (r271197): >> >> What I did was that: >> >> - kldload i915 >> >> - startx >> >> During X server start I get the following: >> >> #10 0xffffffff808c2947 in resource_list_alloc (rl=, >> bus=, child=, type=> optimized out>, >> rid=, start=, end=> optimized out>, count=, flags=) >> at /usr/src/sys/kern/subr_bus.c:3304 >> #11 0xffffffff8061ddae in pci_alloc_resource (dev=, >> child=, type=, rid=> optimized out>, >> start=, end=, count=> optimized out>, flags=) at >> /usr/src/sys/dev/pci/pci.c:4604 #12 0xffffffff808c4420 in >> bus_alloc_resource (dev=0xfffff800026d8800, type=1, rid=0xffffffff811effc8, >> start=632, end=18446744071580876744, count=464, flags=100707968) at >> bus_if.h:284 >> #13 0xffffffff80626092 in vga_pci_alloc_resource (dev=0xfffff800026d8800, >> child=, type=1, rid=0xfffff80008c0b2d4, start=0, >> end=, count=18446744071580876744, flags=> optimized out>) at /usr/src/sys/dev/pci/vga_pci.c:318 > > Can you load the core dump in kgdb and run 'f 13' and 'p *rid'? Sure, here it goes: (kgdb) f 13 #13 0xffffffff80626092 in vga_pci_alloc_resource ( dev=0xfffff800026d8800, child=, type=1, rid=0xfffff80008c0b2d4, start=0, end=, count=18446744071580876744, flags=) at /usr/src/sys/dev/pci/vga_pci.c:318 318 return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); Current language: auto; currently minimal (kgdb) p *rid $1 = 0 //Marcin