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

owakelock not found #34

Open
binaryslark opened this issue May 6, 2023 · 8 comments
Open

owakelock not found #34

binaryslark opened this issue May 6, 2023 · 8 comments

Comments

@binaryslark
Copy link

when i run

make O=out ARCH=arm64 defconfig

got error

drivers/soc/Kconfig:31: can't open file "drivers/soc/oplus/owakelock/Kconfig"
../scripts/kconfig/Makefile:95: recipe for target 'defconfig' failed
make[2]: *** [defconfig] Error 1
/home/meepo/8T/android_kernel_oneplus_sm8250/Makefile:628: recipe for target 'defconfig' failed
make[1]: *** [defconfig] Error 2
make[1]: Leaving directory '/home/meepo/8T/android_kernel_oneplus_sm8250/out'
Makefile:146: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2

cannot find the owakelock folder. (use branch oneplus/sm8250_s_12.1)

i tried the android_vendor_qcom_opensource_audio_kernel_sm8250, but owakelock is not there.

@brsz
Copy link

brsz commented Nov 11, 2023

解决了么?

@binaryslark
Copy link
Author

binaryslark commented Nov 11, 2023 via email

@brsz
Copy link

brsz commented Nov 11, 2023

好的,谢谢

@brsz
Copy link

brsz commented Nov 11, 2023

你加了之后可以编译成功么

@binaryslark
Copy link
Author

binaryslark commented Nov 11, 2023 via email

@brsz
Copy link

brsz commented Nov 11, 2023

加了其他模块也老报错,人都麻了

@binaryslark
Copy link
Author

binaryslark commented Nov 11, 2023 via email

@brsz
Copy link

brsz commented Nov 11, 2023

OK

sreelekshman pushed a commit to sreelekshman/android_kernel_realme_sm8250 that referenced this issue Feb 14, 2024
[ Upstream commit d6938c1c76c64f42363d0d1f051e1b4641c2ad40 ]

Inside decrement_ttl() upon discovering that the packet ttl has exceeded,
__IP_INC_STATS and __IP6_INC_STATS macros can be called from preemptible
context having the following backtrace:

check_preemption_disabled: 48 callbacks suppressed
BUG: using __this_cpu_add() in preemptible [00000000] code: curl/1177
caller is decrement_ttl+0x217/0x830
CPU: 5 PID: 1177 Comm: curl Not tainted 6.7.0+ OnePlusOSS#34
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xbd/0xe0
 check_preemption_disabled+0xd1/0xe0
 decrement_ttl+0x217/0x830
 __ip_vs_get_out_rt+0x4e0/0x1ef0
 ip_vs_nat_xmit+0x205/0xcd0
 ip_vs_in_hook+0x9b1/0x26a0
 nf_hook_slow+0xc2/0x210
 nf_hook+0x1fb/0x770
 __ip_local_out+0x33b/0x640
 ip_local_out+0x2a/0x490
 __ip_queue_xmit+0x990/0x1d10
 __tcp_transmit_skb+0x288b/0x3d10
 tcp_connect+0x3466/0x5180
 tcp_v4_connect+0x1535/0x1bb0
 __inet_stream_connect+0x40d/0x1040
 inet_stream_connect+0x57/0xa0
 __sys_connect_file+0x162/0x1a0
 __sys_connect+0x137/0x160
 __x64_sys_connect+0x72/0xb0
 do_syscall_64+0x6f/0x140
 entry_SYSCALL_64_after_hwframe+0x6e/0x76
RIP: 0033:0x7fe6dbbc34e0

Use the corresponding preemption-aware variants: IP_INC_STATS and
IP6_INC_STATS.

Found by Linux Verification Center (linuxtesting.org).

Fixes: 8d8e20e ("ipvs: Decrement ttl")
Signed-off-by: Fedor Pchelkin <[email protected]>
Acked-by: Julian Anastasov <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
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