Jump to content

[bug] Version mismatch: image ships with linux-image 26.2.1 but headers 26.2.1 unavailable in 'current' repo (rockchip64)


Recommended Posts

Posted

## Description
After a fresh installation of Armbian for Rockchip64 (Rock 3A), the system ships with `linux-image-current-rockchip64` version **26.2.1** (kernel 6.18.8), but the corresponding `linux-headers-current-rockchip64` package for version 26.2.1 is **not available** in the public APT repositories.

This prevents installation of kernel headers required for DKMS modules, out-of-tree drivers, or any kernel module compilation.

## Steps to Reproduce
1. Flash the latest Armbian image for `rock-3a` (branch: `current`) from the official download page.
2. Boot the device and connect to the network.
3. Run `apt update` with any standard mirror (e.g., `mirrors.tuna.tsinghua.edu.cn`, `mirror.yandex.ru`).
4. Check installed kernel version:
   ```bash
   uname -r
   # Output: 6.18.8-current-rockchip64
   ```
5. Check available headers:
   ```bash
   apt policy linux-headers-current-rockchip64
   ```

## Actual Behavior
- Installed image packages:
  ```
  linux-image-current-rockchip64  26.2.1  [installed,local]
  linux-dtb-current-rockchip64    26.2.1  [installed,local]
  armbian-bsp-cli-rock-3a-current 26.2.1  [installed]
  ```
- `apt policy` output for headers:
  ```
  linux-headers-current-rockchip64:
    Installed: (none)
    Candidate: 25.11.2
    Version table:
       25.11.2 500
          500 http://<mirror>/armbian noble/main arm64 Packages
       ... (no 26.2.1 available)
  ```

## Expected Behavior
- The `linux-headers-current-rockchip64` package version **26.2.1** should be available in the `current` branch repository, matching the kernel shipped in the image.
- Alternatively, the image should ship with packages that are already published and synchronized in the public repository.

## Impact
- Users cannot install DKMS modules (ZFS, VirtualBox, WiFi drivers, etc.).
- Development workflows requiring kernel headers are blocked.
- Confusion for users performing a "clean install" who expect a consistent system.

## System Information
- **Board:** Radxa Rock 3A
- **Armbian version:** 26.2.1 (from image filename/release)
- **Kernel:** 6.18.8-current-rockchip64
- **APT branch:** `current`
- **Distribution:** Ubuntu Noble (24.04)
- **Mirrors tested:** 
  - `http://mirrors.tuna.tsinghua.edu.cn/armbian`
  - `http://mirror.yandex.ru/mirrors/armbian/apt`
  - `http://apt.armbian.com` (redirector)

## Possible Causes (hypothesis)
1. **Publishing race condition:** The image was built after `linux-image-26.2.1` was compiled but before `linux-headers-26.2.1` was published to the public repository.
2. **Branch mislabeling:** Version 26.2.1 may have been moved to `edge` after the image was built, but the image metadata was not updated.
3. **Mirror sync delay:** The master repository has the package, but mirrors have not yet synchronized (though multiple mirrors were tested over several days).

 

 

Posted (edited)

I also saw that both apt and beta repo's do not contain recent rockchip64 kernels at the moment. There is only a recent generic arm64 one. So it is not only my rock3a, also my nanopi-r6c would be affected, but I use own/other/vendor kernels as well, so specific 6.18.8 is not an issue for me. I use extlinux or grub to select a certain kernel (6.19 flavor on nanopi-r6c for example).

 

For my rock3a, I need vendor kernel, but if you use mainline based, you could use standard Debian backports kernel:

https://packages.debian.org/trixie-backports/linux-image-arm64

You need to get the .dtb manually and I just assume most features are supported when the rock3a has mainline U-Boot in SPI.

You need of course add that to sources.list and specifically select it.

 

You could also use Armbian build framwork to build a 6.18.x yourself, you will also get a header files package then.

 

For Debian14 I see there is:

/usr/lib/linux-image-6.18.15+deb14-arm64/rockchip/rk3568-rock-3a.dtb
 

But as indicated, this is total DIY, I have not tested it. I only know that on rock5b I could run standard distro since quite some months, but use 6.1.115 vendor one as I need all RK3588 HW to work.

 

Edited by eselarm

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