Turris nefunguje nic

Zdravím,

přestal mi fungovat Turris (1.0). Ráno mi nešly streamy z tvheaded, zjistil jsem, že se nejde webové rozhraní routeru a nebylo možné se připojit ani přes SSH. Internet fungoval, ale po chvíli mi přestal fungovat DNS.

Forris psal chybu 503, luci /usr/lib/lua/luci/controller/lxc.lua:22: Failed to connect to ubus stack traceback: [C]: in function 'error' /usr/lib/lua/luci/controller/lxc.lua:22: in main chunk [C]: in function 'require' /usr/lib/lua/luci/dispatcher.lua:521: in function 'createindex' /usr/lib/lua/luci/dispatcher.lua:548: in function 'createtree' /usr/lib/lua/luci/dispatcher.lua:224: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

Restartoval jsem router tlačítkem reset, potom už nejde nic, ani ping (PC připojený přímo, port bliká, ip jsem zkoušel statickou).

Log jsem načetl přes sériovou linku.

U-Boot 2015.04-04654-gbcfb33e-dirty (Jun 26 2015 - 12:50:49)

CPU0:  P2020E, Version: 2.1, (0x80ea0021)
Core:  e500, Version: 5.1, (0x80211051)
Clock Configuration:
       CPU0:1200 MHz, CPU1:1200 MHz,
       CCB:600  MHz,
       DDR:400  MHz (800 MT/s data rate) (Asynchronous), LBC:37.500 MHz
L1:    D-cache 32 KiB enabled
       I-cache 32 KiB enabled
wdt status 00000005 reset
       Watchdog enabled
Board: TURRIS CPLD: V4.1 PCBA: V4.0
Error, wrong i2c adapter 2 max 2 possible
in: 56
out: 0
io_config: 255
rom_loc: nor upper bank
SD/MMC : 4-bit Mode
eSPI : Enabled
I2C:   Error, wrong i2c adapter 2 max 2 possible
ready
SPI:   ready
DRAM:  Error, wrong i2c adapter 2 max 2 possible
Detected UDIMM 9905428-181.A00LF
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
2 GiB (DDR3, 64-bit, CL=6, ECC off)
Flash: 16 MiB
L2:    512 KiB enabled
NAND:  256 MiB
MMC:   FSL_SDHC: 0
PCIe1: Root Complex of mini PCIe SLOT, no link, regs @ 0xffe0a000
PCIe1: Bus 00 - 00
PCIe2: Root Complex of PCIe SLOT, x1 gen1, regs @ 0xffe09000
  02:00.0     - 168c:0030 - Network controller
PCIe2: Bus 01 - 02
PCIe3: Root Complex of PCIe SLOT, no link, regs @ 0xffe08000
PCIe3: Bus 03 - 03
Error, wrong i2c adapter 2 max 2 possible
In:    serial
Out:   serial
Err:   serial
Net:   Phy 5 not found
PHY reset timed out
eTSEC1
Error: eTSEC1 address not set.
, eTSEC2
Error: eTSEC2 address not set.
, eTSEC3 [PRIME]
Error: eTSEC3 address not set.

Hit any key to stop autoboot:  0
BOOT NAND
reading zImage
3319909 bytes read in 156 ms (20.3 MiB/s)
wdt status 00000003
reading fdt
12945 bytes read in 14 ms (902.3 KiB/s)
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 02100000 ...
   Image Name:   Linux-4.4.199-f90a52a6230ecb072f
   Created:      2020-01-15   1:28:13 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    3319845 Bytes = 3.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 03ff9000, end 03fff290 ... OK
