Reboot doesn't work

I still have the issue and unfortunately can’t find much help in the available documentation.
Meanwhile I tried to reset the u-Boot config (you never know right?) using a serial cable and

env default -a
saveenv

but that didn’t fix the issue neither. The system still does not reboot. I reflashed it already completely and completely reset everything, so it’s definitely not an issue of the configuration of the device.

My impression is that it’s correctly shutting down, but then hangs somewhere as it’s not showing any sign of going back into u-Boot.

But… shouldn’t the Marvell chip have an embedded watchdog timer that should normally automatically trigger a reset?

Also, I still wonder if it could it be an issue with the u-boot configuration?

Can anybody here who has a serial cable to the MOX and a working configuration please post the u-Boot configuration so that I can verify mine? You should be able to do that with

printenv

command on the u-Boot prompt ?

Here’s what I get on mine. I would like to check with somebody who has a working device if this is good or not?

U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000), Build: jenkins-turris-os-packages-kittens-mox-90

DRAM:  1 GiB
Enabling Armada 3720 wComphy-0: SGMII1        3.125 Gbps
Comphy-1: PEX0          5 Gbps    
Comphy-2: USB3_HOST0    5 Gbps    
MMC:   sdhci@d8000: 0
Loading Environment from SPI Flash... SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
OK
Model: CZ.NIC Turris Mox Board
Net:   eth0: neta@30000
Turris Mox:
  Board version: 22
  RAM size: 1024 MiB
  Serial Number: **deleted for this post**
  ECDSA Public Key: **deleted for this post**
  SD/eMMC version: SD
Module Topology:
   1: Mini-PCIe Module
   2: Peridot Switch Module (8-port)

Hit any key to stop autoboot:  2 ... 0 
=> 
=> 
=> 
=> printenv
arch=arm
baudrate=115200
board=turris_mox
board_name=turris_mox
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_syslinux_conf=extlinux/extlinux.conf
boot_targets=mmc0 usb0 pxe dhcp 
bootcmd=run mox_boot
bootcmd_dhcp=run boot_net_usb_start; run boot_net_pci_enum; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00011:UNDI:003000;setenv bootp_arch 0xb;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_pxe=run boot_net_usb_start; run boot_net_pci_enum; dhcp; if pxe get; then pxe boot; fi
bootcmd_usb0=setenv devnum 0; run usb_boot
bootdelay=2
cpu=armv8
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
efi_dtb_prefixes=/ /dtb/ /dtb/current/
eth1addr=**deleted for this post**
ethaddr=**deleted for this post**
fdt_addr_r=0x4f00000
fdtcontroladdr=3bf201a8
kernel_addr_r=0x5000000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
mox_boot=gpio clear GPIO221; if gpio input GPIO220 && sleep 1 && gpio input GPIO220; then run rescue_bootcmd; else run mox_distro_bootcmd; fi
mox_distro_bootcmd=sf probe; sf read ${fdt_addr_r} 0x7f0000 0x10000; run distro_bootcmd
pxefile_addr_r=0x4e00000
ramdisk_addr_r=0x8000000
rescue_args=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000
rescue_bootcmd=gpio set GPIO221; setenv bootargs $rescue_args; sf probe; sf read $kernel_addr_r 0x190000; lzmadec $kernel_addr_r $ramdisk_addr_r; bootm $ramdisk_addr_r
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scriptaddr=0x4d00000
soc=mvebu
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
vendor=CZ.NIC

Environment size: 4132/65532 bytes
=> 
arch=arm
baudrate=115200
board=turris_mox
board_name=turris_mox
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_syslinux_conf=extlinux/extlinux.conf
boot_targets=mmc0 usb0 pxe dhcp 
bootcmd=run mox_boot
bootcmd_dhcp=run boot_net_usb_start; run boot_net_pci_enum; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00011:UNDI:003000;setenv bootp_arch 0xb;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_pxe=run boot_net_usb_start; run boot_net_pci_enum; dhcp; if pxe get; then pxe boot; fi
bootcmd_usb0=setenv devnum 0; run usb_boot
bootdelay=2
cpu=armv8
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
efi_dtb_prefixes=/ /dtb/ /dtb/current/
eth1addr=**deleted for this post**
ethaddr=**deleted for this post**
fdt_addr_r=0x4f00000
fdtcontroladdr=3bf201a8
kernel_addr_r=0x5000000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
mox_boot=gpio clear GPIO221; if gpio input GPIO220 && sleep 1 && gpio input GPIO220; then run rescue_bootcmd; else run mox_distro_bootcmd; fi
mox_distro_bootcmd=sf probe; sf read ${fdt_addr_r} 0x7f0000 0x10000; run distro_bootcmd
pxefile_addr_r=0x4e00000
ramdisk_addr_r=0x8000000
rescue_args=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000
rescue_bootcmd=gpio set GPIO221; setenv bootargs $rescue_args; sf probe; sf read $kernel_addr_r 0x190000; lzmadec $kernel_addr_r $ramdisk_addr_r; bootm $ramdisk_addr_r
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scriptaddr=0x4d00000
soc=mvebu
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
vendor=CZ.NIC

Environment size: 4132/65532 bytes
=>
2 Likes

Hello, could this problem be solved? The same thing is happening to me (no matter the version of the operating system)
I have Turris Omnia in 3.x brand

1 Like

This is affecting me as well, with A+G+C setup. This also was a major headache getting a working router as I could never tell whether the reboot needed manual intervention and if the router was in a state that was safe to unplug.

Would be great to have this issue get higher priority and to document the behavior of the status light somewhere obvious.

2 Likes

I’d second @kxra on the need for higher priority. I think this is a major bug that needs to be addressed.

It’d be very helpful if the team would provide the appropriate information to the community about the problem and give us the ability to fix it ourselves. We have a community of committed people here but they’re not being properly utilized.

2 Likes

I have to reset my MOX anywhere from 2 up to 6 times PER DAY. This makes work unbearable. I see my network has died and I look to the router which either has the status light off or on, not with the regular double-blinking heartbeat. This can’t be due to updates since those are only scheduled once per day.

Have any of you with issues tried to disconnect all but the base module?
If that works add one module at a time, just to try to narrow it down.

Just my 5 cents

I’ve tried just with the base module, or with A+C combo. With the base alone, it gets stuck less likely, but it still does.

I found this black magic combo on A+C setup to increase the probability of getting stuck to almost 50%:

  1. Connect UART cable
  2. Plug in power
  3. Let Mox boot, connect to 2.4 GHz SDIO wifi
  4. run pkgupdate over SSH
  5. meanwhile, open foris, luci and reforis in web browser
  6. reboot over SSH
  7. repeat 3-6

The first reboot usually succeeds, while the second usually does not.

The reboot issue still exists on Turris OS 5.0:

When performing rebootfrom ssh:

Both MOX are running the 4.14.180 Kernel.

2 Likes

Reboot works really everytime?

Valid question. I did a reboot from ssh 10 times in a row now (on the MOX-AS) without any problems. It always came back to life. But there is no wifi enabled or any other service running on this mox.

This is the output of `dmesg` after the last reboot.
root@schneeflock:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180 (beast@slave10) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 21454a7)) #0 SMP Wed Jun 3 00:57:44 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: CZ.NIC Turris Mox Board
[    0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '')
[    0.000000] bootconsole [ar3700_uart0] enabled
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x490 with crng_init=0
[    0.000000] percpu: Embedded 16 pages/cpu s26648 r8192 d30696 u65536
[    0.000000] pcpu-alloc: s26648 r8192 d30696 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: earlyprintk console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 mangled_fs=btrfs root=PARTUUID=00000000-01 rootflags=commit=5,subvol=@ rootwait  rw cfg80211.freg= 
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 1020020K/1048576K available (7294K kernel code, 468K rwdata, 1900K rodata, 320K init, 304K bss, 28556K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80087a0000   (  7296 KB)
[    0.000000]     .rodata : 0xffffff80087a0000 - 0xffffff8008980000   (  1920 KB)
[    0.000000]       .init : 0xffffff8008980000 - 0xffffff80089d0000   (   320 KB)
[    0.000000]       .data : 0xffffff80089d0000 - 0xffffff8008a45008   (   469 KB)
[    0.000000]        .bss : 0xffffff8008a45008 - 0xffffff8008a911b0   (   305 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000d1d40000
[    0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000004] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008425] Console: colour dummy device 80x25
[    0.012934] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.023584] pid_max: default: 32768 minimum: 301
[    0.028441] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.035274] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043603] ASID allocator initialised with 32768 entries
[    0.049187] Hierarchical SRCU implementation.
[    0.054040] smp: Bringing up secondary CPUs ...
[    0.058999] Detected VIPT I-cache on CPU1
[    0.059029] GICv3: CPU1: found redistributor 1 region 0:0x00000000d1d60000
[    0.059061] CPU1: Booted secondary processor [410fd034]
[    0.059157] smp: Brought up 1 node, 2 CPUs
[    0.079864] SMP: Total of 2 processors activated.
[    0.084710] CPU features: detected: GIC system register CPU interface
[    0.091332] CPU features: detected: 32-bit EL0 Support
[    0.096631] CPU: All CPU(s) started at EL2
[    0.100843] alternatives: patching kernel code
[    0.106176] devtmpfs: initialized
[    0.111561] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.121663] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.128016] xor: measuring software checksum speed
[    0.232920]    8regs     :  1918.800 MB/sec
[    0.332956]    8regs_prefetch:  1710.400 MB/sec
[    0.432994]    32regs    :  2358.400 MB/sec
[    0.533029]    32regs_prefetch:  1984.400 MB/sec
[    0.537697] xor: using function: 32regs (2358.400 MB/sec)
[    0.543264] pinctrl core: initialized pinctrl subsystem
[    0.549376] NET: Registered protocol family 16
[    0.555053] cpuidle: using governor ladder
[    0.559342] vdso: 2 pages (1 code @ ffffff80087a5000, 1 data @ ffffff80089d4000)
[    0.566911] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.574152] DMA: preallocated 256 KiB pool for atomic allocations
[    0.581661] d0012000.serial: ttyMV0 at MMIO 0xd0012000 (irq = 9, base_baud = 0) is a mvebu-uart
[    0.590604] console [ttyMV0] enabled
[    0.597908] bootconsole [ar3700_uart0] disabled
[    0.787492] raid6: int64x1  gen()   320 MB/s
[    0.957521] raid6: int64x1  xor()   317 MB/s
[    1.127580] raid6: int64x2  gen()   519 MB/s
[    1.297674] raid6: int64x2  xor()   449 MB/s
[    1.467722] raid6: int64x4  gen()   782 MB/s
[    1.637778] raid6: int64x4  xor()   550 MB/s
[    1.807907] raid6: int64x8  gen()   939 MB/s
[    1.977935] raid6: int64x8  xor()   561 MB/s
[    2.148029] raid6: neonx1   gen()   594 MB/s
[    2.318102] raid6: neonx1   xor()   624 MB/s
[    2.488213] raid6: neonx2   gen()   985 MB/s
[    2.658239] raid6: neonx2   xor()   943 MB/s
[    2.828329] raid6: neonx4   gen()  1313 MB/s
[    2.998393] raid6: neonx4   xor()  1166 MB/s
[    3.168500] raid6: neonx8   gen()  1297 MB/s
[    3.338548] raid6: neonx8   xor()  1131 MB/s
[    3.342690] raid6: using algorithm neonx4 gen() 1313 MB/s
[    3.348085] raid6: .... xor() 1166 MB/s, rmw enabled
[    3.353664] raid6: using neon recovery algorithm
[    3.359178] SCSI subsystem initialized
[    3.363823] libata version 3.00 loaded.
[    3.364044] usbcore: registered new interface driver usbfs
[    3.369415] usbcore: registered new interface driver hub
[    3.375168] usbcore: registered new device driver usb
[    3.380677] pxa2xx-i2c d0011000.i2c: could not find pctldev for node /soc/internal-regs@d0000000/pinctrl@13800/i2c1-pins, deferring probe
[    3.394290] clocksource: Switched to clocksource arch_sys_counter
[    3.408677] NET: Registered protocol family 2
[    3.413596] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    3.420711] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    3.427602] TCP: Hash tables configured (established 8192 bind 8192)
[    3.434418] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.440564] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.447322] NET: Registered protocol family 1
[    3.451404] PCI: CLS 0 bytes, default 128
[    3.452034] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    3.464157] Crashlog allocated RAM at address 0x3f00000
[    3.469575] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    3.480354] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.486162] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    3.498648] io scheduler noop registered
[    3.502712] io scheduler deadline registered (default)
[    3.511997] mv_xor d0060900.xor: Marvell shared XOR driver
[    3.574884] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.644871] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.652988] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    3.661600] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.671124] loop: module loaded
[    3.680128] random: fast init done
[    3.688524] m25p80 spi0.0: w25q64dw (8192 Kbytes)
[    3.693184] 5 fixed-partitions partitions found on MTD device spi0.0
[    3.699973] Creating 5 MTD partitions on "spi0.0":
[    3.704851] 0x000000000000-0x000000020000 : "secure-firmware"
[    3.711311] 0x000000020000-0x000000180000 : "u-boot"
[    3.717056] 0x000000180000-0x000000190000 : "u-boot-env"
[    3.722853] 0x000000190000-0x0000007f0000 : "Rescue system"
[    3.729093] 0x0000007f0000-0x000000800000 : "dtb"
[    3.734861] moxtet spi0.1: Found SD Turris Mox CPU module
[    3.741057] libphy: Fixed MDIO Bus: probed
[    3.745806] libphy: orion_mdio_bus: probed
[    3.751994] mvneta d0030000.ethernet eth0: Using device tree mac address d8:58:d7:00:b5:a4
[    3.760825] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.767251] ehci-pci: EHCI PCI platform driver
[    3.772135] ehci-platform: EHCI generic platform driver
[    3.777520] ehci-orion: EHCI orion driver
[    3.781689] orion-ehci d005e000.usb: EHCI Host Controller
[    3.787331] orion-ehci d005e000.usb: new USB bus registered, assigned bus number 1
[    3.795093] orion-ehci d005e000.usb: irq 12, io mem 0xd005e000
[    3.824284] orion-ehci d005e000.usb: USB 2.0 started, EHCI 1.00
[    3.830944] hub 1-0:1.0: USB hub found
[    3.834512] hub 1-0:1.0: 1 port detected
[    3.839767] usbcore: registered new interface driver usb-storage
[    3.846180] i2c /dev entries driver
[    3.850410] armada_37xx_wdt d0008300.watchdog: Initial timeout 120 sec
[    3.857791] sdhci: Secure Digital Host Controller Interface driver
[    3.863740] sdhci: Copyright(c) Pierre Ossman
[    3.868375] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.874614] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    3.880477] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    3.887091] NET: Registered protocol family 10
[    3.892449] Segment Routing with IPv6
[    3.896239] NET: Registered protocol family 17
[    3.900775] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.914352] 8021q: 802.1Q VLAN Support v1.8
[    3.920371] Btrfs loaded, crc32c=crc32c-arm64-ce
[    3.929380] rtc-ds1307 0-006f: registered as rtc0
[    3.934345] i2c i2c-0:  PXA I2C adapter
[    3.938748] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.943903] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 2
[    3.951506] xhci-hcd d0058000.usb: hcc params 0x0a000998 hci version 0x100 quirks 0x0000000000010010
[    3.961117] xhci-hcd d0058000.usb: irq 11, io mem 0xd0058000
[    3.967395] hub 2-0:1.0: USB hub found
[    3.971303] hub 2-0:1.0: 1 port detected
[    3.975154] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.980402] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 3
[    3.988445] xhci-hcd d0058000.usb: Host supports USB 3.0  SuperSpeed
[    3.994835] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.003719] hub 3-0:1.0: USB hub found
[    4.007383] hub 3-0:1.0: 1 port detected
[    4.011968] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    4.074286] mmc0: SDHCI controller on d00d0000.sdhci [d00d0000.sdhci] using ADMA
[    4.082290] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    4.127529] sdio_read_cccr card report SDIO_UHS_DDR50
[    4.132580] sdio_read_cccr card report SDIO_UHS_SDR50
[    4.137810] sdio_read_cccr card report SDIO_UHS_SDR104
[    4.144487] mmc1: SDHCI controller on d00d8000.sdhci [d00d8000.sdhci] using ADMA
[    4.153224] armada-37xx-rwtm-mailbox d00b0000.mailbox: Trust Status: 00000000
[    4.283267] Turris Mox serial number 0000000D30000DD0
[    4.288415]            board version 22
[    4.291998]            burned RAM size 1024 MiB
[    4.543282] random: crng init done
[    4.546375] rtc-ds1307 0-006f: setting system clock to 2020-06-07 15:32:53 UTC (1591543973)
[    4.725971] Waiting for root device PARTUUID=00000000-01...
[    4.916599] xenon-sdhci d00d0000.sdhci: Timing issue might occur in DDR mode
[    4.928418] mmc1: new high speed SDHC card at address aaaa
[    4.933226] mmc0: new ultra high speed DDR50 SDIO card at address 0001
[    4.935966] mmcblk1: mmc1:aaaa SA16G 14.8 GiB 
[    4.948087]  mmcblk1: p1
[    4.971539] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    4.979023] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 1th superblock
[    4.988187] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    4.995564] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 2th superblock
[    5.003633] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    5.011161] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 1th superblock
[    5.018840] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    5.026592] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 2th superblock
[    5.035880] BTRFS: device fsid 9b0f8e45-4b59-41b5-8279-afdee5fbc971 devid 1 transid 242 /dev/root
[    5.047875] BTRFS info (device mmcblk1p1): disk space caching is enabled
[    5.054881] BTRFS info (device mmcblk1p1): has skinny extents
[    5.081198] BTRFS info (device mmcblk1p1): enabling ssd optimizations
[    5.098446] VFS: Mounted root (btrfs filesystem) on device 0:12.
[    5.106674] devtmpfs: mounted
[    5.109879] Freeing unused kernel memory: 320K
[    5.250522] init: Console is alive
[    5.253938] init: - watchdog -
[    5.909059] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.933788] usbcore: registered new interface driver uas
[    5.939743] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.950652] init: - preinit -
[    6.414901] mvneta d0030000.ethernet eth0: PHY [d0032004.mdio-mii:01] driver [Marvell 88E1510]
[    6.424188] mvneta d0030000.ethernet eth0: configuring for phy/rgmii-id link mode
[    6.435079] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.578376] mount_root: mounting /dev/root
[    9.584752] BTRFS info (device mmcblk1p1): disk space caching is enabled
[    9.720394] F2FS-fs (mtdblock1): Magic Mismatch, valid(0xf2f52010) - read(0x910003fd)
[    9.728801] F2FS-fs (mtdblock1): Can't find valid F2FS filesystem in 1th superblock
[   10.101239] procd: - early -
[   10.104021] procd: - watchdog -
[   10.757406] procd: - watchdog -
[   10.761063] procd: - ubus -
[   10.815157] procd: - init -
[   10.978519] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.995892] zram: Added device: zram0
[   11.021037] tun: Universal TUN/TAP device driver, 1.6
[   11.035454] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   11.046602] gre: GRE over IPv4 demultiplexor driver
[   11.053051] ip_gre: GRE over IPv4 tunneling driver
[   11.066024] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.077113] Netfilter messages via NETLINK v0.30.
[   11.083821] ip_set: protocol 6
[   11.112346] Loading modules backported from Linux version v4.19.120-0-gfdc072324f3c
[   11.120302] Backport generated by backports.git v4.19.120-1-0-g60c3a249
[   11.160366] hidraw: raw HID events driver (C) Jiri Kosina
[   11.169146] Mirror/redirect action on
[   11.181720] u32 classifier
[   11.184601]     input device check on
[   11.188046]     Actions configured
[   11.198480] sch_cake: Unknown symbol nf_conntrack_find_get (err 0)
[   11.205082] sch_cake: Unknown symbol nf_ct_get_tuplepr (err 0)
[   11.272074] Bluetooth: Core ver 2.22
[   11.276048] NET: Registered protocol family 31
[   11.280695] Bluetooth: HCI device and connection manager initialized
[   11.287290] Bluetooth: HCI socket layer initialized
[   11.292395] Bluetooth: L2CAP socket layer initialized
[   11.297660] Bluetooth: SCO socket layer initialized
[   11.304957] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   11.310202] Bluetooth: BNEP filters: protocol multicast
[   11.315886] Bluetooth: BNEP socket layer initialized
[   11.321972] Bridge firewalling registered
[   11.331429] Bluetooth: vendor=0x2df, device=0x9142, class=255, fn=2
[   12.965175] Bluetooth: FW download over, size 623240 bytes
[   13.204485] sdio platform data not available
[   13.208788] usbcore: registered new interface driver btusb
[   13.221661] usbcore: registered new interface driver cdc_wdm
[   13.238443] Ebtables v2.0 registered
[   13.243806] Bluetooth: HCI UART driver ver 2.3
[   13.248503] Bluetooth: HCI UART protocol H4 registered
[   13.253836] Bluetooth: HCI UART protocol BCSP registered
[   13.259388] Bluetooth: HCI UART protocol ATH3K registered
[   13.266814] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   13.272982] Bluetooth: HIDP socket layer initialized
[   13.280560] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.315058] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   13.355610] ctnetlink v0.93: registering with nfnetlink.
[   13.416895] Bluetooth: RFCOMM TTY layer initialized
[   13.421892] Bluetooth: RFCOMM socket layer initialized
[   13.427118] Bluetooth: RFCOMM ver 1.11
[   13.434691] mwifiex_sdio mmc0:0001:1: WLAN is not the winner! Skip FW dnld
[   13.436288] usbcore: registered new interface driver ums-alauda
[   13.449272] usbcore: registered new interface driver ums-cypress
[   13.456718] usbcore: registered new interface driver ums-datafab
[   13.463631] usbcore: registered new interface driver ums-freecom
[   13.471036] usbcore: registered new interface driver ums-isd200
[   13.478600] usbcore: registered new interface driver ums-jumpshot
[   13.485937] usbcore: registered new interface driver ums-karma
[   13.493094] usbcore: registered new interface driver ums-sddr09
[   13.500507] usbcore: registered new interface driver ums-sddr55
[   13.508109] usbcore: registered new interface driver ums-usbat
[   13.515419] usbcore: registered new interface driver usblp
[   13.532657] usbcore: registered new interface driver usbserial
[   13.538741] usbcore: registered new interface driver usbserial_generic
[   13.545700] usbserial: USB Serial support registered for generic
[   13.592130] xt_time: kernel timezone is -0000
[   13.605205] usbcore: registered new interface driver cdc_ether
[   13.632718] PPP generic driver version 2.4.2
[   13.639043] PPP MPPE Compression module registered
[   13.645681] NET: Registered protocol family 24
[   13.651904] usbcore: registered new interface driver qmi_wwan
[   13.660718] usbcore: registered new interface driver rndis_host
[   13.687589] usbcore: registered new interface driver option
[   13.693475] usbserial: USB Serial support registered for GSM modem (1-port)
[   13.705559] usbcore: registered new interface driver qcserial
[   13.711374] usbserial: USB Serial support registered for Qualcomm USB modem
[   13.720849] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.804456] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[   13.851945] mwifiex_sdio mmc0:0001:1: Unknown api_id: 3
[   13.857267] mwifiex_sdio mmc0:0001:1: Unknown api_id: 4
[   13.862600] mwifiex_sdio mmc0:0001:1: Unknown GET_HW_SPEC TLV type: 0x217
[   13.892513] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p197) 
[   13.900755] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (16.68.1.p197) 
[   14.366744] zram0: detected capacity change from 0 to 522190848
[   14.379270] Adding 509948k swap on /dev/zram0.  Priority:-2 extents:1 across:509948k SS
[   17.584853] mvneta d0030000.ethernet eth0: PHY [d0032004.mdio-mii:01] driver [Marvell 88E1510]
[   17.597358] mvneta d0030000.ethernet eth0: configuring for phy/rgmii-id link mode
[   17.607325] br-lan: port 1(eth0) entered blocking state
[   17.612400] br-lan: port 1(eth0) entered disabled state
[   17.618375] device eth0 entered promiscuous mode
[   17.626152] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   20.855255] mvneta d0030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.863624] br-lan: port 1(eth0) entered blocking state
[   20.869120] br-lan: port 1(eth0) entered forwarding state
[   20.914412] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

