You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was able to build & utilize this driver for a target system Linux zynqmp 5.15.0-1019-xilinx-zynqmp #27 SMP Thu Sep 28 14:54:32 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux about a month and a half ago, however I need to run it on a newer kernel version (from xilinx) Linux zynqmp 5.15.0-1023-xilinx-zynqmp #27 SMP Thu Sep 28 14:54:32 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux
I am able to build and compile the driver using both manual make methods & the install-driver.sh script.
However when inserting the 88x2bu.ko driver with both insmod or modpost I recieve a segfault error and it soft bricks the system, lsmod, modpost & insmod all hang, and I am unable to remove the module from the kernel (at the moment the only way I know how to fix this is to restore the whole image from a backup I have). edit: for non dkms installations remove-driver.sh works and resolves the system issues.
distro for for the system is ubuntu 22.04
install-driver.sh dump:
root@zynqmp:~/88x2bu-20210702# ./install-driver.sh
: ---------------------------
: install-driver.sh v20231115
: aarch64 (kernel architecture)
: arm64 (architecture to send to gcc)
: 4/4 (in-use/total processing units)
: 1906528 (total system memory)
: 5.15.0-1023-xilinx-zynqmp (kernel version)
: gcc (version of gcc used to compile the kernel)
: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
: dkms-2.8.7
: mokutil not installed
: ---------------------------
Checking for previously installed drivers...
Finished checking for and removing previously installed drivers.
: ---------------------------
Starting installation.
Installing 88x2bu.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl88x2bu-5.13.1
Creating symlink /var/lib/dkms/rtl88x2bu/5.13.1/source -> /usr/src/rtl88x2bu-5.13.1
The driver was added to dkms successfully.
: ---------------------------
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
./dkms-make.sh.................................................................................................
cleaning build area...
Compile time: 976.99 seconds
The driver was built by dkms successfully.
: ---------------------------
88x2bu.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.15.0-1023-xilinx-zynqmp/updates/dkms/
depmod..............
The driver was installed by dkms successfully.
: ---------------------------
Info: Update this driver with the following commands as needed:
$ git pull
$ sudo sh install-driver.sh
Note: Updates to this driver SHOULD be performed before distro
upgrades such as Ubuntu 23.10 to 24.04.
Note: Updates can be performed as often as you like. It is
recommended to update at least every 2 months.
Note: Work on this driver, like the Linux kernel, is continuous.
Enjoy!
Do you want to edit the driver options file now? (recommended) [Y/n] n
Do you want to apply the new options by rebooting now? (recommended) [Y/n] n
I've tried returning to an older version of the kernel but now the same thing is happening on Linux zynqmp 5.15.0-1019-xilinx-zynqmp as well.
Steps I take to build the driver on my target system:
sudo apt-get install flex bison dkms iw linux-headers-$(uname -r)
cd /lib/modules/$(uname -r)/build
sudo make clean
sudo make headers_install
# Modify build/scripts/Makefile to exclude selenux subdir, & sign-file,extract-cert, insert-sys-cert, extract-cert, #sorttable scripts as they are missing header files in aarch64 or headers used to build them are no longer #supported in 5.15.0 (such as classmap.h etc)
sudo make scripts # recompile scripts I need from x86 -> aarch64
cd
git clone https://github.com/morrownr/88x2bu-20210702
cd 88x2bu-20210702
sudo make -j$(nproc)
sudo make install
#cfg82011 module usually conflicts with new headers, and 88x2bu module does not know which module to use, results in unk symbol errors
# to correct:
find /lib/modules -name cfg80211.ko -ls
sudo rm -rf /lib/modules/5.15.0-1015-xilinx-zynqmp/kernel/net/wireless/cfg80211.ko
sudo modprobe cfg80211
sudo modprobe 88x2bu
Has anyone encountered this or something similar before?
I am unsure if this is a driver issue or if it is something i've done. Im pretty stumped.
Any help would be appreciated, Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I was able to build & utilize this driver for a target system
Linux zynqmp 5.15.0-1019-xilinx-zynqmp #27 SMP Thu Sep 28 14:54:32 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux
about a month and a half ago, however I need to run it on a newer kernel version (from xilinx)Linux zynqmp 5.15.0-1023-xilinx-zynqmp #27 SMP Thu Sep 28 14:54:32 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux
I am able to build and compile the driver using both manual make methods & the install-driver.sh script.
However when inserting the 88x2bu.ko driver with both insmod or modpost I recieve a segfault error and it soft bricks the system, lsmod, modpost & insmod all hang, and I am unable to remove the module from the kernel (at the moment the only way I know how to fix this is to restore the whole image from a backup I have). edit: for non dkms installations remove-driver.sh works and resolves the system issues.
distro for for the system is ubuntu 22.04
install-driver.sh dump:
Here's the dmesg log from one of my attempts:
I've tried returning to an older version of the kernel but now the same thing is happening on Linux zynqmp 5.15.0-1019-xilinx-zynqmp as well.
Steps I take to build the driver on my target system:
Has anyone encountered this or something similar before?
I am unsure if this is a driver issue or if it is something i've done. Im pretty stumped.
Any help would be appreciated, Thanks!
The text was updated successfully, but these errors were encountered: