8000 VIRTIO-PCI: failed to open /sys/bus/pci/devices/<BDF>/resource0 · Issue #34 · emmericp/ixy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
VIRTIO-PCI: failed to open /sys/bus/pci/devices/<BDF>/resource0 #34
Open
@130B848

Description

@130B848
  1. There is no resource0 but resource in my Ubuntu 20.04 VM
  • So I changed resource0 in virtio.c to resource.
  1. /sys/bus/pci/devices/<BDF>/resource is read-only, so ixy-pktgen failed because permission denied
  • I added write permissions to /sys/bus/pci/devices/<BDF>/resource (I also tried 777)
  1. Then it can open the resource, but failed at device.h:154 write_io8(): pwrite io resource after virtio_legacy_init(): Configuring bar0

Is there something wrong with my usage? Can anyone help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0