Thanks for test. My MOX in same configuration sometime hangs. SDIO card was always successfully detected?

@viktor, sorry I did not check the sdio card.

Yes, it is still present. That’s why it is included in the known bugs after OP in the thread for Turris OS 5.0. We are still working on it and we will say it loudly and clear once there is any progress, deal?

Sorry, didn’t check that (list of known bugs: Turris OS 5.0 is released! - #2 by Pepe - Community office - Turris forum). I hope my post was not perceived as nagging or as a complaint, because it was definitively not meant that way.

It’s very good to hear you are actively working on that issue. Thank you!

Can we be of support, for instance by providing log files or testing combinations of hardware?

2 Likes

This experimental firmware should solve the Reboot Hang issue on Turris MOX. Please let us know if this helps.

4 Likes

Yaaay, about 20 reboots without a hang! Thank you

2 Likes

Great to hear. When can we expect it to be moved to stable? Will it auto-update then?

I guess auto update depends on https://gitlab.nic.cz/turris/turris-os-packages/-/merge_requests/565 , which is currently scheduled for 5.1.5 (however, it has been rescheduled several times already).

Firmware is experimental.

It is important to us gather feedback first to see if it works for you. This helps us to have some statistics about the impact. If the impact is a positive one - how big it is and the same applies to negative impact. Once we have it, we can push it forward.