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

omni pie on OP3 #2

Open
FSadino opened this issue Aug 14, 2019 · 1 comment
Open

omni pie on OP3 #2

FSadino opened this issue Aug 14, 2019 · 1 comment

Comments

@FSadino
Copy link

FSadino commented Aug 14, 2019

I guys, im trying to build omni pie for my OP3 but i'm getting these when start compilation:

FAILED: /home/fsadino/Android_Build/OmniROM_pie/out/soong/build.ninja
/home/fsadino/Android_Build/OmniROM_pie/out/soong/.bootstrap/bin/soong_build -t -l /home/fsadino/Android_Build/OmniROM_pie/out/.module_paths/Android.bp.list -b /home/fsadino/Android_Build/OmniROM_pie/out/soong -n /home/fsadino/Android_Build/OmniROM_pie/out -d /home/fsadino/Android_Build/OmniROM_pie/out/soong/build.ninja.d -o /home/fsadino/Android_Build/OmniROM_pie/out/soong/build.ninja Android.bp
Clang SA is not enabled
error: system/vold/Android.bp:88:1: "libvold" depends on undefined module "libcryptfs_hw_headers"
error: system/vold/Android.bp:88:1: "libvold" depends on undefined module "libcryptfs_hw"
error: system/vold/Android.bp:153:1: "vold" depends on undefined module "libcryptfs_hw"
ninja: build stopped: subcommand failed.
15:40:56 soong bootstrap failed with: exit status 1

Where should i define these modules?
Thanks in advance

@ghost
Copy link

ghost commented Apr 30, 2021

how to solve this ? I have the same issuse

OmniBot pushed a commit that referenced this issue Oct 24, 2021
reboot maybe cause a deadlock scenario:

1:init->vdc->vold for abort_fuse blocked on futex hold by another
vold binder_x

2:binder_x blocked in binder_ioctl_write_read wait a dead service's
response

3:dead service is exiting and schedule a deferred work for put files
in binder_vma_close, after put files is completed, the binder_x will
eventually wake up

4:kworker execute binder_deferred_work is blocked on fuse request:
crash> bt 1707
PID: 1707   TASK: ffffffe366175e80  CPU: 2   COMMAND: "kworker/2:4"
 #0 [ffffff801b8b3ac0] __switch_to at ffffff962ce88a60
 #1 [ffffff801b8b3b10] __schedule at ffffff962e2d3d30
 #2 [ffffff801b8b3b70] schedule at ffffff962e2d3ff4
 #3 [ffffff801b8b3bc0] __fuse_request_send at ffffff962d20e008
 #4 [ffffff801b8b3c00] fuse_request_send at ffffff962d20deac
 #5 [ffffff801b8b3c30] fuse_flush at ffffff962d217fa4
 #6 [ffffff801b8b3c80] filp_close at ffffff962d0bd7b4
 #7 [ffffff801b8b3cb0] put_files_struct at ffffff962d0e7658
 #8 [ffffff801b8b3d30] binder_deferred_func at ffffff962dc9e60c
 #9 [ffffff801b8b3d90] process_one_work at ffffff962cee761c
 #10 [ffffff801b8b3e00] worker_thread at ffffff962cee7a68
 #11 [ffffff801b8b3e60] kthread at ffffff962ceecc14
waiting for init abort_fuse

suggested by maco, do not acquire lock when abort fuse.

Test: reboot stress test

Change-Id: If6dd7f5e9c413a16ba047204c33d82d6ff41c4ae
Signed-off-by: lijiazi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant