On Friday, September 12, 2014 05:45:31 PM Marcin Cieslak wrote: > 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=<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 > > > > 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=<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 > 318 return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); > Current language: auto; currently minimal > (kgdb) p *rid > $1 = 0 Hmm, type 1 is SYS_RES_IRQ. IRQ resources should not be marked reserved. Oh, some other child of vgapci has already allocated the IRQ. That seems odd. Can you get 'devinfo -r' output before you kldload i915kms and again after doing the kldload? (No need to run startx) -- John BaldwinReceived on Fri Sep 12 2014 - 18:35:15 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC