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

errors encountered during script installation on Armbian #76

Open
tabshadel opened this issue Mar 12, 2023 · 5 comments
Open

errors encountered during script installation on Armbian #76

tabshadel opened this issue Mar 12, 2023 · 5 comments

Comments

@tabshadel
Copy link

root@armbian:/src/8821au-20210708# sudo ./install-driver.sh
: ---------------------------
: install-driver.sh v20230227
: aarch64 (architecture)
: 2/4 (in-use/total processing units)
: 943800 (total system memory)
: 5.15.99-flippy-82+o (kernel version)
: gcc (Ubuntu 11.3.0-1ubuntu1
22.04) 11.3.0
: dkms-2.8.7
: ---------------------------

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

Starting installation.
Installing 8821au.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl8821au-5.12.5.2
Creating symlink /var/lib/dkms/rtl8821au/5.12.5.2/source -> /usr/src/rtl8821au-5.12.5.2
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: 5.15.99-flippy-82+o (aarch64)
Consult /var/lib/dkms/rtl8821au/5.12.5.2/build/make.log for more information.
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

@morrownr
Copy link
Owner

Hi @tabshadel

Can I get you to run the following and post the results?

make clean
make

@tabshadel
Copy link
Author

tabshadel commented Mar 12, 2023 via email

@tabshadel
Copy link
Author

tabshadel commented Mar 12, 2023 via email

@morrownr
Copy link
Owner

5.15.99-flippy-82+o (kernel version)

That is from your original post that showed the output of the install-driver.sh script. It says you are running kernel 5.15.

Leaving directory '/usr/src/linux-headers-6.1.18-flippy-82

Later on I see the above which says the header files are for kernel 6.1.

ERROR: Kernel configuration is invalid.

That statement sums it up. Your development environment is messed up. The header files have to be the same version as the kernel you are running. I would help if I could but I have no idea how this mess was created. You may want to post in the appropriate Armbian forum as this is a problem with Armbian.

@morrownr

@morrownr
Copy link
Owner

morrownr commented Apr 6, 2023

Status?

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