WARNING: could not find compatible node fsl-usb2-dr
[    0.000000] Using P2020 RDB machine description
[    0.000000] Memory CAM mapping: 256/256 Mb, residual: 1536Mb
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.199-f90a52a6230ecb072f657fce5aebd444-0 (beast@build) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47055) ) #1 SMP Wed Jan 15 02:28:05 CET 2020
[    0.000000] CPU maps initialized for 1 thread per core
[    0.000000] bootconsole [udbg0] enabled
setup_arch: initmem
mpc85xx_rdb_setup_arch()
[    0.000000] mpc85xx_qe_init: Could not find Quicc Engine node
[    0.000000] MPC85xx RDB board from Freescale Semiconductor
arch: exit
[    0.000000] barrier-nospec: using isync; sync as speculation barrier
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000020000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] PERCPU: Embedded 10 pages/cpu @dedc2000 s9420 r8192 d23348 u40960
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 523136
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rw rootfstype=btrfs rootflags=subvol=@,commit=5 console=ttyS0,115200
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2005324K/2097152K available (5048K kernel code, 180K rwdata, 1100K rodata, 200K init, 244K bss, 91828K reserved, 0K cma-reserved, 1572856K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffbf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffbfd000..0xffc00000  : early ioremap
[    0.000000]   * 0xe1000000..0xffbfd000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe40000, max 2 CPUs
[    0.000000] mpic: ISU size: 256, shift: 8, mask: ff
[    0.000000] mpic: Initializing for 256 sources
[    0.000000] mpc85xx_rdb_pic_init: Could not find qe-ic node
[    0.000008] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x114c1bade8, max_idle_ns: 440795203839 ns
[    0.010276] clocksource: timebase mult[d555555] shift[24] registered
[    0.016657] pid_max: default: 32768 minimum: 301
[    0.021306] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.027844] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.035254] Initializing cgroup subsys io
[    0.039191] Initializing cgroup subsys memory
[    0.043542] Initializing cgroup subsys devices
[    0.047965] Initializing cgroup subsys freezer
[    0.052397] Initializing cgroup subsys net_cls
[    0.056830] Initializing cgroup subsys pids
[    0.061146] mpic: requesting IPIs...
[    0.065662] Brought up 2 CPUs
[    0.070675] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.080353] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.086527] xor: measuring software checksum speed
[    0.101287]    8regs     :  1472.000 MB/sec
[    0.115425]    8regs_prefetch:  1312.000 MB/sec
[    0.129909]    32regs    :  1472.000 MB/sec
[    0.144045]    32regs_prefetch:  1356.000 MB/sec
[    0.148578] xor: using function: 32regs (1472.000 MB/sec)
[    0.154296] NET: Registered protocol family 16
[    0.163700] cpuidle: using governor ladder

