FreeBSD Bugzilla – Attachment 219929 Details for
Bug 251346
atapci: "Device leaked I/O resources"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Release allocated resources after chip initialisation failure.
ata-pci.c.patch (text/plain), 826 bytes, created by
Jan Martin Mikkelsen
on 2020-11-24 16:34:49 UTC
(
hide
)
Description:
Release allocated resources after chip initialisation failure.
Filename:
MIME Type:
Creator:
Jan Martin Mikkelsen
Created:
2020-11-24 16:34:49 UTC
Size:
826 bytes
patch
obsolete
>Resolves the "leaked" message for this sequence in dmesg on a >Supermicro X11SPA-T. > > >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 > > > >--- src/sys/dev/ata/ata-pci.c 2020-11-12 16:41:12.000000000 1100 >+++ src/sys/dev/ata/ata-pci.c 2020-11-12 16:41:12.000000000 1100 >@@ -111,8 +111,13 @@ > RF_ACTIVE); > } > >- if (ctlr->chipinit(dev)) >+ if (ctlr->chipinit(dev)) { >+ if (ctlr->r_res1) >+ bus_release_resource(dev, ctlr->r_type1, ctlr->r_rid1, >+ ctlr->r_res1); >+ > return ENXIO; >+ } > > /* attach all channels on this controller */ > for (unit = 0; unit < ctlr->channels; unit++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 251346
: 219929