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

dkms build error: 10 #140

Open
interconnectedMe opened this issue Aug 13, 2024 · 2 comments
Open

dkms build error: 10 #140

interconnectedMe opened this issue Aug 13, 2024 · 2 comments

Comments

@interconnectedMe
Copy link

I had an issue after updating KDE Neon today.

so I tried to follow the upgrade instructions here on github, that did not seem to work.

Then I tried uninstalling, rebooting, and installing again, but got an error to the effect that 'directory already exists and is not empty'

Then I tried uninstalling again. (I'm not savvy enough with gnu/linux to find the directory and delete it manually after running the uninstall script.

I noted the prompt to paste the terminal screen contents in to the problem report, so they are pasted below. I think I've managed to attach 'make.log' also if that helps.

I have no idea what to do after this, so if anyone knows, please do let me know ;-)

`
darren@drneon:/src/8814au$ sudo ./install-driver.sh
[sudo] password for darren:
: ---------------------------
: install-driver.sh v20230227
: x86_64 (architecture)
: 8/8 (in-use/total processing units)
: 16250604 (total system memory)
: 6.8.0-40-generic (kernel version)
: gcc (Ubuntu 11.4.0-1ubuntu1
22.04) 11.4.0
: dkms-2.8.7
EFI variables are not supported on this system
EFI variables are not supported on this system
EFI variables are not supported on this system
: ---------------------------

Checking for previously installed drivers.
: ---------------------------

Starting installation.
Installing 8814au.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl8814au-5.8.5.1
Creating symlink /var/lib/dkms/rtl8814au/5.8.5.1/source -> /usr/src/rtl8814au-5.8.5.1
The driver was added to dkms successfully.
: ---------------------------

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
./dkms-make.sh......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/dkms/rtl8814au/5.8.5.1/build/make.log for more information.
Command exited with non-zero status 10
Compile time: 59.00 seconds
An error occurred. dkms build error: 10
Please report this error.
Please copy all screen output and paste it into the problem report.
Run the following before reattempting installation.
$ sudo ./remove-driver.sh
`
make.log

@interconnectedMe
Copy link
Author

Something worked.
I think previously 'git pull' did not work (at least I don't recall seeing the output I saw this time.
This time, 'git pull' read back a lot of 'stuff' (40/40, Delta 22 iirc)
Wifi now working ridiculously well. 4 times-ish faster than before the updates I ran on KDE Neon today.

Thanks very much again!

@morrownr
Copy link
Owner

Glad you figured it out as that would have been my first suggestion. These drivers have to be kept up to date with git pull.

FYI: There may be a new driver for this chip in the next few months. It will be going into mainline as part of rtw88. I will be posting information about testing here at this repo when it is available for testing.

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