[    0.173956] Found FSL PCI host bridge at 0x00000000ffe08000. Firmware bus number: 0->0
[    0.181806] PCI host bridge /pcie@ffe08000 (primary) ranges:
[    0.187453]  MEM 0x00000000c0000000..0x00000000dfffffff -> 0x00000000c0000000
[    0.194666]   IO 0x00000000ffc20000..0x00000000ffc2ffff -> 0x0000000000000000
[    0.201804] /pcie@ffe08000: PCICSRBAR @ 0xfff00000
[    0.206574] setup_pci_atmu: end of DRAM 80000000
[    0.211439] Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->1
[    0.219281] PCI host bridge /pcie@ffe09000  ranges:
[    0.224149]  MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000
[    0.231363]   IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
[    0.238498] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
[    0.243271] setup_pci_atmu: end of DRAM 80000000
[    0.248129] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->0
[    0.255971] PCI host bridge /pcie@ffe0a000  ranges:
[    0.260839]  MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000
[    0.268052]   IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
[    0.275188] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
[    0.279961] setup_pci_atmu: end of DRAM 80000000
[    0.293314] PCI: Probing PCI hardware
[    0.297049] fsl-pci ffe08000.pcie: PCI host bridge to bus 0000:00
[    0.303069] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.309235] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xdfffffff]
[    0.316104] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.321874] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.329893] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.335235] fsl-pci ffe09000.pcie: PCI host bridge to bus 0001:02
[    0.341256] pci_bus 0001:02: root bus resource [io  0x20000-0x2ffff] (bus address [0x0000-0xffff])
[    0.350205] pci_bus 0001:02: root bus resource [mem 0xa0000000-0xbfffffff]
[    0.357072] pci_bus 0001:02: root bus resource [bus 02-ff]
[    0.362792] pci 0001:02:00.0: Primary bus is hard wired to 0
[    0.368375] pci 0001:02:00.0: bridge configuration invalid ([bus 01-01]), reconfiguring
[    0.378397] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
[    0.383756] fsl-pci ffe0a000.pcie: PCI host bridge to bus 0002:04
[    0.389780] pci_bus 0002:04: root bus resource [io  0x40000-0x4ffff] (bus address [0x0000-0xffff])
[    0.398725] pci_bus 0002:04: root bus resource [mem 0x80000000-0x9fffffff]
[    0.405592] pci_bus 0002:04: root bus resource [bus 04-ff]
[    0.411323] pci 0002:04:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.419339] pci 0002:04:00.0: PCI bridge to [bus 05-ff]
[    0.424574] PCI: Cannot allocate resource region 0 of PCI bridge 1, will remap
[    0.431725] PCI: Cannot allocate resource region 0 of device 0000:00:00.0, will remap
[    0.439544] PCI: Cannot allocate resource region 0 of device 0001:02:00.0, will remap
[    0.447368] PCI: Cannot allocate resource region 0 of device 0002:04:00.0, will remap
[    0.455223] pci 0000:00:00.0: BAR 0: no space for [mem size 0x00100000]
[    0.461797] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x00100000]
[    0.468751] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.473706] pci 0000:00:00.0:   bridge window [mem 0xc0000000-0xdfffffff]
[    0.480488] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    0.489558] pci 0001:02:00.0: BAR 0: no space for [mem size 0x00100000]
[    0.496135] pci 0001:02:00.0: BAR 0: failed to assign [mem size 0x00100000]
[    0.503093] pci 0001:03:00.0: BAR 6: assigned [mem 0xa0020000-0xa002ffff pref]
[    0.510309] pci 0001:02:00.0: PCI bridge to [bus 03]
[    0.515260] pci 0001:02:00.0:   bridge window [io  0x20000-0x2ffff]
[    0.521519] pci 0001:02:00.0:   bridge window [mem 0xa0000000-0xbfffffff]
[    0.528300] pci_bus 0001:02: Some PCI device resources are unassigned, try booting with pci=realloc
[    0.537378] pci 0002:04:00.0: BAR 0: no space for [mem size 0x00100000]
[    0.543948] pci 0002:04:00.0: BAR 0: failed to assign [mem size 0x00100000]
[    0.550902] pci 0002:04:00.0: PCI bridge to [bus 05]
[    0.555857] pci 0002:04:00.0:   bridge window [io  0x40000-0x4ffff]
[    0.562117] pci 0002:04:00.0:   bridge window [mem 0x80000000-0x9fffffff]
[    0.568898] pci_bus 0002:04: Some PCI device resources are unassigned, try booting with pci=realloc
[    0.578224] mpic-msgr ffe41400.message: Found 0 message registers
[    0.584241] mpic-msgr ffe41400.message: Of-device full name /soc@ffe00000/message@41400
[    0.592245] mpic-msgr ffe41400.message: Failed to find message register block alias
[    0.624758] raid6: int32x1  gen()   171 MB/s
[    0.646152] raid6: int32x1  xor()   220 MB/s
[    0.667474] raid6: int32x2  gen()   300 MB/s
[    0.688849] raid6: int32x2  xor()   261 MB/s
[    0.710157] raid6: int32x4  gen()   398 MB/s
[    0.731467] raid6: int32x4  xor()   283 MB/s
[    0.752835] raid6: int32x8  gen()   378 MB/s
[    0.774177] raid6: int32x8  xor()   253 MB/s
[    0.778363] raid6: using algorithm int32x4 gen() 398 MB/s
[    0.783752] raid6: .... xor() 283 MB/s, rmw enabled
[    0.788620] raid6: using intx1 recovery algorithm
[    0.794610] clocksource: Switched to clocksource timebase
[    0.800867] NET: Registered protocol family 2
[    0.805501] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.812506] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.818945] TCP: Hash tables configured (established 4096 bind 4096)
[    0.825310] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.831106] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.837459] NET: Registered protocol family 1
[    0.848546] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.854511] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZO) (LZMA) (RTIME) (RUBIN) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.866991] bounce: pool size: 64 pages
[    0.870802] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.878225] io scheduler noop registered
[    0.882078] io scheduler deadline registered (default)
[    0.887509] pcieport 0001:02:00.0: enabling device (0106 -> 0107)
[    0.893669] pcieport 0002:04:00.0: enabling device (0106 -> 0107)
[    0.900002] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.906921] pcieport 0001:02:00.0: Signaling PME through PCIe PME interrupt
[    0.913843] pci 0001:03:00.0: Signaling PME through PCIe PME interrupt
[    0.920392] pcieport 0002:04:00.0: Signaling PME through PCIe PME interrupt
[    0.952739] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.961281] console [ttyS0] disabled
[    0.964804] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud = 37500000) is a 16550A
[    0.973483] console [ttyS0] enabled
[    0.973483] console [ttyS0] enabled
[    0.980426] bootconsole [udbg0] disabled
[    0.980426] bootconsole [udbg0] disabled
[    0.988630] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42, base_baud = 37500000) is a 16550A
[    0.997899] console [ttyS0] disabled
[    1.001516] console [ttyS0] enabled
[    1.005419] ffe04600.serial: ttyS1 at MMIO 0xffe04600 (irq = 42, base_baud = 37500000) is a 16550
[    1.021375] brd: module loaded
[    1.025156] ef000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    1.035177] Amd/Fujitsu Extended Query Table at 0x0040
[    1.040347]   Amd/Fujitsu Extended Query version 1.3.
[    1.045405] number of CFI chips: 1
[    1.049031] 6 ofpart partitions found on MTD device ef000000.nor
[    1.055067] Creating 6 MTD partitions on "ef000000.nor":
[    1.060388] 0x000000000000-0x000000020000 : "NOR (RO) DTB Image"
[    1.067021] 0x000000020000-0x0000001c0000 : "NOR (RO) Linux Kernel Image"
[    1.074360] 0x0000001c0000-0x000000340000 : "NOR (RO) JFFS2 Root File System"
[    1.082055] 0x000000340000-0x000000e40000 : "NOR (RO) NAND FW backup"
[    1.089022] 0x000000e40000-0x000000f00000 : "NOR (RW) Cert backup"
[    1.095788] 0x000000f00000-0x000001000000 : "NOR (RO) U-Boot Image"
[    1.103170] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    1.109558] nand: Micron MT29F2G08ABAEAWP
[    1.113589] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.122550] Bad block table found at page 131008, version 0x01
[    1.129158] Bad block table found at page 130944, version 0x01
[    1.135582] 4 ofpart partitions found on MTD device ff800000.flash
[    1.141778] Creating 4 MTD partitions on "ff800000.flash":
[    1.147273] 0x000000000000-0x000000200000 : "NAND (RW) DTB Image"
[    1.153939] 0x000000200000-0x000000700000 : "NAND (RW) Linux Kernel Image"
[    1.161380] 0x000000700000-0x000010000000 : "NAND (RW) JFFS2 Root File System"
[    1.169373] 0x000000000000-0x000010000000 : "rootfs-ubifs"
[    1.175625] eLBC NAND device at 0xff800000, bank 1
[    1.180859] fsl_espi ffe07000.spi: cs=0, init_csmode=0x100008
[    1.186626] fsl_espi ffe07000.spi: cs=1, init_csmode=0x100008
[    1.192386] fsl_espi ffe07000.spi: cs=2, init_csmode=0x100008
[    1.198141] fsl_espi ffe07000.spi: cs=3, init_csmode=0x100008
[    1.204958] fsl_espi ffe07000.spi: at 0xe11c0000 (irq = 59)
[    1.210960] libphy: Fixed MDIO Bus: probed
[    1.215266] libphy: Freescale PowerQUICC MII Bus: probed
[    1.223127] switch0: Atheros AR8337 rev. 2 switch registered on mdio@ffe24520
[    1.274292] fsl-gianfar ffe24000.ethernet: enabled errata workarounds, flags: 0x4
[    1.292226] fsl-gianfar ffe24000.ethernet eth0: mac: 00:00:00:00:00:00
[    1.298766] fsl-gianfar ffe24000.ethernet eth0: Running with NAPI enabled
[    1.305563] fsl-gianfar ffe24000.ethernet eth0: RX BD ring size for Q[0]: 256
[    1.312706] fsl-gianfar ffe24000.ethernet eth0: TX BD ring size for Q[0]: 256
[    1.320128] fsl-gianfar ffe25000.ethernet: enabled errata workarounds, flags: 0x4
[    1.338013] fsl-gianfar ffe25000.ethernet eth1: mac: 00:00:00:00:00:00
[    1.344555] fsl-gianfar ffe25000.ethernet eth1: Running with NAPI enabled
[    1.351351] fsl-gianfar ffe25000.ethernet eth1: RX BD ring size for Q[0]: 256
[    1.358494] fsl-gianfar ffe25000.ethernet eth1: TX BD ring size for Q[0]: 256
[    1.365716] fsl-gianfar ffe26000.ethernet: enabled errata workarounds, flags: 0x4
[    1.383581] fsl-gianfar ffe26000.ethernet eth2: mac: 00:00:00:00:00:00
[    1.390128] fsl-gianfar ffe26000.ethernet eth2: Running with NAPI enabled
[    1.396926] fsl-gianfar ffe26000.ethernet eth2: RX BD ring size for Q[0]: 256
[    1.404069] fsl-gianfar ffe26000.ethernet eth2: TX BD ring size for Q[0]: 256
[    1.411303] ucc_geth_driver: QE UCC Gigabit Ethernet Controller
[    1.417422] i2c /dev entries driver
[    1.421051] mpc-i2c ffe03000.i2c: timeout 1000000 us
[    1.428548] rtc-ds1307 0-006f: rtc core: registered mcp7940x as rtc0
[    1.434926] rtc-ds1307 0-006f: 64 bytes nvram
[    1.439461] mpc-i2c ffe03100.i2c: timeout 1000000 us
[    1.444703] booke_wdt: powerpc book-e watchdog driver loaded
[    1.450550] sdhci: Secure Digital Host Controller Interface driver
[    1.456740] sdhci: Copyright(c) Pierre Ossman
[    1.461102] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.466944] sdhci-esdhc ffe2e000.sdhc: No vmmc regulator found
[    1.472789] sdhci-esdhc ffe2e000.sdhc: No vqmmc regulator found
[    1.501106] mmc0: SDHCI controller on ffe2e000.sdhc [ffe2e000.sdhc] using DMA
[    1.508963] NET: Registered protocol family 10
[    1.514027] NET: Registered protocol family 17
[    1.518531] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.531186] Bridge firewalling registered
[    1.535215] 8021q: 802.1Q VLAN Support v1.8
[    1.540240] BTRFS: using crc32c-generic for crc32c
[    1.546379] Btrfs loaded, integrity-checker=on
[    1.552312] rtc-ds1307 0-006f: setting system clock to 2020-11-03 10:01:56 UTC (1604397716)
[    1.561264] Waiting for root device /dev/mmcblk0p2...
[    1.576380] mmc0: new high speed SDHC card at address 59b4
[    1.582247] mmcblk0: mmc0:59b4 NCard 14.7 GiB
[    1.587654]  mmcblk0: p1 p2
[    1.668286] BTRFS: device fsid 08ea747c-f8bc-45e8-9d41-869e9b886f1c devid 1 transid 194571 /dev/root
[    1.679111] BTRFS info (device mmcblk0p2): disk space caching is enabled
[    1.685823] BTRFS: has skinny extents
[    1.755424] BTRFS: detected SSD devices, enabling SSD mode
[    3.555684] random: nonblocking pool is initialized
Failed to connect to ubus

Ha, ještě to pokračuje. Odešla sd karta?

[  603.507107] mmc0: Card stuck in programming state! mmcblk0 card_busy_detect
[  603.562869] mmc0: tried to reset card
[ 1203.570104] mmc0: Card stuck in programming state! mmcblk0 card_busy_detect
[ 1203.577133] blk_update_request: I/O error, dev mmcblk0, sector 1465696
[ 1203.583674] blk_update_request: I/O error, dev mmcblk0, sector 1465704
[ 1203.590209] blk_update_request: I/O error, dev mmcblk0, sector 1465712
[ 1203.596743] blk_update_request: I/O error, dev mmcblk0, sector 1465720
[ 1203.603278] blk_update_request: I/O error, dev mmcblk0, sector 1465728
[ 1203.609812] blk_update_request: I/O error, dev mmcblk0, sector 1465736
[ 1203.616345] blk_update_request: I/O error, dev mmcblk0, sector 1465744
[ 1203.622879] blk_update_request: I/O error, dev mmcblk0, sector 1465752
[ 1203.629413] blk_update_request: I/O error, dev mmcblk0, sector 1465760
[ 1203.635947] blk_update_request: I/O error, dev mmcblk0, sector 1465768
[ 1203.642873] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.650814] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.658749] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.666680] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.674613] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.682545] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.690601] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.698539] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.706506] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.714445] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.722379] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.730311] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.738374] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.746312] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.754253] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.762194] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.770134] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.778067] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.785847] BTRFS error (device mmcblk0p2): bdev /dev/root errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[ 1203.795626] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.803775] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.811724] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.819660] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.827602] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.835542] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.843324] BTRFS error (device mmcblk0p2): bdev /dev/root errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[ 1203.853021] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.861182] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.869142] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.877084] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.885021] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.892961] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.900744] BTRFS error (device mmcblk0p2): bdev /dev/root errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[ 1203.910395] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.918342] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.926284] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.934230] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.942175] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.950118] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.957897] BTRFS error (device mmcblk0p2): bdev /dev/root errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[ 1203.967534] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.975479] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.983419] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.991355] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1203.999290] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.007231] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.015374] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.023315] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.031260] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.039202] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.047145] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.055080] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.065328] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.073299] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.081245] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.089190] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.097135] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.105071] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.112975] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.120847] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.128716] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.136589] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.144472] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.152345] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.160127] BTRFS error (device mmcblk0p2): bdev /dev/root errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[ 1204.169767] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.177654] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.185531] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.193408] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.201285] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.209169] mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400f00
[ 1204.264887] mmc0: tried to reset card

