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

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

Open
nonetrix opened this issue Mar 25, 2024 · 3 comments

Comments

@nonetrix
Copy link

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

@nonetrix nonetrix changed the title Unable to attempt to run crash script Unable to attempt to run crash script (note: 6800 not 7900 XTX might be user error) Mar 25, 2024
@geohot
Copy link
Collaborator

geohot commented Mar 25, 2024

It's probably because you have a different version of that header file it opens. You don't need that function, should be able to try except it.

@nonetrix
Copy link
Author

Will try that and post results I guess

@nonetrix
Copy link
Author

Not able to get it to run still keep running into errors I give up for now, if anyone else wants to try getting it to run on older cards they can try I guess so I guess I can keep the issue open. The code is way above my knowledge level unfortunately lol

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

No branches or pull requests

2 participants