Skip to content

Unable to attempt to run crash script (note: 6800 not 7900 XTX might be user error) #1

@nonetrix

Description

@nonetrix

I was attempting to test this script to see if it would trigger similar issue I am having on my RX 6800, however it seems I am getting the following error when attempting to run it

Traceback (most recent call last):
  File "/home/noah/Documents/AI/7900xtx/crash/driver.py", line 43, in <module>
    kio = ioctls_from_header()
          ^^^^^^^^^^^^^^^^^^^^
  File "/home/noah/Documents/AI/7900xtx/crash/driver.py", line 41, in ioctls_from_header
    fxns[name.replace("AMDKFD_IOC_", "").lower()] = functools.partial(kfd_ioctl, idirs[idir], int(nr, 0x10), getattr(kfd, "struct_"+sname))
                                                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'kfd' has no attribute 'struct_kfd_ioctl_criu_args'. Did you mean: 'struct_kfd_ioctl_svm_args'?

Seems to be a issue in the kfd.py script itself and not really related to me running a older card to anything like that, however, I don't really understand the low level code enough to say for sure exactly

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