How to set a breakpoint on PCI config space?

In WinDbg, I want to set a breakpoint when a certain PCI configuration
register is accessed, namely bus 0 device 1f function 0 offset 60. So,
I want to set an I/O breakpoint when 8000f860 is written to I/O
addresses 0cf8. But I can’t figure out how to do that in WinDbg.

In SoftICE, it would be something like:
bpio w 0cf8 if eax == 8000f860

But in WinDbg, even when I simply do one of these:
ba i 0cf8
ba i4 0cf8
I get error “I/O breakpoints not enabled.”

However, I’m on an x86 target and host, and Windows Server 2003 SP 2
target and host. And I’m running the newest WinDbg. The docs seem
clear that my second breakpoint should work.

Help? (Thanks!)

How to set a breakpoint on PCI config space?Let me simplify:
How do I set an I/O breakpoint?

In WinDbg, even when I simply do this:
ba i4 0cf8
I get error “I/O breakpoints not enabled.”

However, I’m on an x86 target and host, and Windows Server 2003 SP 2 target
and host. And I’m running the newest WinDbg. The docs seem clear that my
breakpoint should work.

Help? (Thanks!)

“Taed Wynnell” wrote in message news:xxxxx@windbg…
> In WinDbg, even when I simply do this:
> ba i4 0cf8
> I get error “I/O breakpoints not enabled.”

It turns out that I/O breakpoints cannot be set at the time of the boot’s
initial breakpoint. About 20 seconds later, they can be set fine. So, I’d
assume that some component is later loaded on the target before that can be
done.