Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix perftest device init #90

Open
AndrewGavril opened this issue Oct 2, 2023 · 2 comments
Open

Fix perftest device init #90

AndrewGavril opened this issue Oct 2, 2023 · 2 comments
Assignees
Labels
kernel Task related to kernel qemu Task related to qemu

Comments

@AndrewGavril
Copy link
Collaborator

Perftest sees the device, but cant open it

root@qemux86-64:/sys/kernel/debug# ibv_devices 
    device          	   node GUID
    ------          	----------------
    iwp0s3          	9a150bce93c33a74

root@qemux86-64:/sys/kernel/debug# ibv_devinfo 
Failed to open device

root@qemux86-64:/sys/kernel/debug# ib_send_lat   
 Couldn't get context for the device
 Couldn't get context for the device

May be caused by unimplemented operations:

IVSHMEM: Not implemented gasadata read on reg 0x3e304
IVSHMEM: Read value 0x0 at 0000000000000ffc
IVSHMEM: Writing to addr 0000000000000ff8 value 0x3e104
IVSHMEM: Read value 0x20 at 0000000000000ffc
IVSHMEM: Writing to addr 0000000000000ff8 value 0x3e384
IVSHMEM: Not implemented gasadata read on reg 0x3e384
IVSHMEM: Read value 0x0 at 0000000000000ffc
IVSHMEM: Writing to addr 0000000000000ff8 value 0x3e104
IVSHMEM: Read value 0x20 at 0000000000000ffc
IVSHMEM: Writing to addr 0000000000000ff8 value 0x3ec0c
IVSHMEM: Writing to addr 0000000000000ffc value 0xffffffff
IVSHMEM: Not implemented gasadata write on reg 0x3ec0c
@AndrewGavril AndrewGavril added qemu Task related to qemu kernel Task related to kernel labels Oct 2, 2023
@mxkrsv
Copy link
Collaborator

mxkrsv commented Oct 2, 2023

For me, the device isn't listed at all:

# ibv_devices 
    device          	  node GUID
    ------          	----------------

ntb_transport reports the following:

[    1.872673] ntb_transport 0000:00:03.0: Inbound MW based NTB API is required
[    1.874456] ntb_transport: probe of 0000:00:03.0 failed with error -22

@AndrewGavril
Copy link
Collaborator Author

AndrewGavril commented Oct 3, 2023

For me, the device isn't listed at all:

# ibv_devices 
    device          	  node GUID
    ------          	----------------

ntb_transport reports the following:

[    1.872673] ntb_transport 0000:00:03.0: Inbound MW based NTB API is required
[    1.874456] ntb_transport: probe of 0000:00:03.0 failed with error -22

Have you loaded ntrdma module using modprobe ntrdma?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Task related to kernel qemu Task related to qemu
Projects
None yet
Development

No branches or pull requests

2 participants