panic: resource_list_alloc: resource entry is busy

From: Marcin Cieslak <saper_at_saper.info>
Date: Wed, 10 Sep 2014 12:45:08 +0000 (UTC)
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=<value optimized out>, 
bus=<value optimized out>, child=<value optimized out>, type=<value optimized 
out>,
     rid=<value optimized out>, start=<value optimized out>, end=<value 
optimized out>, count=<value optimized out>, flags=<value optimized out>)
     at /usr/src/sys/kern/subr_bus.c:3304
#11 0xffffffff8061ddae in pci_alloc_resource (dev=<value optimized out>, 
child=<value optimized out>, type=<value optimized out>, rid=<value optimized 
out>,
     start=<value optimized out>, end=<value optimized out>, count=<value 
optimized out>, flags=<value optimized out>) 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=<value optimized out>, type=1, rid=0xfffff80008c0b2d4, start=0,
     end=<value optimized out>, count=18446744071580876744, flags=<value 
optimized out>) 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=<value 
optimized out>) at bus.h:416
#16 0xffffffff808c202f in device_attach (dev=0xfffff800026d7300) at 
device_if.h:180
#17 0xffffffff808c34c9 in bus_generic_driver_added (dev=<value optimized out>, 
driver=<value optimized out>) 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=<value optimized out>, dcp=<value optimized 
out>)
     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=<value optimized out>, 
modname=0xfffff80002407400 "i915kms", parent=0x0, verinfo=0x0,
     lfpp=0xfffffe0096d05a80) at /usr/src/sys/kern/kern_linker.c:224
#22 0xffffffff80868a18 in kern_kldload (td=<value optimized out>, file=<value 
optimized out>, fileid=0xfffffe0096d05ac4)
     at /usr/src/sys/kern/kern_linker.c:1029
#23 0xffffffff80868b5b in sys_kldload (td=0xfffff80008911490, uap=<value 
optimized out>) 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_at_radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64
Build Date: 04 September 2014  01:06:53AM

Devices:

vgapci0_at_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_at_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
Received on Wed Sep 10 2014 - 10:45:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC