Buster In-place (Dist-)Upgrade und Stretch Support

Topics about the Software of Revolution Pi
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Buster In-place (Dist-)Upgrade und Stretch Support

Post by RR4711 »

Hi,

ich hab hier einige Systeme mit Stretch laufen und mit einer Mühe konfiguriert und wollte fragen ob ein In-Place-Upgrade ("Dist-Upgrade") unterstützt wird für das Update auf Buster und wie die offizielle Vorgehensweise ist?

Weiterhin stellt sich mir die Frage, wie die Planung ist hinsichtlich Support für Stretch jetzt wo Buster draußen ist? Also gibt es noch Support von Kunbus für Stretch solange Debian es noch supported (LTS Support Ende 30 Juni 2022?), oder wird jetzt generell bei Problemen erstmal "probier doch mal ob's mit Buster geht" vorgeschlagen? (das erhöht den Leidensdruck für das Update).

Markus
User avatar
p.rosenberger
KUNBUS
Posts: 89
Joined: 03 Jul 2020, 11:07
Answers: 1

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by p.rosenberger »

Hallo Markus,

wir haben versucht den Upgrade-Pfad so gut wie Möglich zu implementieren. Wenn Du NodeRed verwendest solltest du nocheinmal die Release Notes lesen. Hier haben sich Änderungen wergeben. Wie immer gilt, vor dem Upgrade bitte ein Backupdurchführen.

https://revolution.kunbus.com/tutorials ... 04-2021-3/

Wenn du Probleme haben solltest wäre es schön wenn du uns dies mitteilst.

Aktuell haben wir keine Pläne den Support für Stretch einzustellen. Es gibt aber durchaus Features, welche wir nicht auf Stretch zurück portieren. So wird das MIO erst mit Buster unterstützt.

Viele Grüße
Philipp
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by RR4711 »

Ich lass mal das dist-upgrade auf 2 Systemen durchlaufen und guck mal was passiert :mrgreen:
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by RR4711 »

Im Prinzip geht es, was auffällt: Die Portweiterleitung auf 41080 geht nicht, es kommt "access denied", über 41080 komme ich drauf. Evtl. hab ich aber auch bei ein paar fragen nach "alte configuration" behalten oder "die des Maintainers" installieren eine unglückliche Wahl getroffen.

Gibt es die Möglichkeit nur die "Kunbus"- Pakete neu zu installieren um zu sehen ob das die Issues löst?

EDIT: Kernel ist der falsche siehe unten...
Last edited by RR4711 on 17 May 2021, 16:35, edited 1 time in total.
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by RR4711 »

Achja und die MAC Adresse ist jetzt eine der Raspi Foundation, irgendwas muss die boot config überschrieben haben...
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by RR4711 »

Auf dem 2. System hat er irgendwas beim Kernel Package installieren im Log von "you do not have enough space in /boot to install this package" geschrieben, mal sehen...
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by RR4711 »

Aus unerfindlichen Gründen bootet er den Foundation default Kernel weswegen die MAC Adressen nicht aus der config.txt gelesen werden (auf beiden Systemen):

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.17-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1414 SMP Fri Apr 30 13:18:35 BST 2021
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Compute Module 3 Plus Rev 1.0
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x37400000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000] On node 0 totalpages: 242688
[    0.000000]   DMA zone: 2133 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s50700 r8192 d23028 u81920
Ich guck mal ob ich den Revpi-kernel neu installieren kann...

Markus
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by RR4711 »

Code: Select all

pi@sopdetdet/etc/apt$ dpkg --list | grep "revpi"
ii  libmodbus5:armhf                      3.1.6-2~revpi10+1                       armhf        library for the Modbus protocol
ii  revpi-firmware                        1:1.6                                   all          Revolution Pi firmware
ii  revpi-repo                            2.0.1                                   all          Revolution Pi package repository
ii  revpi-tools                           1.0.14-1                                armhf        Revolution Pi tools
ii  revpi-wallpaper                       1.0.0-5                                 all          Revolution Pi Wallpaper
ii  revpi-webstatus                       2.0.0                                   all          Revolution Pi Web Status
ii  revpi7                                1.0.3-1                                 all          Adapter between piControl and Siemens S7 PLCs
rc  teamviewer-revpi                      2.10.18                                 armhf        The TeamViewer IoT agent provides an out-of-the-box secure remote access
Irgendwie scheint der Kernel auch nicht verfügbar zu sein:

Code: Select all

pi@sopdetdet/etc/apt$ sudo apt-cache search "revpi"
logi-rts - logi.RTS PLC runtime system
noderedrevpinodes-server - Server backend for the RevPi-NodeRed-Nodes
pictory - Revolution Pi Configurator
pimodbus-master - Revolution Pi Modbus master
pimodbus-slave - Revolution Pi Modbus slave
piserial - Revolution Pi serial number utility
pitest - Revolution Pi command line utility
python3-revpimodio2 - Python3 programming for RevolutionPi of Kunbus GmbH
python3-revpimodio2-doc - Python3 programming for RevolutionPi of Kunbus GmbH documentation
revpi-bluetooth - Revolution Pi bluetooth
revpi-firmware - Revolution Pi firmware
revpi-repo - Revolution Pi package repository
revpi-tools - Revolution Pi tools
revpi-tools-dbgsym - debug symbols for revpi-tools
revpi-wallpaper - Revolution Pi Wallpaper
revpi-webstatus - Revolution Pi Web Status
revpicommander - GUI for Revolution Pi to upload programs and do IO-Checks
revpipycontrol - This program is the graphical interface to access the RevPiPyLoad
revpipyload - PLC Loader for Python projects on the RevolutionPi
logiclab - LogicLab PLC runtime system
revpi7 - Adapter between piControl and Siemens S7 PLCs
pi@sopdetdet/etc/apt$
Die sources.list sieht so aus:

Code: Select all

deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
In sources.list.d in der revpi.list steht:

Code: Select all

deb http://packages.revolutionpi.de/ buster main contrib
#deb-src http://packages.revolutionpi.de/ buster main contrib
deb http://packages.revolutionpi.de/ buster-backports main contrib
#deb-src http://packages.revolutionpi.de/ buster-backports main contrib
Sieht eigentlich gut aus. Übersehe ich da was?
User avatar
p.rosenberger
KUNBUS
Posts: 89
Joined: 03 Jul 2020, 11:07
Answers: 1

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by p.rosenberger »

Hmmm, den Effekt hatten wir noch nicht beobachten können.
Kannst du mal die Ausgabe von

Code: Select all

apt show -a raspberrypi-kernel
posten?

Viele Grüße
Philipp
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Buster In-place (Dist-)Upgrade und Stretch Support

Post by RR4711 »

Klar:

Code: Select all

pi@sulfurpi ~$ sudo apt show -a raspberrypi-kernel
Package: raspberrypi-kernel
Version: 1:1.20210430-2
Priority: optional
Section: kernel
Source: raspberrypi-firmware
Maintainer: Serge Schneider <serge@raspberrypi.org>
Installed-Size: 283 MB
Provides: linux-image, wireguard-modules (= 1.0.0)
Breaks: raspberrypi-bootloader (<< 1.20160324-1)
Replaces: raspberrypi-bootloader (<< 1.20160324-1)
Homepage: https://github.com/raspberrypi/firmware
Download-Size: 78.9 MB
APT-Manual-Installed: yes
APT-Sources: http://archive.raspberrypi.org/debian buster/main armhf Packages
Description: Raspberry Pi bootloader
 This package contains the Raspberry Pi Linux kernel.

Package: raspberrypi-kernel
Version: 9.20210415-4.19.95+revpi1
Priority: extra
Section: kernel
Source: raspberrypi-firmware
Maintainer: Serge Schneider <serge@raspberrypi.org>
Installed-Size: 135 MB
Provides: linux-image
Depends: raspberrypi-bootloader (>= 1.20160506-1)
Breaks: raspberrypi-bootloader (<< 1.20160324-1)
Replaces: raspberrypi-bootloader (<< 1.20160324-1)
Homepage: https://github.com/raspberrypi/firmware
Download-Size: 37.9 MB
APT-Sources: http://packages.revolutionpi.de buster/main armhf Packages
Description: Raspberry Pi Linux kernel
 This package contains the Raspberry Pi Linux kernel.

Package: raspberrypi-kernel
Version: 9.20210326-4.19.95+revpi1
Priority: extra
Section: kernel
Source: raspberrypi-firmware
Maintainer: Serge Schneider <serge@raspberrypi.org>
Installed-Size: 135 MB
Provides: linux-image
Depends: raspberrypi-bootloader (>= 1.20160506-1)
Breaks: raspberrypi-bootloader (<< 1.20160324-1)
Replaces: raspberrypi-bootloader (<< 1.20160324-1)
Homepage: https://github.com/raspberrypi/firmware
Download-Size: 37.9 MB
APT-Sources: http://packages.revolutionpi.de buster/main armhf Packages
Description: Raspberry Pi Linux kernel
 This package contains the Raspberry Pi Linux kernel.

Package: raspberrypi-kernel
Version: 9.20210316-4.19.95+revpi1
Priority: extra
Section: kernel
Source: raspberrypi-firmware
Maintainer: Serge Schneider <serge@raspberrypi.org>
Installed-Size: 135 MB
Provides: linux-image
Depends: raspberrypi-bootloader (>= 1.20160506-1)
Breaks: raspberrypi-bootloader (<< 1.20160324-1)
Replaces: raspberrypi-bootloader (<< 1.20160324-1)
Homepage: https://github.com/raspberrypi/firmware
Download-Size: 37.8 MB
APT-Sources: http://packages.revolutionpi.de buster/main armhf Packages
Description: Raspberry Pi Linux kernel
 This package contains the Raspberry Pi Linux kernel.
Post Reply