• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Way from Neuron Beta Image to regular Release

    Official EVOK API
    2
    4
    1040
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Joerg last edited by

      Hi all,

      my UniPi L103 is set to boot from harddisk. Because its webserver is exposed to the internet, I did weekly "apt-get update; apt-get upgrade" when in March a new kernel was in that package and broke my installation (which I learned later ...). No big problem with a backup.

      Now I wanted to get current versions and went on with plain Raspbian Lite, but Neuron-specific installation stumbled upon the non-existent SD-card, no boot possible:

      root@unipi:~# apt-get install neuron-kernel unipi-firmware unipi-modbus-tools
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.       
      Statusinformationen werden eingelesen.... Fertig
      The following additional packages will be installed:
        busybox unipi-common
      Die folgenden NEUEN Pakete werden installiert:
        busybox neuron-kernel unipi-common unipi-firmware unipi-modbus-tools
      0 aktualisiert, 5 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
      Es müssen 589 kB an Archiven heruntergeladen werden.
      Nach dieser Operation werden 1.995 kB Plattenplatz zusätzlich benutzt.
      Möchten Sie fortfahren? [J/n] j
      Holen:1 http://mirror.netcologne.de/raspbian/raspbian stretch/main armhf busybox armhf 1:1.22.0-19 [374 kB]
      Holen:2 https://repo.unipi.technology/debian stretch/main armhf unipi-common armhf 1.1.13 [9.686 B]
      Holen:3 https://repo.unipi.technology/debian stretch/main armhf neuron-kernel armhf 1.18.1.20181112-1 [31,1 kB]
      Holen:4 https://repo.unipi.technology/debian stretch/main armhf unipi-firmware all 5.31.0 [132 kB]
      Holen:5 https://repo.unipi.technology/debian stretch/main armhf unipi-modbus-tools armhf 1.1.13 [42,1 kB]
      Es wurden 589 kB in 0 s geholt (819 kB/s).
      Vormals nicht ausgewähltes Paket busybox wird gewählt.
      (Lese Datenbank ... 40098 Dateien und Verzeichnisse sind derzeit installiert.)
      Vorbereitung zum Entpacken von .../busybox_1%3a1.22.0-19_armhf.deb ...
      Entpacken von busybox (1:1.22.0-19) ...
      Vormals nicht ausgewähltes Paket unipi-common wird gewählt.
      Vorbereitung zum Entpacken von .../unipi-common_1.1.13_armhf.deb ...
      »Umleitung von /boot/overlays/ds2482.dtbo zu /usr/share/rpikernelhack/overlays/ds2482.dtbo durch rpikernelhack« wird hinzugefügt
      »Umleitung von /boot/overlays/neuronee.dtbo zu /usr/share/rpikernelhack/overlays/neuronee.dtbo durch rpikernelhack« wird hinzugefügt
      »Umleitung von /boot/overlays/neuron-spi.dtbo zu /usr/share/rpikernelhack/overlays/neuron-spi.dtbo durch rpikernelhack« wird hinzugefügt
      »Umleitung von /boot/overlays/neuron-spi-new.dtbo zu /usr/share/rpikernelhack/overlays/neuron-spi-new.dtbo durch rpikernelhack« wird hinzugefügt
      »Umleitung von /boot/overlays/unipiee.dtbo zu /usr/share/rpikernelhack/overlays/unipiee.dtbo durch rpikernelhack« wird hinzugefügt
      Entpacken von unipi-common (1.1.13) ...
      Vormals nicht ausgewähltes Paket neuron-kernel wird gewählt.
      Vorbereitung zum Entpacken von .../neuron-kernel_1.18.1.20181112-1_armhf.deb ...
      Entpacken von neuron-kernel (1.18.1.20181112-1) ...
      Vormals nicht ausgewähltes Paket unipi-firmware wird gewählt.
      Vorbereitung zum Entpacken von .../unipi-firmware_5.31.0_all.deb ...
      Entpacken von unipi-firmware (5.31.0) ...
      Vormals nicht ausgewähltes Paket unipi-modbus-tools wird gewählt.
      Vorbereitung zum Entpacken von .../unipi-modbus-tools_1.1.13_armhf.deb ...
      Entpacken von unipi-modbus-tools (1.1.13) ...
      busybox (1:1.22.0-19) wird eingerichtet ...
      unipi-firmware (5.31.0) wird eingerichtet ...
      Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
      unipi-common (1.1.13) wird eingerichtet ...
      »Umleitung von /boot/overlays/ds2482.dtbo zu /usr/share/rpikernelhack/overlays/ds2482.dtbo durch rpikernelhack« wird entfernt
      »Umleitung von /boot/overlays/neuronee.dtbo zu /usr/share/rpikernelhack/overlays/neuronee.dtbo durch rpikernelhack« wird entfernt
      »Umleitung von /boot/overlays/neuron-spi-new.dtbo zu /usr/share/rpikernelhack/overlays/neuron-spi-new.dtbo durch rpikernelhack« wird entfernt
      »Umleitung von /boot/overlays/neuron-spi.dtbo zu /usr/share/rpikernelhack/overlays/neuron-spi.dtbo durch rpikernelhack« wird entfernt
      »Umleitung von /boot/overlays/unipiee.dtbo zu /usr/share/rpikernelhack/overlays/unipiee.dtbo durch rpikernelhack« wird entfernt
      Created symlink /etc/systemd/system/sysinit.target.wants/unipicheck.service → /lib/systemd/system/unipicheck.service.
      mount: special device /dev/mmcblk0p1 does not exist
      sed: /tmp/boot/config.txt kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
      mv: der Aufruf von stat für '/tmp/boot/config.txt' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
      umount: /tmp/boot: not mounted
      rmdir: konnte '/tmp/boot' nicht entfernen: Das Verzeichnis ist nicht leer
      update-initramfs: Generating /boot/initrd.img-4.14.81-v7+
      hwclock: Cannot access the Hardware Clock via any known method.
      hwclock: Use the --debug option to see the details of our search for an access method.
      mount: special device /dev/mmcblk0p1 does not exist
      umount: /tmp/boot: not mounted
      rmdir: konnte '/tmp/boot' nicht entfernen: Das Verzeichnis ist nicht leer
      neuron-kernel (1.18.1.20181112-1) wird eingerichtet ...
      unipi-modbus-tools (1.1.13) wird eingerichtet ...
      Created symlink /etc/systemd/system/unipispi.target.wants/unipihost.service → /lib/systemd/system/unipihost.service.
      Created symlink /etc/systemd/system/unipispi.target.wants/unipitcp.service → /lib/systemd/system/unipitcp.service.
      

      Ok, next option is the Unipian Image. I downloaded https://kb.unipi.technology/_media/files:software:os-images:unipian-neuron-os-2018-03-09.zip three times, but my zip refuses to open it (by the way, could you state the checksum of the file?).

      One option left, we use https://kb.unipi.technology/_media/files:software:os-images:unipian-neuron-os-2018-06-15-beta.zip. That gets unzipped and installed, my other software reloaded, all should be fine.

      But now, about one or two times a day, the system hangs and is no longer reachable. To sort that out I want to get to the regular release, but how? For now I sat raspberrypi-bootloader, python-tornado and raspberrypi-kernel on hold because I know now that not all kernels are compatible with Neuron ...

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček @Joerg last edited by

        Hi @joerg,
        you have discovered, that the neuron-kernel is built specifically for each version of the raspberrypi-kernel. Since we don't get pre-release information about new version of the raspberrypi-kernel, the dependence of our package is broken until we make new version.

        To overcome this issue, we have a package unipi-kernel-modules-dkms which builds the kernel module from the sources. So when Raspbian issues new kernel, the package will rebuild the module upon the up-to-date sources.

        To use the dkms simple uninstall the neuron-kernel package and install the unipi-kernel-modules-dkms.

        Best regards,
        Martin

        1 Reply Last reply Reply Quote 0
        • J
          Joerg last edited by

          Hi Martin,

          thank you for that information, I will try it out on my next maintenance window - the UniPi hosts our heating, so at the moment I won't take any risks.
          Have you also had a look at the unipian-neuron-os-2018-03-09.zip? My unzip refuses to extract:

          klimasch@linux-gzdl:~/Downloads> unzip unipian-neuron-os-2018-03-09.zip
          Archive:  unipian-neuron-os-2018-03-09.zip
            End-of-central-directory signature not found.  Either this file is not
            a zipfile, or it constitutes one disk of a multi-part archive.  In the
            latter case the central directory and zipfile comment will be found on
            the last disk(s) of this archive.
          unzip:  cannot find zipfile directory in one of unipian-neuron-os-2018-03-09.zip or
                  unipian-neuron-os-2018-03-09.zip.zip, and cannot find unipian-neuron-os-2018-03-09.zip.ZIP, period.
          klimasch@linux-gzdl:~/Downloads> md5sum unipian-neuron-os-2018-03-09.zip
          c1f184ef619c82b508442c005a147669  unipian-neuron-os-2018-03-09.zip
          

          Do you get the same md5sum?

          Best Regards
          Jörg

          Martin Kudláček 1 Reply Last reply Reply Quote 0
          • Martin Kudláček
            Martin Kudláček @Joerg last edited by

            Hi @joerg,
            the UniPian image is indeed broken and not just the download file. There are problems inside, so we removed it from our website and until further notice, it will not be available.

            You can use stock Raspbian and just to install our packages. To learn how, read this tutorial: https://kb.unipi.technology/en:sw:04-unipi-firmware

            Best regards,
            Martin

            1 Reply Last reply Reply Quote 0
            • First post
              Last post