Lepší karta než interní paměť.

Vytáhl jsem sd kartu a router naběhl s konfigurací z doby před migrací. Takže zítra tam strčím novou kartu a asi budu znova nastavovat, nemám žádné zálohy.

Poradíte, je nějaká možnost tam při té příležitosti rovnou dostat Turris OS 5? Auto update pokud vím ještě není…

S novou microSD kartou je potřeba znovu spustit migraci na BTRFS a poté, až router bude opět bootovat z této microSD karty, je možno na ní naflashovat TurrisOS 5.x

Návody jsou uvedené na tomto fóru, jen je třeba hledat opravdu návody pro Turris 1.x (postup se liší od Omnie).

Jen pro upřesnění dodávám, že běh TurrisOS 5.x na routeru Turris 1.x je dle statusu oficiálního Turris teamu experimentální, ale funguje podle mě spolehlivě (na mém routeru Turris 1.0 běží bez problémů již několik měsíců).

3 Likes

Provedl jsem znovu migraci a dál jsem se nedostal. Mám Turris OS 3.10.3.

Nefunguje wget ani curl, opkg update píše

Downloading https://repo.turris.cz/turris/packages//base/Packages.gz
        curl: (48) Error

Medkit jsem přetáhl přes scp a potýkám se s

schnapps import -f /tmp/turris1x-medkit-latest.tar.gz
    Import takes one argument which is snapshot info file!
    Actual tarball has to be next to it!

