-
Notifications
You must be signed in to change notification settings - Fork 109
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
Comments
Hi @tabshadel Can I get you to run the following and post the results? make clean |
```
-->Hi NickThanks for your reply and help. Here is the output of make clean and make:My system: Armbian 23.02.0-trunk Bullseye with Linux ***@***.***:/src/8821au-20210708# make clean#make -C /lib/modules/6.1.18-flippy-82+/build M=/src/8821au-20210708 cleancd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.kocd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.kocd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.kocd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.kocd core ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.kocd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.kocd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.kocd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.kocd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.korm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.orderrm -fr *.mod.c *.mod *.o .*.cmd *.ko *~rm -fr .***@***.***:/src/8821au-20210708# makemake ARCH=arm64 CROSS_COMPILE= -C /lib/modules/6.1.18-flippy-82+/build M=/src/8821au-20210708 modulesmake[1]: Entering directory '/usr/src/linux-headers-6.1.18-flippy-82+' ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. make[1]: *** [Makefile:813: include/config/auto.conf] Error 1make[1]: Leaving directory '/usr/src/linux-headers-6.1.18-flippy-82+'make: *** [Makefile:2501: modules] Error ***@***.***:/src/8821au-20210708# Sent from Mail for Windows From: NickSent: Saturday, March 11, 2023 8:51 PMTo: morrownr/8821au-20210708Cc: tabshadel; MentionSubject: Re: [morrownr/8821au-20210708] errors encountered during script installation on Armbian (Issue #76) Hi @tabshadelCan I get you to run the following and post the results?make cleanmake—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
```
|
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->PSI also tried the ***@***.***:/src/8821au-20210708# make oldconfig && make preparemake: *** No rule to make target 'oldconfig'. ***@***.***:/src/8821au-20210708# Sent from Mail for Windows From: NickSent: Saturday, March 11, 2023 8:51 PMTo: morrownr/8821au-20210708Cc: tabshadel; MentionSubject: Re: [morrownr/8821au-20210708] errors encountered during script installation on Armbian (Issue #76) Hi @tabshadelCan I get you to run the following and post the results?make cleanmake—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
That is from your original post that showed the output of the install-driver.sh script. It says you are running kernel 5.15.
Later on I see the above which says the header files are for kernel 6.1.
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. |
Status? |
root@armbian:
/src/8821au-20210708# sudo ./install-driver.sh22.04) 11.3.0: ---------------------------
: 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
: 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
The text was updated successfully, but these errors were encountered: