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

Error: openat(AT_FDCWD, "/dev/kfd", O_RDWR|O_CLOEXEC) = -1 ENOMEM ( #1109

Closed
Disidente opened this issue May 15, 2020 · 5 comments
Closed

Error: openat(AT_FDCWD, "/dev/kfd", O_RDWR|O_CLOEXEC) = -1 ENOMEM ( #1109

Disidente opened this issue May 15, 2020 · 5 comments

Comments

@Disidente
Copy link

Disidente commented May 15, 2020

Ubuntu 20.04 . Intel i7-2600K (16Gb RAM) - Radeon RX480 6Gb

sudo /opt/rocm/bin/rocminfo

carlos is member of video group
hsa api call failure at: /data/jenkins-workspace/compute-rocm-rel-3.3/rocminfo/rocminfo.cc:1102
Call returned HSA_STATUS_ERROR_OUT_OF_RESOURCES: The runtime failed to allocate the necessary resources. This error may also occur when the core runtime library needs to spawn threads or create internal OS-specific events.

strace /opt/rocm/bin/rocminfo

write(1, "\33[37mcarlos is member of video g"..., 41carlos is member of video group
) = 41
getpid()                                = 3136
openat(AT_FDCWD, "/dev/kfd", O_RDWR|O_CLOEXEC) = -1 ENOMEM (No se pudo asignar memoria)
write(1, "\33[31mhsa api call failure at: /d"..., 101hsa api call failure at: /data/jenkins-workspace/compute-rocm-rel-3.3/rocminfo/rocminfo.cc:1102
) = 101
write(1, "\33[31mCall returned HSA_STATUS_ER"..., 228Call returned HSA_STATUS_ERROR_OUT_OF_RESOURCES: The runtime failed to allocate the necessary resources. This error may also occur when the core runtime library needs to spawn threads or create internal OS-specific events.
) = 228
write(1, "\33[0m", 4)                   = 4
lseek(3, -337, SEEK_CUR)                = -1 ESPIPE (Desplazamiento ilegal)
exit_group(4104)                        = ?
+++ exited with 8 +++
@balasundram
Copy link

you got any fix?
same issue !!!

@maomaopangba
Copy link

Ubuntu 18.04
5.4.0-42-generic #46~18.04.1-Ubuntu SMP
I have the same issue.
Any update?

@xuhuisheng
Copy link
Contributor

  1. check the permission of /dev/kfd, make sure the loginUser in the group /dev/kfd
  2. check the dmesg|grep kfd, make sure kfd not reject the video card

@ROCmSupport
Copy link

Hi @Disidente
Can you please verify with the latest ROCm 4.0 and share an update asap.
So that I can move this issue to next level.
Thank you.

@ROCmSupport
Copy link

I am closing this as there is no response for more than 2 months.
Feel free to open a new issue, if any.
Thank you.

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

5 participants