edit: vyřešeno manuální aktualizací libcurl, curl, jsem na TOS 3.11 a spouštím migraci

1 Like

Toto prakticky neznamená nic (aktualizace factory image proběhla úspěšně)
Dále stačí jen nastavit aby se po resetu nahrál factory image:

schnapps rollback factory

dále jen restart routeru

A určitě ten příkaz něco udělal?
Jak jsem doplnil do příspěvku, stáhl jsem nový curl+libcurl a update začal fungovat, stáhl se nový schnapps a chybu nepsal.

Úspěšně jsem se dostal na Turris OS 5.1.2, ale narazil jsem na problém s firmwarem dvb karty a nechodily pořádně vlany, tak se vracím zpět.

Zdravim ve spolek a bohuzel u mne mam jeste vetsi problem. Mam Turisse 1.1
Chtel jsem rucne prejit z 3 na 5 a postupoval jsem podle EN! doporuceneho navodu. Na win 10 pres PuTTy. SSH fungovalo, zadaval jsem postune prikazy, no ale pak po migraci karty na btrfs se pul dne nic nedelo a vsechny led svitili bile. Vypnul jsem ho, vyndal kartu, HR a nic se nedelo. Vlozil kartu a stale nic, ale led ted sviti pouze cervene. HR nejede restart nic a neni ani videt po kabelu na siti. Pres serial a obnovu img jsem nezkousel jeste. Takze jsem si nejak asi smazal puvodni OS a nejede nic.
Pomuze mi ted obnova img na stary os pres kartu, kde neni ani v navodu napsane, jaky ma mit format?! Mam starsi 8GB a Fat32
Popise mi nekdo postup tady co a jak s linky nebo ho mam odnest na Milesovku?
Diky.

Ahoj,
pokud jsi z Prahy, můžeš nám to donést do kanclu.

Ještě mě napadlo, reaguje to alespoň na pokus o factory reset přes reset tlačítko?

