https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251346

            Bug ID: 251346
           Summary: atapci: "Device leaked I/O resources"
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 219929
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219929&action=edit
Release allocated resources after chip initialisation failure.

Booting 12.2 RELEASE on a Supermicro X11SPA motherboard gives this sequence of
events in demsg.

atapci0: <Intel ATA controller> port
0x3050-0x3057,0x3040-0x3043,0x3030-0x3037,0x3020-0x3023,0x3010-0x301f at device
22.2 numa-domain 0 on pci0
atapci0: unable to map interrupt
device_attach: atapci0 attach returned 6
pci0:0:22:2: Device leaked I/O resources

Looking at the code, resources are allocated using bus_alloc_resource_any(),
but not released in the interrupt mapping failure case. Patch attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to