Hi, I’m trying to get an Arducam B0371C working on my Raspberry Pi 3B+ and I’m stuck at the kernel driver install step.
I’m running the pivariety install script and it fails partway through with a message telling me to contact support. It says something about an unsupported kernel version. I followed the guide but I can’t get past this.
The script downloads a links file fine (I can see HTTP 200 OK in the output) but then just bails out with “Cannot find the corresponding package”. Any idea what I’m doing wrong? Do I need a different kernel?
Hi, happy to help. That error usually means the script couldn’t match your running kernel against the packages available for that driver at the time it was built.
Can you paste the environment block the installer prints at the start? It looks like this and helps a lot:
Also let me know which exact package name you passed to the script, and confirm your board is a 3B+ (not a plain 3B or a Pi 2). That info will tell us whether your kernel is simply newer than what the driver package supports.
That’s very likely it. The installer picks a prebuilt driver package based on your kernel version, and 5.15.84-v7+ may not have had a matching build for the imx519_kernel_driver_low_speed package (bullseye-v5) when you first tried.
Before we conclude that though, can you paste the full installer output? I want to see exactly which links file it pulled and the exact package string it was looking for. Please run it again and copy everything from the top of the script output down to the error.
So does that mean my kernel is just too new for the driver? And should I actually reflash with the official image like the message says? I’d rather not wipe my card if I don’t have to, and I definitely don’t want to run rpi-update if that’s the thing that broke it.
Good question, and no, don’t reflash and definitely don’t run rpi-update.
Here’s what’s actually happening. The installer downloads the links file successfully (that 200 OK is fine), then looks up your kernel:5.15.84-v7+ against the entries in that file for the imx519_kernel_driver_low_speed package under bullseye-v5. At the time you ran it, there was no build listed for 5.15.84-v7+, so the lookup failed and it fell through to the “unsupported kernel” message. Nothing is wrong with your hardware, your OS, or your networking — it’s purely a missing prebuilt package for that exact kernel version.
So the root cause is a mismatch between your running kernel (5.15.84-v7+) and the driver builds that were available for bullseye-v5 when you tried.
The good news: a driver build for 5.15.84 was released on the same day. Just re-run the exact same command and it should now find a matching package:
If it still prints “Cannot find the corresponding package” afterward, paste the full output again including the header block, and I’ll take another look.
Sounds good. To summarize for anyone else hitting this thread:
Symptom: ./install_pivariety_pkgs.sh -p imx519_kernel_driver_low_speed downloads the links file with HTTP 200 but then prints “Cannot find the corresponding package” and an unsupported-kernel warning.
Cause: the installer couldn’t find a prebuilt driver matching kernel 5.15.84-v7+ for that package version at the time it was run — i.e. the kernel was newer than the available driver build.
Fix: don’t reflash and don’t use rpi-update. A driver build for 5.15.84 was released the same day, so simply re-running the same install command should resolve it.
If it still fails, post the full installer output (header block + package line) so we can check whether a matching build exists for your kernel.