Re: panic: resource_list_alloc: resource entry is busy

From: Marcin Cieslak <saper_at_saper.info>
Date: Fri, 12 Sep 2014 20:57:55 +0000 (UTC)
On Fri, 12 Sep 2014, John Baldwin wrote:

>>      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)

Please note I originally loaded "i915.ko", not "i915kms.ko"

Full output of the devinfo -r attached (no modules, w/i915 and w/i915kms), snippets:

     pcib0
         I/O ports:
             0xcf8-0xcff
       pci0
           PCI domain 0 bus numbers:
               0
         hostb0
         vgapci0
             I/O ports:
                 0x1800-0x1807
             I/O memory addresses:
                 0xd0000000-0xdfffffff
                 0xf8300000-0xf837ffff
                 0xf8400000-0xf843ffff
           agp0
               I/O memory addresses:
                   0x80000000-0x80000fff
           acpi_video0
         vgapci1
             I/O memory addresses:
                 0xf8380000-0xf83fffff

With i915.ko loaded:

     pcib0
         I/O ports:
             0xcf8-0xcff
       pci0
           PCI domain 0 bus numbers:
               0
         hostb0
         vgapci0
             Interrupt request lines:
                 16
             I/O ports:
                 0x1800-0x1807
             I/O memory addresses:
                 0xd0000000-0xdfffffff
                 0xf8300000-0xf837ffff
                 0xf8400000-0xf843ffff
           agp0
               I/O memory addresses:
                   0x80000000-0x80000fff
           acpi_video0
           drm0
         vgapci1
             I/O memory addresses:
                 0xf8380000-0xf83fffff

with i915kms.ko loaded:

     pcib0
         I/O ports:
             0xcf8-0xcff
       pci0
           PCI domain 0 bus numbers:
               0
         hostb0
         vgapci0
             Interrupt request lines:
                 16
             I/O ports:
                 0x1800-0x1807
             I/O memory addresses:
                 0xd0000000-0xdfffffff
                 0xf8300000-0xf837ffff
                 0xf8400000-0xf843ffff
           agp0
               I/O memory addresses:
                   0x80000000-0x80000fff
           acpi_video0
           drmn0
             intel_iicbb0
               iicbb0
                 iicbus0
                   iicsmb0
                     smbus0
                       smb0
                   iic0
             intel_gmbus0
               iicbus1
                 iicsmb1
                   smbus1
                     smb1
                 iic1
             intel_iicbb1
               iicbb1
                 iicbus2
                   iicsmb2
                     smbus2
                       smb2
                   iic2
             intel_gmbus1
               iicbus3
                 iicsmb3
                   smbus3
                     smb3
                 iic3
             intel_iicbb2
               iicbb2
                 iicbus4
                   iicsmb4
                     smbus4
                       smb4
                   iic4
             intel_gmbus2
               iicbus5
                 iicsmb5
                   smbus5
                     smb5
                 iic5
             intel_iicbb3
               iicbb3
                 iicbus6
                   iicsmb6
                     smbus6
                       smb6
                   iic6
             intel_gmbus3
               iicbus7
                 iicsmb7
                   smbus7
                     smb7
                 iic7
             intel_iicbb4
               iicbb4
                 iicbus8
                   iicsmb8
                     smbus8
                       smb8
                   iic8
             intel_gmbus4
               iicbus9
                 iicsmb9
                   smbus9
                     smb9
                 iic9
             intel_iicbb5
               iicbb5
                 iicbus10
                   iicsmb10
                     smbus10
                       smb10
                   iic10
             intel_gmbus5
               iicbus11
                 iicsmb11
                   smbus11
                     smb11
                 iic11
             intel_iicbb6
               iicbb6
                 iicbus12
                   iicsmb12
                     smbus12
                       smb12
                   iic12
             intel_gmbus6
               iicbus13
                 iicsmb13
                   smbus13
                     smb13
                 iic13
             intel_iicbb7
               iicbb7
                 iicbus14
                   iicsmb14
                     smbus14
                       smb14
                   iic14
             intel_gmbus7
               iicbus15
                 iicsmb15
                   smbus15
                     smb15
                 iic15
             fbd0
         vgapci1
             I/O memory addresses:
                 0xf8380000-0xf83fffff

Unfortunately, "kldunload i915kms" makes my screen blank
and probably crashes the system (disk activity stops after
a short while and there is no response to the keyboard input).

//Marcin
Received on Fri Sep 12 2014 - 18:58:00 UTC

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