[Bug 207677] atrtc Warning: Couldn't map I/O on Skylake Supermicro X11SSH-LN4F

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 03 Oct 2021 17:04:17 UTC

Poul-Henning Kamp <phk@FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |phk@FreeBSD.org

--- Comment #9 from Poul-Henning Kamp <phk@FreeBSD.org> ---
pstef@ ping'ed me on this one.

I have nothing much to add over the comment I put in atrtc_attach() in the
original commit (294643529963), but which has subsequently been lost:

        * Not that we need them or anything, but grab our resources
        * so they show up, correctly attributed, in the big picture.

I wanted to make the RTC resources show up in the accounting, for instance
devinfo -rv

For what it is worth, I get the warning also on my laptop (T480):

    atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
    atrtc0: Warning: Couldn't map I/O.
    atrtc0: registered as a time-of-day clock, resolution 1.000000s

I suspect the reason for the message is that acpi0 already claimed some of
those ports:

      Interrupt request lines:
      I/O ports:

I guess, if somebody want to fix this, the ATRTC needs to be picked up through
ACPI rather than PNP ?

You are receiving this mail because:
You are the assignee for the bug.