ubuntu-rockchip icon indicating copy to clipboard operation
ubuntu-rockchip copied to clipboard

Bug Report: WiFi not working due to Linux version mismatch.

Open Qengineering opened this issue 10 months ago • 0 comments

What happened?

When building an image for the Rock 5C with the build.sh script everything succeed, except for Wifi.

root@5c:/home/rock/ubuntu-rockchip# ./build.sh --flavor=desktop --suite=noble --board=rock-5c

In the module folder, you are missing the aic8800_fdrv_usb.ko, aic_btusb_usb.ko, and aic_load_fw_usb.ko.

rock@5c:~$ find /lib/modules/$(uname -r) -name "aic*"
/lib/modules/6.1.0-1027-rockchip/kernel/drivers/net/wireless/aic8800_sdio
/lib/modules/6.1.0-1027-rockchip/kernel/drivers/net/wireless/aic8800_sdio/aic8800_bsp
/lib/modules/6.1.0-1027-rockchip/kernel/drivers/net/wireless/aic8800_sdio/aic8800_bsp/aic8800_bsp.ko
/lib/modules/6.1.0-1027-rockchip/kernel/drivers/net/wireless/aic8800_sdio/aic8800_fdrv
/lib/modules/6.1.0-1027-rockchip/kernel/drivers/net/wireless/aic8800_sdio/aic8800_fdrv/aic8800_fdrv.ko
/lib/modules/6.1.0-1027-rockchip/kernel/drivers/net/wireless/aic8800_sdio/aic8800_btlpm
/lib/modules/6.1.0-1027-rockchip/kernel/drivers/net/wireless/aic8800_sdio/aic8800_btlpm/aic8800_btlpm.ko

When looking into the build log you see at the end

Setting up dkms (3.0.11-1ubuntu13) ...
Setting up aic8800-usb-dkms (3.0+git20240116.ec460377-8~noble) ...
Loading new aic8800-usb-3.0+git20240116.ec460377-8~noble DKMS files...
Building for 6.1.0-1025-rockchip
Building initial module for 6.1.0-1025-rockchip
Done.

aic_load_fw_usb.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.1.0-1025-rockchip/updates/dkms/

aic8800_fdrv_usb.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.1.0-1025-rockchip/updates/dkms/

aic_btusb_usb.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.1.0-1025-rockchip/updates/dkms/
depmod...

Here, you see the Linux version 6.1.0-1025-rockchip (the version on my Rock 5C board that's running the script), which obvious differs from the 6.1.0-1027-rockchip build.

After installing the newly created ubuntu-24.04-preinstalled-desktop-arm64-rock-5c.img.xz, it all works except the WiFi connection. I have no clue where in all the scripts and rules to fix the issue.

BTW, The same applies to the Ubuntu 22.04 version and the Radxa Zero 3W/E board.

Kernel version

6.1.0-1025-rockchip

SBC model

Rock 5C

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs


Qengineering avatar Feb 16 '25 12:02 Qengineering