Skip to content

Windows 10: method win32-kldbg doesn't work #222

@pharitchabalet

Description

@pharitchabalet

pciutils version: 3.15.0
OS: Windows 10 (10.0.19045)
pciutils cross compiled for Windows on Linux Mint 22.1 using the command "make CROSS_COMPILE=x86_64-w64-mingw32- HOST=x86_64-windows ZLIB=no IDSDIR=""

Running pciutils 3.15.0 on Windows 10 with the method win32-kldbg returns the error:
Trying method win32-kldbg...Accessing PCI config space via Kernel Local Debugging Driver requires Windows Vista or higher version....No.

This error is logged by the function win32_kldbg_setup when the function win32_is_vista_system returns False. The function win32_is_vista_system looks wrong as it returns false when version.dwMajorVersion >= 6. That should be version.dwMajorVersion < 6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions