Octocontrabass wrote:songziming wrote:MADT LOCAL APIC NMI content: processor-uid=255, local-apic-lint=1, flags=0x0.
That still doesn't look right. Can you share your MADT?
This is my MADT content:
Code: Select all
madt flags=1
madt loapic_addr=fee00000
Processor Local APIC, processor-id=0, apic-id=0, flags=0x1
Processor Local APIC, processor-id=1, apic-id=1, flags=0x1
Processor Local APIC, processor-id=2, apic-id=2, flags=0x1
Processor Local APIC, processor-id=3, apic-id=3, flags=0x1
IO APIC, io_apic_id=0, addr=fec00000, global_system_interrupt_base=0
Interrupt Source Override, bus=0, source=0, global_system_interrupt=2, flags=0x0
Interrupt Source Override, bus=0, source=5, global_system_interrupt=5, flags=0xd
Interrupt Source Override, bus=0, source=9, global_system_interrupt=9, flags=0xd
Interrupt Source Override, bus=0, source=10, global_system_interrupt=10, flags=0xd
Interrupt Source Override, bus=0, source=11, global_system_interrupt=11, flags=0xd
Local APIC NMI, processor-id=255, flags=0x0, lint=1
And if you want raw content (every two digits represent a byte):
Code: Select all
4150494390000000014b424f4348532042585043202020200100000042585043010000000000e0fe
010000000008000001000000000801010100000000080202010000000008030301000000010c0000
0000c0fe00000000020a0000020000000000020a0005050000000d00020a0009090000000d00020a
000a0a0000000d00020a000b0b0000000d000406ff000001
rdos wrote:The NMI PIN never was used for anything significant in PCs, so that's hardly relevant.
I've heard that some servers have physical button to trigger NMI. Some machine also have watchdog that can send NMI if system doesn't respond. If system freezes, sending a NMI can restart the kernel, since NMI cannot be masked. On PC, if system doesn't respond, we can just restart the machine, so NMI is not that useful.