x86 Linuxで監視レジスタを読み取るには?

x86 Linuxで監視レジスタを読み取るには?

Intel Lynx PointシステムからIntel iTCO監視レジスタを読みたいです。ここでウォッチャーを見つけました。

[ 5598.341020] iTCO_wdt iTCO_wdt.1.auto: Found a Lynx Point TCO device (Version=2, TCOBASE=0x1860)

ISAブリッジLPCコントローラに接続します。

00:1f.0 ISA bridge: Intel Corporation H87 Express LPC Controller (rev 05)
    Subsystem: ASUSTeK Computer Inc. H87 Express LPC Controller
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Capabilities: [e0] Vendor Specific Information: Len=0c <?>
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich

iportが見つかりました。

cat /proc/ioports | grep -i tco
1830-1833 : iTCO_wdt.1.auto
1830-1833 : iTCO_wdt
1860-187f : iTCO_wdt.1.auto
1860-187f : iTCO_wdt

iomemを見つけました。

cat /proc/iomem | grep -i wdt
fed1f410-fed1f414 : iTCO_wdt.0.auto

次の方法でメモリをダンプしようとしています。

memtool md 0xfed1f410

その後、タイムアウトを別の値に設定し、レジスタを再比較します。

wdctl -s 10
memtool md 0xfed1f410

何も変わったことがないのになぜ?私のアプローチに問題がありますか?

ベストアンサー1

おすすめ記事