Jump to content

Building Kernel Module for 6.1.99 Fails


Recommended Posts

Posted

Downloaded the latest build
Armbian_25.2.1_Orangepi5_bookworm_vendor_6.1.99_minimal.img

 

Cloned the git repo for rtl88x2bu

Built the new module with

 

cd /usr/src/linux-headers-6.1.99-vendor-rk35xx/arch/

ln -s arm64 aarch64

cd /rtl88x2bu
make KVER=6.1.99-vendor-rk35xx -j8
make KVER=6.1.99-vendor-rk35xx install

modprobe 88x2bu.ko

Looked at dmesg, and I see that it gives a message that the kernel is tainted and the module will not load.   No working wifi.   This same procedure worked fine with the 6.1.75 kernel of a previous release.

<
Posted (edited)

Yes, there is the 88x2bu module included but it is unable to load because it says that there is an unknown symbol.   From what I've read, it may depend on the cfg80211 module, but I do not see that available.   

 

When I've built the driver from the repo below, it does just work for me.

https://github.com/morrownr/88x2bu

 

https://github.com/cilynx/rtl88x2bu

Edited by PeteL
Posted

That's quite odd since this is the exact 3rd party driver Armbian ships with its images.

An older commit though. Needs to be tested if it can be pushed.

Posted

This is taken from a working build in which I compiled the aforementioned driver to make the wireless NIC work.

 

https://paste.armbian.de/ezunugazif

 

Note:  My installation is not exactly vanilla, but the u-boot, kernel, dtbs, and most of the OS is still stock Armbian.   I built a custom uInitrd to support my restartOS project, of which Armbian is the base for the embedded systems that I support.   

 

Thanks,

-Pete

Posted

That was a good call to re-org the post.  I wanted to get you the logs from a vanilla install illustrating the same problem, but the same wifi adapter actually worked.  So now I'm going to rebuild my own image without the newly built driver and test again.   Maybe this will save me a step moving forward.

 

Thanks,

-Pete

Posted

Thanks so much for entertaining my issue.   I rebuilt my image without the custom compiled module (which I needed to do in the past), and it just worked.  You guys are the best.

 

This issue is solved.   It was not an Armbian issue.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines