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

Waydroid modules Error Bad return status for module build on kernel #975

Open
Everest10 opened this issue Jul 16, 2024 · 1 comment
Open
Labels
Prj C BMQ Prj C PDS upstream Not directly related to this repo

Comments

@Everest10
Copy link

Everest10 commented Jul 16, 2024

With the distribution's standard kernel 6.9.8-200 I am able to use waydroid normally, but when compiling the tkg kernel enabling the waydroid modules these errors occur. I would like to fix this so I don't have to restart the computer to enter another kernel.

$ sudo dnf install kernel-6.9.9_tkg_pds-1.x86_64.rpm kernel-devel-6.9.9_tkg_pds-1.x86_64.rpm
Last metadata expiration check: 0:00:15 ago on 2024-07-16T09:30:52 -03.
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
kernel x86_64 6.9.9_tkg_pds-1 @commandline 1.9 G
kernel-devel x86_64 6.9.9_tkg_pds-1 @commandline 11 M

Transaction Summary

Total size: 1.9 G
Installed size: 1.9 G
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Reinstalling : kernel-devel-6.9.9_tkg_pds-1.x86_64 1/4
Reinstalling : kernel-6.9.9_tkg_pds-1.x86_64 2/4
Running scriptlet: kernel-6.9.9_tkg_pds-1.x86_64 2/4
dkms: running auto installation service for kernel 6.9.9_tkg_pds
Sign command: /lib/modules/6.9.9_tkg_pds/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)...(bad exit status: 2)
Failed command:
make -j16 KERNELRELEASE=6.9.9_tkg_pds all KERNEL_SRC=/lib/modules/6.9.9_tkg_pds/build
Error! Bad return status for module build on kernel: 6.9.9_tkg_pds (x86_64x86_64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information.
Sign command: /lib/modules/6.9.9_tkg_pds/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)...(bad exit status: 2)
Failed command:
make -j16 KERNELRELEASE=6.9.9_tkg_pds all KERNEL_SRC=/lib/modules/6.9.9_tkg_pds/build
Error! Bad return status for module build on kernel: 6.9.9_tkg_pds (x86_64x86_64)
Consult /var/lib/dkms/anbox-binder/1/build/make.log for more information.
dkms autoinstall on 6.9.9_tkg_pds/x86_64x86_64 failed for anbox-ashmem(10) anbox-binder(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel 6.9.9_tkg_pds Failed.
dkms: running auto installation service for kernel 6.9.9_tkg_pds
Sign command: /lib/modules/6.9.9_tkg_pds/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)...(bad exit status: 2)
Failed command:
make -j16 KERNELRELEASE=6.9.9_tkg_pds all KERNEL_SRC=/lib/modules/6.9.9_tkg_pds/build
Error! Bad return status for module build on kernel: 6.9.9_tkg_pds (x86_64x86_64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information.
Sign command: /lib/modules/6.9.9_tkg_pds/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)...(bad exit status: 2)
Failed command:
make -j16 KERNELRELEASE=6.9.9_tkg_pds all KERNEL_SRC=/lib/modules/6.9.9_tkg_pds/build
Error! Bad return status for module build on kernel: 6.9.9_tkg_pds (x86_64x86_64)
Consult /var/lib/dkms/anbox-binder/1/build/make.log for more information.
dkms autoinstall on 6.9.9_tkg_pds/x86_64x86_64 failed for anbox-ashmem(10) anbox-binder(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel 6.9.9_tkg_pds Failed.

Cleanup : kernel-devel-6.9.9_tkg_pds-1.x86_64 3/4
Running scriptlet: kernel-6.9.9_tkg_pds-1.x86_64 4/4
Cleanup : kernel-6.9.9_tkg_pds-1.x86_64 4/4
Running scriptlet: kernel-6.9.9_tkg_pds-1.x86_64 4/4

Reinstalled:
kernel-6.9.9_tkg_pds-1.x86_64 kernel-devel-6.9.9_tkg_pds-1.x86_64

Complete!


❯ waydroid show-full-ui
`[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None
[gbinder] ERROR: Can't open /dev/binder: No such file or directory
[09:28:20] Failed to add presence handler: None

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.9_tkg_pds (64-bit)
Graphics Platform: Wayland

@Tk-Glitch
Copy link
Member

Project C (and thus PDS) disables PSI which is needed by binder modules. It should work with a non-project C CPU scheduler.

Tk-Glitch added a commit that referenced this issue Jul 22, 2024
…n PSI which is disabled on those schedulers due to bugs.

Related to #975
@Tk-Glitch Tk-Glitch added upstream Not directly related to this repo Prj C PDS Prj C BMQ labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prj C BMQ Prj C PDS upstream Not directly related to this repo
Projects
None yet
Development

No branches or pull requests

2 participants