From owner-freebsd-current@FreeBSD.ORG Wed Sep 10 12:45:12 2014 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA73D391 for ; Wed, 10 Sep 2014 12:45:12 +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 6C245D13 for ; Wed, 10 Sep 2014 12:45:12 +0000 (UTC) Received: from localhost (saper@localhost [127.0.0.1]) by m.saper.info (8.14.9/8.14.9) with ESMTP id s8ACj8lB058523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Sep 2014 12:45:09 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1410353109; bh=GfgfuMCOSTgoEasPtep+BcRxhLYhIApHixaiuO3cNZU=; h=Date:From:To:Subject; b=lvJgVDAJbc3PGFooMlRvuzaiUTfoVCWfsfmf5NbzGE4mG8yiUolNsYAXBnr0DQLUk xm9jtWeRh1uLeHbDAbehV/5Un4tTmmkHqgflSKMa1SPN1piRFsHK7k9E0gsQZ1PEzc wwbDIt+mkB+NMgffeEOZNb+aWgwy2lkOF2kBtMpw= Date: Wed, 10 Sep 2014 12:45:08 +0000 (UTC) From: Marcin Cieslak To: current@FreeBSD.org Subject: panic: resource_list_alloc: resource entry is busy Message-ID: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Wed, 10 Sep 2014 12:45:12 -0000 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=, rid=, start=, end=, count=, flags=) at /usr/src/sys/kern/subr_bus.c:3304 #11 0xffffffff8061ddae in pci_alloc_resource (dev=, child=, type=, rid=, start=, end=, count=, 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=) at /usr/src/sys/dev/pci/vga_pci.c:318 #14 0xffffffff808c4420 in bus_alloc_resource (dev=0xfffff800026d7300, type=1, rid=0xffffffff811effc8, start=632, end=18446744071580876744, count=464, flags=100707968) at bus_if.h:284 #15 0xffffffff81e94f73 in drm_attach (kdev=0xfffff800026d7300, idlist=) at bus.h:416 #16 0xffffffff808c202f in device_attach (dev=0xfffff800026d7300) at device_if.h:180 #17 0xffffffff808c34c9 in bus_generic_driver_added (dev=, driver=) at /usr/src/sys/kern/subr_bus.c:2792 #18 0xffffffff808c022a in devclass_driver_added (dc=0xfffff80002504a80, driver=0xffffffff81e714c0) at bus_if.h:204 #19 0xffffffff808c018c in devclass_add_driver (dc=0xfffff80002504a80, driver=0xffffffff81e714c0, pass=, dcp=) at /usr/src/sys/kern/subr_bus.c:1136 #20 0xffffffff80873a12 in module_register_init (arg=0xffffffff81e714a8) at /usr/src/sys/kern/kern_module.c:123 #21 0xffffffff80866f24 in linker_load_module (kldname=, modname=0xfffff80002407400 "i915kms", parent=0x0, verinfo=0x0, lfpp=0xfffffe0096d05a80) at /usr/src/sys/kern/kern_linker.c:224 #22 0xffffffff80868a18 in kern_kldload (td=, file=, fileid=0xfffffe0096d05ac4) at /usr/src/sys/kern/kern_linker.c:1029 #23 0xffffffff80868b5b in sys_kldload (td=0xfffff80008911490, uap=) at /usr/src/sys/kern/kern_linker.c:1055 X -version: X.Org X Server 1.12.4 Release Date: 2012-08-27 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 11.0-CURRENT amd64 Current Operating System: FreeBSD radziecki.saper.info 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r271197M: Sat Sep 6 19:19:12 CEST 2014 root@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64 Build Date: 04 September 2014 01:06:53AM Devices: vgapci0@pci0:0:2:0: class=0x030000 card=0x81e6104d chip=0x27a28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x81e6104d chip=0x27a68086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller' class = display (this laptop also has a possbility to switch to NVidia card on boot, not tested yet with this kernel). Kernel: # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc options SC_PIXEL_MODE # add support for the raster text mode # vt is the new video console driver device vt device vt_vga device vt_efifb device agp # support several AGP chipsets Loader: kern.vty=vt By the way, how do I get a nicer FB console during boot (not just after starting X)? I have difficulty getting back to the console text printed when it was "vga" (in 640x480x16 mode) - no more output shown on the hires console (I've had "tail -f somelog") running on the text console 0 when starting X from another window. //Marcin