Chyby pri upgrade z 5.4.4 na poslednu verziu

Zdarec,

koncom minuleho roka som musel freeznut verziu 5.4.4 pretoze som mal problem s restartovanim routera pri upgrade na 6.0. Teraz som si povedal, ze uz je cas, verzia je hadam opravena, idem pustit auto update, zial opat som skoncil. Mam MOX s 5.4.4 hw:

Vypol som vsetky packeges a pouzivam iba nasledovne:

po upgrade mi v notifikaciach ostali 2 chyby, jedna je update failed pkgupdate (exit code:64)

a druha chyba skoncila out of memory: /tmp/updater-busybox-…

po restarte sa router sprava nasledovne:

  1. nenabehne vobec (bez pingu) 5m → davam dalsi restart
  2. po nabehnuti pinga asi minutu, nasledne uz nepinga vobec (na web rozhranie sa neda dostat) → davam dalsie restarty skusam vsetko mozne a mozno aj rollback cez reset tlacitko (ak som teda spravne odhadol nezmyselne non-user friendly moznosti resetu) ostane stav:
  3. po restarte je dostupny asi minutu (ak sa clovek stihne prihlasit, moze pozriet verziu - je updatnuta, pripadne rychlo kliknut rollback). Takze som po par hodinach rychlo ten rollback klikol, a na 5.4.4 zase fungujem.

je problem, ze som spravil velky skok z 5.4.4 na 6.2.1?
je mozny upgrade na nizsiu verziu, napr. 6.0.2?
spravil som niekde chybu?
co definuju chybove hlasky ktore som dostal?

do verzie 5.4.4 som bol spojny uzivatel, od toho casu sa len trapim, najma ked potrebujem nonstop inet pre homeoffice. dakujem za kazdu radu.

Přeskočil jsi moc verzí - podstatný je skok 5.xx na 6.x.x
Proto je vhodné instalovat čistý obraz poslední verze systému a nastavit vše znova

Odkladal som to dlho, pretoze som neveril, ze by to bolo o preskoceni viacerych verzii a potrebujem robit nonstop z domu. Nakoniec som nasiel volny cas a spravil cistu instalaciu s usb na najnovsiu 6.3.3. Bohuzial to nepomohlo. Router nahodne po par minutach 1-20m ostal nedostupny, bez pingu a bez internetu. Kontrolky LAN ostali blikat ako normalne, cervena dioda vedla usb ostala off.

Po instacii som skusil aj factory reset, nasledne som skusil aj prechod na HBT, vsetko bez vysledku. Hladal som ci sa nieco nove odvtedy neudialo, narazil som na workaround ohladom nahodneho resetu tu Mox reboots randomly after TOS 6.0 upgrade - #25 by Stepan - SW bugs discussion - Turris forum ale nepomohol ani dany command cez ssh. Nakoniec som musel po par hodinach spravit reflash na staru “dobru” 5.4.4, ktora je stabilna (az na nejake muchy ako napr. po reboote treba off/on). Vypnute automaticke updaty, typ padom nedostupne balicky. Neviem co s tym dalej.

cista instalacia

posledny update s HBT

nasledny downgrade na 5.4.4

nejaky napad, odporucenie? vedel by niekto z turrisu cez logy poskytnut pomoc, ci sa jedna o sw alebo hw chybu?

Vdaka.

A do toho USB mas neco zapojene?

Jeste se tu resilo, ze u starsich moxu je treba zavolat nor-update na update low-level bootloaderu, jinak byly nejake problemy. A myslim, ze cz.nic to zatim nedal jako soucast update, protoze je to trochu riskantni operace.

Zkontrolujte verzi U-boot podle návodu ve vláknu “Turris MOX USB from module A not working any more for mass storage after TOS 6-0 upgrade” Turris Mox USB (from module A) not working any more (for mass storage) after TOS 6.0 upgrade - #82 by Mossroy a případně aktualizujte… Stará verze U-boot může způsobovat problémy :wink:

nemam, len pri patchovani som tam mal USB kluc s image

po kontrole, asi ano mam staru verziu Uboot, vlakno som cital, ale predpokladal som, ze ma vplyv iba na USB device, ktore nepouzivam, kazdopadne skusim update, dam vediet.

root@turris:~# strings /dev/mtdblock1 | grep "U-Boot 20"
U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000)
root@turris:~#

Takze update Ubootu som spravil, nasledne som pustil automatic update (mam ho vypnuty), zbehol na poslednu 6.3.3. Router sa tvari, ze je vsetko ok, ale nahodne restarty ostavaju. Verzia je posledna, router sa restartuje od par sekund do par minut nahodne. Pouzil som aj command z druheho vlakna Mox reboots randomly after TOS 6.0 upgrade - #31 by maurer - SW bugs discussion - Turris forum ale zial bez uspechu. Takze krasny sviatocny den bol skor o tom, ze “tato, kedy pojde internet” :slight_smile: Kazdopadne musel som spravi opat rollback z USB kluca na 5.4.4, neviem si s tym poradit, ci to je hw, alebo sw chyba. :frowning:

pingy na restarty:

update ubootu:

 Warning: Changes performed using anything other than
 official web interface reForis are not covered by
 Turris support team unless instructed!


BusyBox v1.30.1 () built-in shell (ash)

      ______                _         ____  _____
     /_  __/_  ____________(_)____   / __ \/ ___/
      / / / / / / ___/ ___/ / ___/  / / / /\__
     / / / /_/ / /  / /  / (__  )  / /_/ /___/ /
    /_/  \__,_/_/  /_/  /_/____/   \____//____/

 -----------------------------------------------------
 TurrisOS 5.4.4, Turris Mox
 -----------------------------------------------------
root@turris:~# strings /dev/mtdblock1 | grep "U-Boot 20"
U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000)
root@turris:~# ^C
root@turris:~# opkg install nor-update
Unknown package 'nor-update'.
Collected errors:
 * opkg_install_cmd: Cannot install package nor-update.
root@turris:~# opkg install fix-nor-update
Unknown package 'fix-nor-update'.
Collected errors:
 * opkg_install_cmd: Cannot install package fix-nor-update.
root@turris:~# opkg install fix-nor-update
Unknown package 'fix-nor-update'.
Collected errors:
 * opkg_install_cmd: Cannot install package fix-nor-update.
root@turris:~# opkg update
Downloading https://repo.turris.cz/hbs/mox/packages/core/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_core
Downloading https://repo.turris.cz/hbs/mox/packages/core/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/base/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_base
Downloading https://repo.turris.cz/hbs/mox/packages/base/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/cesnet/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_cesnet
Downloading https://repo.turris.cz/hbs/mox/packages/cesnet/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_luci
Downloading https://repo.turris.cz/hbs/mox/packages/luci/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/node/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_node
Downloading https://repo.turris.cz/hbs/mox/packages/node/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_packages
Downloading https://repo.turris.cz/hbs/mox/packages/packages/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_routing
Downloading https://repo.turris.cz/hbs/mox/packages/routing/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz

Downloading https://repo.turris.cz/hbs/mox/packages/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_telephony
Downloading https://repo.turris.cz/hbs/mox/packages/telephony/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/turrispackages/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_turrispackages
Downloading https://repo.turris.cz/hbs/mox/packages/turrispackages/Packages.sig
Signature check passed.
Collected errors:
 * opkg_download: Failed to download https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz, wget returned 8.
root@turris:~#  opkg install nor-update
Unknown package 'nor-update'.
Collected errors:
 * opkg_install_cmd: Cannot install package nor-update.
root@turris:~# opkg install fix-nor-update
Installing fix-nor-update (1-62) to root...
Downloading https://repo.turris.cz/hbs/mox/packages/turrispackages/fix-nor-update_1-62_aarch64_cortex-a53.ipk
Installing turris-mox-firmware (2.0-3) to root...
Downloading https://repo.turris.cz/hbs/mox/packages/turrispackages/turris-mox-firmware_2.0-3_aarch64_cortex-a53.ipk
Installing turris-nor-update (1.1.0-7) to root...
Downloading https://repo.turris.cz/hbs/mox/packages/turrispackages/turris-nor-update_1.1.0-7_aarch64_cortex-a53.ipk
Configuring turris-mox-firmware.
Configuring turris-nor-update.
Configuring fix-nor-update.
Verifying /dev/mtd0 against secure-firmware.bin ...
18a0c1bc58839cbbc7aef70db637d261 - /dev/mtd0
e12a263c63bd9860cff844763e81e56b - secure-firmware.bin
Failed
Unlocking /dev/mtd0 ...
Erasing /dev/mtd0 ...

Writing from secure-firmware.bin to /dev/mtd0 ...
Verifying /dev/mtd1 against uboot ...
437cb920201336f556abd2b448248714 - /dev/mtd1
bd802eb0ec60fd89f983ac3cd4860fba - uboot
Failed
Unlocking /dev/mtd1 ...
Erasing /dev/mtd1 ...

Writing from uboot to /dev/mtd1 ...
Verifying /dev/mtd3 against rescue ...
e9b30ada843663c579829652847c7bb8 - /dev/mtd3
39f02d9fb36b4258bac37924bcdf570c - rescue
Failed
Unlocking /dev/mtd3 ...
Erasing /dev/mtd3 ...

Writing from rescue to /dev/mtd3 ...
Can't find anything to flash to 'dtb' partition
root@turris:~# strings /dev/mtdblock1 | grep "U-Boot 20"
U-Boot 2022.07 (Aug 15 2022 - 12:25:08 +0000)
root@turris:~#

Dalsi, co me napada - zkusil bych poustet jenom zakladni MOX modul. Pokud mas pripojene nejake dalsi, zkus je na test odpojit.