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

armv7m7-imxrt117x: touch failure return EIO and VM pool exhaustion #1097

Open
mateusz-bloch opened this issue Jun 17, 2024 · 0 comments
Open
Labels

Comments

@mateusz-bloch
Copy link
Contributor

mateusz-bloch commented Jun 17, 2024

Trying to enable test execution in the new psh on this target, in relation to the resolution provided in issue #866 . I encountered a failure when using ls in the test touch. The command touch returns success, but the ls print that the directory does not seem to exist when attempting to list it. Additionally, a error message vm: Entry pool exhausted! appears.

  (psh)% touch test_touch_dir/slash_file/
  (psh)% echo $?
  0
  (psh)% date +%Y:%m:%d:%H:%M:%S
  1970:01:01:00:00:03
  (psh)% ls -la test_touch_dir
  ls: can't access test_touch_dir: no such file or directory
  (psh)% exit
  (psh)% dmesg -E
  vm: Entry pool exhausted!
  (psh)% vm: Entry pool exhausted!

Currently, also with touch command in touch test:

  (psh)% mkdir /test_touch_dir/multi_arg9
  (psh)% echo $?
  0
  (psh)% touch /test_touch_dir/multi_arg9/K2C?i#8M /test_touch_dir/multi_arg9/+y?@ /test_touch_dir/multi_arg9/BUAX?
  psh: failed to touch /test_touch_dir/multi_arg9/+y?@: EIO
  psh: failed to touch /test_touch_dir/multi_arg9/BUAX?: EIO
  (psh)% exit
  (psh)% dmesg -E
  vm: Entry pool exhausted!
  vm: Entry pool exhausted!
  (psh)% vm: Entry pool exhausted!
  vm: Entry pool exhausted!

Problems occur after adding changes from :

* phoenix-rtos-kernel 7634e1e...5beec45 (3):
  > NOMMU: Implement message passing between processes of different MPU regions
  > imxrt: Fix hal_exceptionJump and initial stack align
  > armv7m: Enable MPU

Currently seeking an easy way to reproduce the issue with minimal code for a more straightforward investigation

@mateusz-bloch mateusz-bloch changed the title armv7m7-imxrt117x: ls failure and VM pool exhaustion armv7m7-imxrt117x: touch failure return EIO and VM pool exhaustion Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant