Re: RPi kernel upgrade problem


Basil Gunn
 

The lastest Raspberry Pi OS respository has Anna's fix to the driver
for the DRAWS sensors in kernel version: 5.4.51-v7l+ #1333

First determine your current kernel version for reference:

uname -a

If you previously put a hold on kernel updates then unhold them now:

sudo su
apt-mark unhold $(apt-mark showhold)

To verify there are no package holds pending run:

apt-mark showhold

It is now safe to:

sudo su
apt-get update
apt-get upgrade

Verify your kernel version, has it changed?:
uname -a

If your kernel was updated then run the following:

cd
cd n7nix
git pull
cd config
./bin_refresh.sh

# Force a sensor config file update
sensor_update.sh -f

You will now have an updated /etc/sensors.d/draws file which is
dependent upon kernel version & DRAWS fab revision.

reboot

# After rebooting verify sensor readings:

sensors

If you are starting a new installation there is a new RPi image
release, nwdr17.img, which has the updated sensor driver and
DRAWS sensor configuration.

Do NOT run draws-manager web app as it needs some work to be
compatible with the new sensors driver. The NWDR17 image has the
draws-manager daemon disabled.

/Basil N7NIX

Basil Gunn <basil@pacabunga.com> writes:

Until further notice please do not upgrade the kernel on your RPi.

Linux kernel 4.19.118 is OK
Linux kernel 5.4.51 has MANY problems

Run this to get your current kernel version:
uname -r

The following commands will upgrade your kernel.
Do NOT use them for a while:

apt-get dist-upgrade
apt full-upgrade

/Basil N7NIX

Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.