Ano, factory funguje, ale pak se nic nedeje a led sviti chvili bile a pak zustanou cervene.
A v kanclu jste do 17? Ze bych poresil jeste jednu vec ohledne ID. Dneska jeste. A i se zdrojem mam donest nebo staci samotny modrak?

Ano, já tu dnes jsem do pěti, ideálně přijít dříve než v pět. Bude stačit samotný modrák.

Ok, beru do batohu a nejak vyrazim. Diky zatim.

Tak modrak je zpet doma, obnoven a migrovan na posledni os. Velke diky @hagrid za rychle oziveni.

5 Likes

To je panečku servis! :+1:
U kterého jiného routeru by jste něco takového mohli očekávat?

3 Likes

Takže ten nadpis už neplatí. :grinning:

Toho si dost cenim, je to asi ojedinela zalezitost, kterou nikdo na svete nema.

2 Likes

Pro nekoho muze a nechal bych to jako noobovske reseni. :slight_smile:
Jinak toto byla pricina a pak reseni.

V jednom bodě při bootu nastal kernel panic a pak se to točilo pořád dokola.
Tak jsem tam jen přeflashnul záchranný systém na 3.8.5, provedl aktualizaci na 3.11.23 a pak migraci na btrfs a import medkitu TOS 5.3.3 a ono se to vlastně pak už všechno „automagicky“ provedlo samo.

3 Likes

Podařilo se mi zjistit, co bylo příčinou problému. Vypadá to, že se během migrace nevyaktualizovalo prostředí U-Boot a pak z toho vznikne kočkopes, kdy se snaží nabootovat z interní paměti a celý boot skončí na kernel panic na nemožnosti načíst init

Chyba v konzoli vypadá zhruba takto:

[    3.347052] Freeing unused kernel memory: 200K
/etc/preinit: exec: line 5: /sbin/init: not found
[    3.519106] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    3.519106]
[    3.528251] CPU: 0 PID: 1 Comm: sh Not tainted 4.4.199-f90a52a6230ecb072f657fce5aebd444-1 #1
[    3.536690] Call Trace:
[    3.539139] [da843e60] [c04ed1f8] dump_stack+0x84/0xb0 (unreliable)
[    3.545412] [da843e70] [c04e8d94] panic+0xe0/0x21c
[    3.550206] [da843ed0] [c002e778] do_exit+0x430/0x84c
[    3.555258] [da843f10] [c002ec18] do_group_exit+0x48/0xac
[    3.560658] [da843f30] [c002ec90] __wake_up_parent+0x0/0x18
[    3.566236] [da843f40] [c000e18c] ret_from_syscall+0x0/0x3c
[    3.571809] --- interrupt: c01 at 0xb790f214
[    3.571809]     LR = 0xb79665b0
[    3.579212] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    3.579212]

Pro ověření problému je možné v konzoli vyhledat tento řetězec

[    0.000000] Kernel command line: root=ubi0:rootfs rootfstype=ubifs ubi.mtd=9,2048 rootflags=chk_data_crc rw console=ttyS0,115200

který by ale měl vypadat takto:

[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rw rootfstype=btrfs rootflags=subvol=@,commit=5 console=ttyS0,115200

Pro opravu se stačí připojit přes sériovou konzoli k modrákovi, zastavit bootloader a doplnit (vykopírovat) tyto řádky.

env set -f backbootcmd "setexpr.b reflash *0xFFA0001F;if test $reflash -ge $reflash_timeout; then echo BOOT NOR; run norboot; else echo BOOT NAND; run ubiboot; fi"
env set -f bootcmd "setexpr.b reflash *0xFFA0001F;if test $reflash -ge $reflash_timeout; then echo BOOT NOR; run norboot; else echo BOOT NAND; mmc rescan; if fatload mmc 0:1 $nandbootaddr zImage; then run mmcboot; else run ubiboot; fi; fi"
env set -f norboot "max6370_wdt_off; env default -a; saveenv; setenv bootargs $bootargsnor; bootm 0xef020000 - 0xef000000"
env set -f bootargsmmc "root=/dev/mmcblk0p2 rootwait rw rootfstype=btrfs rootflags=subvol=@,commit=5 console=ttyS0,115200"
env set -f mmcboot "max6370_wdt_off; fatload mmc 0:1 $nandfdtaddr fdt; setenv bootargs $bootargsmmc; bootm $nandbootaddr - $nandfdtaddr"
env save

Pak stačí jen napsat reset a problém by měl být vyřešen.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.