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

Be more verbose when failing due to missing module.ko #94

Closed
terencode opened this issue Aug 3, 2019 · 2 comments
Closed

Be more verbose when failing due to missing module.ko #94

terencode opened this issue Aug 3, 2019 · 2 comments

Comments

@terencode
Copy link

When I was packaging a driver, it took me a long time to understand why dkms was failing and make.log didn't report any error.
It was a typo in BUILT_MODULE_NAME[0] in dkms.conf that made dkms unable to locate the built module.
An incorrect Makefile configuration can produce the same result.

I suggest to append a message like the following:

Make sure the name of the generated module is correct and at the root of the build directory!

before Consult the make.log in the build directory /var/lib/dkms/biokernbase/3.1.2.1/build/ for more information.

@eli-schwartz
Copy link

The error message could also special case this to only suggest it in situations where it is known that make exited successfully but still failed to produce the expected files.

@scaronni
Copy link
Collaborator

5375478

terencode referenced this issue in atar-axis/xpadneo Mar 26, 2021
If we let udev evaluate our rules at position 60 (where most other
input rules sit), we can actually make use of uaccess and seat tags.
This allows proper access to the hidraw device because udev will now
assign ACLs for the current seat user to the device nodes.

Signed-off-by: Kai Krakow <[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

3 participants