Jump to content

Cubietruck SD-card or power supply or whatever - need some troubleshooting advice


AlbertB

Recommended Posts

Hi everybody,

I am looking for some advice and help for troubleshooting.

Here is the current situation regarding my cubietruck:

I have installed Armbian Stretch (mainline kernel 4.14.y or 4.17.y) from here https://www.armbian.com/cubietruck/ on a SD-card using etcher on Ubuntu. If I power up the cubietruck 3 out of 5 times it won't boot. If it starts I can just fine ssh into the system and everything seems to be o.k. But after some time if I start to do something e.g. apt-get update / apt-get upgrade the system will freeze at some point. If i let the cubietruck on it's own it'll run for several hours without freezing. So the problem seems to be related either to CPU usage or SD-card i/o.

As the most similar issues seem to be related either to power supply or SD-card I have already tested some things:

  • I tried different ac/dc connectors. One 5V 2000mA and the other 5V-5.25V 3000mA -> same behaviour.
  • I tried 3 different SD-cards. One made by Kingston (8GB) and two made by Samsung (16GB) -> The Kingston card works better than the Samsung cards. I would say Kingstob boots about 40% of the time. Samsung cards seem to boot only about 20% of the time. All of them seem to work flawlessly with a Raspi 2 (with Raspbian installed).
  • I tried to check /var/log/messages after freezing by removing the SD-cart form my cubietruck and review the filesystem on my PC. But there is no messages file. This might be due to the way Armbian mounts /var/log to some kind of RAM disk so no hints from there.

Where to go form here? Test a third kind of SD-cards? Try a different operating system? Are there any debug tools in Armbian that could give me a hint?

 

Best regards,
Albert

Link to comment
Share on other sites

Hi Albert,

 

Welcome to armbian.

It is nice to see, that you read about 'how to burn the SDcard' and are also aware of power & SDcard issues.

Reading your comment, once you put load on your SoC = it draws power, your board freezes.

Do you own, or can you borrow a Voltmeter or Multimeter to measure the voltage directly on the board and see if it drops once you start apt-get update?

 

Cheers

Tido

 

PS: here are many more stories about power problems: https://forum.armbian.com/forum/31-sd-card-and-power-supply/

Edited by Tido
added link
Link to comment
Share on other sites

Hi,

 

I own a multimeter and I could try to do it. Can you show me where to measure? Google hasn't been too helpfull for me.

 

In the "How to provide and interpret Debug output" thread I red that armbianmonitor might be able to give DC values somehow. See:

Maybe I could open two ssh sessions and run armbianmonitor with some kind of voltage option in a loop in one session and start apt-get in the other session.

 

Regards,

Albert

Link to comment
Share on other sites

This is easy, you go on the website of Cubietruck, search the PIN-header for your device and there you find 'ground' and '5v+'  on these you attach your Multimeter.

Sei einfach vorsichtig, damit du keinen Kurzschluss machst.

 

Link to comment
Share on other sites

5 hours ago, AlbertB said:

Maybe I could open two ssh sessions and run armbianmonitor with some kind of voltage option

 

No need for an "option" since A20/AXP209 boards like CT are detected automatically. Simply run

armbianmonitor -m

or even better

armbianmonitor -u

(since this contains also voltage information for exactly this reason). Thousand of answers here in this forum are wasted just because users are not encouraged to always provide 'armbianmonitor -u' output first. Not even moderators follow this simple rule :( 

Link to comment
Share on other sites

Here is the output of armbianmonitor -m during apt-get upgrade until it freezes:

 

Time        CPU    load %cpu %sys %usr %nice %io %irq   CPU   PMIC   DC-IN  C.St.
19:23:37:  960MHz  0.86   7%   7%   0%   0%   0%   0% 40.1°C 37.3°C   5.25V  0/6
19:23:43:  960MHz  0.95  58%  10%   5%   0%  42%   0% 40.1°C 37.6°C   5.24V  0/6
19:23:49:  960MHz  1.04  56%   7%  28%   0%  19%   0% 40.2°C 38.4°C   5.23V  0/6
19:23:55:  960MHz  1.02  16%   8%   7%   0%   0%   0% 40.6°C 37.5°C   5.23V  0/6
19:24:00:  960MHz  1.02  56%  17%  31%   0%   0%   6% 41.9°C 39.1°C   5.21V  0/6
19:24:06:  960MHz  1.02  58%  18%  33%   0%   0%   5% 42.0°C 39.1°C   5.22V  0/6
19:24:12:  960MHz  1.02  54%  16%  31%   0%   0%   5% 41.7°C 38.9°C   5.23V  0/6
19:24:18:  960MHz  1.02  46%  19%  21%   0%   1%   3% 41.6°C 39.2°C   5.22V  0/6
19:24:23:  960MHz  0.93  43%  19%  19%   0%   0%   3% 41.5°C 39.1°C   5.23V  0/6
19:24:29:  960MHz  1.02  42%  20%  18%   0%   0%   3% 41.7°C 39.0°C   5.21V  0/6
19:24:35:  960MHz  1.02  49%  13%  14%   0%  19%   1% 41.0°C 38.1°C   5.23V  0/6
19:24:40:  960MHz  1.02  51%   6%   0%   0%  43%   0% 41.0°C 38.1°C   5.25V  0/6
19:24:46:  960MHz  1.01  55%  10%  30%   0%  13%   0% 41.9°C 39.3°C   5.21V  0/6
19:24:52:  960MHz  1.01  62%  40%  21%   0%   0%   0% 42.5°C 38.8°C   5.26V  0/6
19:24:58:  960MHz  1.17  55%  11%   6%   0%  37%   0% 41.3°C 38.4°C   5.24V  0/6
Time        CPU    load %cpu %sys %usr %nice %io %irq   CPU   PMIC   DC-IN  C.St.
19:25:03:  960MHz  1.16  56%  13%   4%   0%  38%   0% 40.9°C 38.4°C   5.24V  0/6
19:25:09:  960MHz  1.14  61%  16%   9%   0%  35%   0% 41.2°C 38.4°C   5.24V  0/6
19:25:15:  960MHz  1.27  62%  20%   6%   0%  35%   0% 42.0°C 38.5°C   5.24V  0/6
19:25:21:  960MHz  1.33  57%  14%   2%   0%  39%   0% 41.3°C 38.7°C   5.24V  0/6
19:25:26:  960MHz  1.30  58%  15%   2%   0%  39%   0% 41.2°C 38.3°C   5.25V  0/6
19:25:32:  960MHz  1.28  59%  14%   3%   0%  40%   0% 41.3°C 38.3°C   5.26V  0/6

Well, there is no drop of DC-IN and temperature isn't raising either. How reliable are these values?

By the way this is where apt-get upgrade stopped:

Unpacking libgomp1:armhf (6.3.0-18+deb9u1) over (6.3.0-18) ...
Preparing to unpack .../gcc-6-base_6.3.0-18+deb9u1_armhf.deb ...
Unpacking gcc-6-base:armhf (6.3.0-18+deb9u1) over (6.3.0-18) ...
Setting up gcc-6-base:armhf (6.3.0-18+deb9u1) ...
(Reading database ... 32833 files and directories currently installed.)
Preparing to unpack .../libgcc1_1%3a6.3.0-18+deb9u1_armhf.deb ...
Unpacking libgcc1:armhf (1:6.3.0-18+deb9u1) over (1:6.3.0-18) ...
Setting up libgcc1:armhf (1:6.3.0-18+deb9u1) ...
(Reading database ... 32833 files and directories currently installed.)
Preparing to unpack .../0-libcc1-0_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libcc1-0:armhf (6.3.0-18+deb9u1) over (6.3.0-18) ...
Preparing to unpack .../1-libatomic1_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libatomic1:armhf (6.3.0-18+deb9u1) over (6.3.0-18) ...
Preparing to unpack .../2-libasan3_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libasan3:armhf (6.3.0-18+deb9u1) over (6.3.0-18) ...
Preparing to unpack .../3-libubsan0_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libubsan0:armhf (6.3.0-18+deb9u1) over (6.3.0-18) ...
Preparing to unpack .../4-g++-6_6.3.0-18+deb9u1_armhf.deb ...
Unpacking g++-6 (6.3.0-18+deb9u1) over (6.3.0-18) ...

Amendment: here is the output of armbianmonitor -u http://ix.io/1lnl

 

Edited by AlbertB
Amendment
Link to comment
Share on other sites

33 minutes ago, tkaiser said:

Not even moderators follow this simple rule

WTF should I, more often than not is the reporting of onsite values WRONG !!!  written by TK himself more often than not.

So you take a Multimeter and find it out yourself.

Link to comment
Share on other sites

27 minutes ago, AlbertB said:

here is the output of armbianmonitor -u http://ix.io/1lnl

 

Thank you. Voltage/temps look ok but there is a kernel oops reported. Next try: please run in one shell now

dmesg -w

and in another

armbianmonitor -v

(package integrity check which indicates problems with corrupted filesystems or SD cards)

Link to comment
Share on other sites

Thank you for the help. Here we go:

Spoiler

root@cubietruck:~# dmesg -w
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.14-sunxi (root@xeon) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP Thu Jan 25 12:20:57 CET 2018
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=50c5387d
[    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: Cubietech Cubietruck
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0xb7c00000
[    0.000000] On node 0 totalpages: 523520
[    0.000000] free_area_init_node: node 0, pgdat c0dd8b00, node_mem_map eedfa000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 326912 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 17 pages/cpu @eedb7000 s39884 r8192 d21556 u69632
[    0.000000] pcpu-alloc: s39884 r8192 d21556 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 521792
[    0.000000] Kernel command line: root=UUID=d0a4b656-3daa-4b30-acd2-986bf311e832 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=da9ebe37-01 ubootsource=mmc usb-storage.quirks=   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 2098176 bytes of page_ext
[    0.000000] Memory: 1922352K/2094080K available (8192K kernel code, 945K rwdata, 2340K rodata, 1024K init, 346K bss, 40656K reserved, 131072K cma-reserved, 1176576K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf800000 - 0xbfe00000   (   6 MB)
                     .text : 0xc0008000 - 0xc0900000   (9184 kB)
                     .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
                     .data : 0xc0d00000 - 0xc0dec59c   ( 946 kB)
                      .bss : 0xc0df5e00 - 0xc0e4c61c   ( 347 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 36979 entries in 73 pages
[    0.000000] Hierarchical RCU implementation.
[    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: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000015] Switching to timer-based delay loop, resolution 41ns
[    0.000542] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000779] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.001011] Console: colour dummy device 80x30
[    0.001027] console [tty1] enabled
[    0.001064] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001075] pid_max: default: 32768 minimum: 301
[    0.001290] Security Framework initialized
[    0.001302] AppArmor: AppArmor disabled by boot time parameter
[    0.001373] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001386] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002243] CPU: Testing write buffer coherency: ok
[    0.002642] /cpus/cpu@0 missing clock-frequency property
[    0.002657] /cpus/cpu@1 missing clock-frequency property
[    0.002670] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003070] Setting up static identity map for 0x40100000 - 0x40100054
[    0.003207] Hierarchical SRCU implementation.
[    0.004083] smp: Bringing up secondary CPUs ...
[    0.014824] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.014966] smp: Brought up 1 node, 2 CPUs
[    0.014975] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.014980] CPU: All CPU(s) started in HYP mode.
[    0.014983] CPU: Virtualization extensions available.
[    0.016254] devtmpfs: initialized
[    0.026247] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.026540] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.026561] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.031733] xor: measuring software checksum speed
[    0.124782]    arm4regs  :  1135.600 MB/sec
[    0.224836]    8regs     :   676.400 MB/sec
[    0.324902]    32regs    :   692.800 MB/sec
[    0.424961]    neon      :  1150.800 MB/sec
[    0.424966] xor: using function: neon (1150.800 MB/sec)
[    0.425096] pinctrl core: initialized pinctrl subsystem
[    0.426130] NET: Registered protocol family 16
[    0.429607] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.430723] cpuidle: using governor ladder
[    0.430763] cpuidle: using governor menu
[    0.432008] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.432014] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.615408] raid6: int32x1  gen()   171 MB/s
[    0.785607] raid6: int32x1  xor()   145 MB/s
[    0.955726] raid6: int32x2  gen()   231 MB/s
[    1.125773] raid6: int32x2  xor()   175 MB/s
[    1.295952] raid6: int32x4  gen()   233 MB/s
[    1.466023] raid6: int32x4  xor()   174 MB/s
[    1.636347] raid6: int32x8  gen()   223 MB/s
[    1.806336] raid6: int32x8  xor()   155 MB/s
[    1.976392] raid6: neonx1   gen()   447 MB/s
[    2.146559] raid6: neonx1   xor()   416 MB/s
[    2.316746] raid6: neonx2   gen()   600 MB/s
[    2.486854] raid6: neonx2   xor()   537 MB/s
[    2.656979] raid6: neonx4   gen()   721 MB/s
[    2.827117] raid6: neonx4   xor()   606 MB/s
[    2.997349] raid6: neonx8   gen()   650 MB/s
[    3.167440] raid6: neonx8   xor()   548 MB/s
[    3.167445] raid6: using algorithm neonx4 gen() 721 MB/s
[    3.167448] raid6: .... xor() 606 MB/s, rmw enabled
[    3.167452] raid6: using neon recovery algorithm
[    3.167889] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@1, deferring probe
[    3.167939] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    3.169205] SCSI subsystem initialized
[    3.169522] libata version 3.00 loaded.
[    3.169751] usbcore: registered new interface driver usbfs
[    3.169794] usbcore: registered new interface driver hub
[    3.169853] usbcore: registered new device driver usb
[    3.170072] media: Linux media interface: v0.10
[    3.170103] Linux video capture interface: v2.00
[    3.170186] pps_core: LinuxPPS API ver. 1 registered
[    3.170190] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.170206] PTP clock support registered
[    3.171821] clocksource: Switched to clocksource arch_sys_counter
[    3.278313] VFS: Disk quotas dquot_6.6.0
[    3.278413] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.279299] simple-framebuffer bfd00000.framebuffer: framebuffer at 0xbfd00000, 0x300000 bytes, mapped to 0xf0b00000
[    3.279312] simple-framebuffer bfd00000.framebuffer: format=x8r8g8b8, mode=1024x768x32, linelength=4096
[    3.295753] Console: switching to colour frame buffer device 128x48
[    3.297507] simple-framebuffer bfd00000.framebuffer: fb0: simplefb registered!
[    3.305511] NET: Registered protocol family 2
[    3.306198] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.306293] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.306417] TCP: Hash tables configured (established 8192 bind 8192)
[    3.306532] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.306594] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.306842] NET: Registered protocol family 1
[    3.307429] RPC: Registered named UNIX socket transport module.
[    3.307436] RPC: Registered udp transport module.
[    3.307439] RPC: Registered tcp transport module.
[    3.307442] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.307727] Trying to unpack rootfs image as initramfs...
[    3.656935] Freeing initrd memory: 4952K
[    3.657694] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    3.658026] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    3.659115] audit: initializing netlink subsys (disabled)
[    3.659405] audit: type=2000 audit(3.640:1): state=initialized audit_enabled=0 res=1
[    3.659766] Initialise system trusted keyrings
[    3.659989] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    3.665351] zbud: loaded
[    3.667855] NFS: Registering the id_resolver key type
[    3.667889] Key type id_resolver registered
[    3.667893] Key type id_legacy registered
[    3.667905] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.667910] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.669063] JFS: nTxBlock = 8192, nTxLock = 65536
[    3.680163] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    3.687917] Key type asymmetric registered
[    3.687994] bounce: pool size: 64 pages
[    3.688087] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.688254] io scheduler noop registered
[    3.688260] io scheduler deadline registered
[    3.688567] io scheduler cfq registered (default)
[    3.688572] io scheduler mq-deadline registered
[    3.688576] io scheduler kyber registered
[    3.688726] io scheduler bfq registered
[    3.689714] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    3.693234] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    3.748210] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    3.751589] console [ttyS0] disabled
[    3.771782] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 46, base_baud = 1500000) is a U6_16550A
[    3.771857] console [ttyS0] enabled
[    3.793308] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    3.797537] brd: module loaded
[    3.803968] loop: module loaded
[    3.806135] libphy: Fixed MDIO Bus: probed
[    3.806772] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    3.806784] sun7i-dwmac 1c50000.ethernet: no reset control found
[    3.806821] sun7i-dwmac 1c50000.ethernet: no regulator found
[    3.806874] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[    3.806882] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported
[    3.806888] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[    3.825506] libphy: stmmac: probed
[    3.825526] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    3.825534] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    3.826749] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.826758] ehci-platform: EHCI generic platform driver
[    3.827210] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.827247] ohci-platform: OHCI generic platform driver
[    3.827659] usbcore: registered new interface driver usb-storage
[    3.828393] mousedev: PS/2 mouse device common for all mice
[    3.829255] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    3.829264] sunxi-rtc 1c20d00.rtc: RTC enabled
[    3.829405] i2c /dev entries driver
[    3.830352] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[    3.838423] axp20x-gpio axp20x-gpio: AXP209 GPIO driver loaded
[    3.846661] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[    3.847617] ldo1: supplied by regulator-dummy
[    3.847918] ldo2: supplied by regulator-dummy
[    3.848961] ldo3: supplied by regulator-dummy
[    3.849580] ldo4: supplied by regulator-dummy
[    3.849773] ldo5: supplied by regulator-dummy
[    3.850379] dcdc2: supplied by regulator-dummy
[    3.851016] dcdc3: supplied by regulator-dummy
[    3.855644] axp20x-i2c 0-0034: Backup (RTC) battery charging is disabled
[    3.855772] axp20x-i2c 0-0034: AXP20X driver loaded
[    3.860191] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    3.873374] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    3.933997] sunxi-mmc 1c0f000.mmc: base:0xf0ad3000 irq:27
[    3.941651] ledtrig-cpu: registered to indicate activity on CPUs
[    3.942004] hidraw: raw HID events driver (C) Jiri Kosina
[    3.942375] usbcore: registered new interface driver usbhid
[    3.942385] usbhid: USB HID core driver
[    3.946315] NET: Registered protocol family 10
[    3.981126] Segment Routing with IPv6
[    3.981255] NET: Registered protocol family 17
[    3.981498] Key type dns_resolver registered
[    3.982066] Registering SWP/SWPB emulation handler
[    3.982770] registered taskstats version 1
[    3.982775] Loading compiled-in X.509 certificates
[    3.982869] zswap: loaded using pool lzo/zbud
[    3.984778] Btrfs loaded, crc32c=crc32c-generic
[    3.993982] Key type encrypted registered
[    4.040133] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.044269] mmc0: new high speed SDHC card at address 0002
[    4.045990] mmcblk0: mmc0:0002 SD8GB 7.46 GiB 
[    4.048347]  mmcblk0: p1
[    4.101967] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    4.102029] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[    4.102072] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    4.102092] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc 
[    4.103725] scsi host0: ahci-sunxi
[    4.104089] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 33
[    4.156328] ehci-platform 1c14000.usb: EHCI Host Controller
[    4.156385] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    4.157101] ehci-platform 1c14000.usb: irq 30, io mem 0x01c14000
[    4.181979] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    4.182708] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.182733] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.182752] usb usb1: Product: EHCI Host Controller
[    4.182770] usb usb1: Manufacturer: Linux 4.14.14-sunxi ehci_hcd
[    4.182788] usb usb1: SerialNumber: 1c14000.usb
[    4.187188] hub 1-0:1.0: USB hub found
[    4.187308] hub 1-0:1.0: 1 port detected
[    4.189267] ehci-platform 1c1c000.usb: EHCI Host Controller
[    4.189366] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    4.190015] ehci-platform 1c1c000.usb: irq 34, io mem 0x01c1c000
[    4.211833] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    4.212156] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.212164] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.212171] usb usb2: Product: EHCI Host Controller
[    4.212178] usb usb2: Manufacturer: Linux 4.14.14-sunxi ehci_hcd
[    4.212184] usb usb2: SerialNumber: 1c1c000.usb
[    4.212808] hub 2-0:1.0: USB hub found
[    4.212856] hub 2-0:1.0: 1 port detected
[    4.213742] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    4.213778] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[    4.214055] ohci-platform 1c14400.usb: irq 31, io mem 0x01c14400
[    4.286577] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    4.286603] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.286623] usb usb3: Product: Generic Platform OHCI controller
[    4.286642] usb usb3: Manufacturer: Linux 4.14.14-sunxi ohci_hcd
[    4.286660] usb usb3: SerialNumber: 1c14400.usb
[    4.291054] hub 3-0:1.0: USB hub found
[    4.291172] hub 3-0:1.0: 1 port detected
[    4.293266] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    4.293339] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    4.293904] ohci-platform 1c1c400.usb: irq 35, io mem 0x01c1c400
[    4.366437] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    4.366461] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.366479] usb usb4: Product: Generic Platform OHCI controller
[    4.366497] usb usb4: Manufacturer: Linux 4.14.14-sunxi ohci_hcd
[    4.366514] usb usb4: SerialNumber: 1c1c400.usb
[    4.367935] hub 4-0:1.0: USB hub found
[    4.368072] hub 4-0:1.0: 1 port detected
[    4.370158] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    4.371215] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    4.371247] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 5
[    4.372075] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    4.372099] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.372116] usb usb5: Product: MUSB HDRC host driver
[    4.372134] usb usb5: Manufacturer: Linux 4.14.14-sunxi musb-hcd
[    4.372151] usb usb5: SerialNumber: musb-hdrc.1.auto
[    4.380653] hub 5-0:1.0: USB hub found
[    4.380718] hub 5-0:1.0: 1 port detected
[    4.393779] of_cfs_init
[    4.393887] of_cfs_init: OK
[    4.394079] vcc3v0: disabling
[    4.394086] vcc5v0: disabling
[    4.394107] usb0-vbus: disabling
[    4.434617] ata1: SATA link down (SStatus 0 SControl 300)
[    4.444545] Freeing unused kernel memory: 1024K
[    4.987083] sunxi-mmc 1c12000.mmc: allocated mmc-pwrseq
[    5.041968] sunxi-mmc 1c12000.mmc: base:0xf1339000 irq:28
[    5.062096] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    5.064160] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.066358] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.070214] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    5.092323] mmc1: new high speed SDIO card at address 0001
[    6.413042] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    7.143974] systemd[1]: System time before build time, advancing clock.
[    7.186046] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.237263] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    7.237859] systemd[1]: Detected architecture arm.
[    7.263111] systemd[1]: Set hostname to <cubietruck>.
[    7.899147] systemd[1]: Listening on udev Control Socket.
[    7.932716] systemd[1]: Listening on Journal Audit Socket.
[    7.963090] systemd[1]: Listening on Journal Socket.
[    7.994646] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    8.032966] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    8.062630] systemd[1]: Listening on Syslog Socket.
[    8.092652] systemd[1]: Listening on udev Kernel Socket.
[    8.641746] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    8.884711] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43362-sdio.bin for chip 0x00a962(43362) rev 0x000001
[    8.935909] Bluetooth: Core ver 2.22
[    8.936028] NET: Registered protocol family 31
[    8.936033] Bluetooth: HCI device and connection manager initialized
[    8.936058] Bluetooth: HCI socket layer initialized
[    8.936069] Bluetooth: L2CAP socket layer initialized
[    8.936102] Bluetooth: SCO socket layer initialized
[    8.952013] Bluetooth: RFCOMM TTY layer initialized
[    8.952053] Bluetooth: RFCOMM socket layer initialized
[    8.952120] Bluetooth: RFCOMM ver 1.11
[    8.958021] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    8.958050] Bluetooth: HIDP socket layer initialized
[    8.972234] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    9.193102] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[   10.692970] systemd-journald[347]: Received request to flush runtime journal from PID 1
[   11.417748] sun4i-ss 1c15000.crypto-engine: Die ID 0
[   11.686104] lirc_dev: IR Remote Control driver registered, major 244
[   11.695416] IR LIRC bridge handler initialized
[   11.696340] Registered IR keymap rc-empty
[   11.696525] rc rc0: sunxi-ir as /devices/platform/soc@01c00000/1c21800.ir/rc/rc0
[   11.696727] input: sunxi-ir as /devices/platform/soc@01c00000/1c21800.ir/rc/rc0/input1
[   11.707007] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0
[   11.707242] sunxi-ir 1c21800.ir: initialized sunXi IR driver
[   11.733300] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[   11.912091] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif mapping ok
[   13.222547] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[   13.233415] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[   13.233434] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[   13.233443] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[   13.233730] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.931487] random: crng init done
[   15.281972] thermal thermal_zone0: failed to read out thermal zone (-110)
[   15.404498] EXT4-fs (mmcblk0p1): resizing filesystem from 339968 to 1914692 blocks
[   16.248429] EXT4-fs (mmcblk0p1): resized filesystem to 1914692
[   16.422912] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.422960] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.631301] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   24.714608] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   27.041930] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred
[   27.041955] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
[   27.096679] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   52.582479] Adding 131068k swap on /var/swap.  Priority:-2 extents:1 across:131068k SSFS

 

The dmesg output didn't change while armbianmonitor -m was running.

root@cubietruck:~# armbianmonitor -m
Stop monitoring using [ctrl]-[c]
Time        CPU    load %cpu %sys %usr %nice %io %irq   CPU   PMIC   DC-IN  C.St.

20:58:37:  960MHz  0.16  16%   9%   6%   0%   1%   0% 36.5°C 32.5°C   5.24V  0/6^C

root@cubietruck:~# armbianmonitor -v
Starting package integrity check. This might take some time. Be patient please...

It appears you don't have any corrupt files or packages!

Does this tell you something?

Link to comment
Share on other sites

I am heavily stressing my Cubietruck

Welcome to ARMBIAN 5.59 user-built Debian GNU/Linux 9 (stretch) 4.18.5-sunxi 

for one hour now and it doesn't want to crash. http://ix.io/1lnN

Spoiler

21:19:17:  960MHz  0.50   9%   7%   0%   0%   0%   0% 48.1°C 39.2°C   4.65V  0/6
21:19:22:  960MHz  0.46   8%   7%   0%   0%   0%   0% 47.7°C 39.3°C   4.72V  0/6
21:19:28:  960MHz  0.42   9%   8%   0%   0%   0%   0% 48.0°C 39.2°C   4.63V  0/6
21:19:33:  960MHz  0.47   9%   8%   0%   0%   0%   0% 47.8°C 39.1°C   4.69V  0/6
21:19:39:  960MHz  0.43   8%   6%   0%   0%   0%   0% 47.7°C 39.3°C   4.72V  0/6
21:19:44:  528MHz  0.48  35%  14%  18%   0%   0%   1% 48.3°C 39.0°C   4.70V  0/6
21:19:50:  960MHz  0.48  49%  16%  30%   0%   0%   2% 49.3°C 39.9°C   4.70V  0/6
21:19:55:  960MHz  0.44  23%  17%   4%   0%   0%   1% 48.8°C 39.3°C   4.75V  0/6
21:20:01:  960MHz  0.40  10%   9%   0%   0%   0%   0% 48.1°C 39.5°C   4.58V  0/6
21:20:07:  960MHz  1.49 100%  45%  52%   0%   0%   1% 50.5°C 41.9°C   4.61V  0/6
21:20:12:  960MHz  2.49  76%  35%  38%   0%   0%   1% 49.6°C 40.5°C   4.69V  0/6
21:20:18:  960MHz  2.29   9%   8%   0%   0%   0%   0% 48.5°C 39.5°C   4.71V  0/6
21:20:23:  528MHz  2.11   9%   7%   0%   0%   0%   0% 48.5°C 39.7°C   4.69V  0/6
21:20:29:  960MHz  1.94   8%   7%   0%   0%   0%   0% 48.0°C 39.6°C   4.62V  0/6

 

 

Link to comment
Share on other sites

9 minutes ago, AlbertB said:

Does this tell you something?

 

Only that there's no filesystem corruption. Running out of ideas other than trying now memtester as next step.

 

Still there was a kernel oops before in armbianmonitor -u output so there's something wrong:

[   27.860507] Unable to handle kernel NULL pointer dereference at virtual address 00000052
[   27.869636] pgd = ecfc4000
[   27.869642] [00000052] *pgd=00000000
[   27.869663] Internal error: Oops: 5 [#1] SMP THUMB2
[   27.869668] Modules linked in: sun4i_gpadc_iio snd_soc_simple_card snd_soc_simple_card_utils snd_soc_spdif_tx evdev ir_lirc_codec lirc_dev sun4i_codec sun4i_spdif snd_soc_core sun4i_ts sunxi_cir snd_pcm_dmaengine snd_pcm pwm_sun4i nvmem_sunxi_sid sun4i_gpadc snd_timer snd soundcore sun4i_ss uio_pdrv_genirq uio bonding hidp rfcomm bluetooth ecdh_generic brcmfmac brcmutil cfg80211 rfkill ip_tables x_tables pwrseq_simple realtek
[   27.869753] CPU: 0 PID: 1054 Comm: (rc.local) Not tainted 4.14.14-sunxi #1
[   27.869756] Hardware name: Allwinner sun7i (A20) Family
[   27.869760] task: ec875100 task.stack: ec856000
[   27.869774] PC is at rwsem_optimistic_spin+0x94/0xd0
[   27.869786] LR is at rwsem_down_write_failed+0x4f/0x1dc
[   27.869790] pc : [<c0154398>]    lr : [<c0878bb7>]    psr: a00e0133
[   27.869793] sp : ec857ce8  ip : c9fa244c  fp : c9ef99a0
[   27.869796] r10: c0ddda12  r9 : c0d03f48  r8 : c0e264a0
[   27.869800] r7 : 00000001  r6 : ec857d04  r5 : ffff0001  r4 : ed00726c
[   27.869804] r3 : fffffffe  r2 : 00000000  r1 : 00000000  r0 : ed00726c
[   27.869810] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   27.869814] Control: 50c5387d  Table: 6cfc406a  DAC: 00000051
[   27.869818] Process (rc.local) (pid: 1054, stack limit = 0xec856210)
[   27.869823] Stack: (0xec857ce8 to 0xec858000)
[   27.869831] 7ce0:                   ed00726c ffff0001 ec857d04 c0878bb7 00000000 ee4d1f00
[   27.869840] 7d00: c9ef9fc0 00000001 ec857d04 ee4d1d00 ec801ba0 c0206685 ec82675c b8d7949c
[   27.869849] 7d20: 00000100 ed00726c ec801820 ed007268 ec826b7c c0e264a0 ec826b40 c0ddda12
[   27.869857] 7d40: c9ef99a0 c0878399 ec801640 c0206605 c0a6bf24 ed018474 ec875100 ec826b40
[   27.869866] 7d60: ec826060 b6904000 ec857db4 00002000 00000000 ecd498b4 00000001 c01fd345
[   27.869874] 7d80: b6904000 c01fe51d 00000000 ecf32b40 00000000 c0d03f48 c9fa7b00 ec864380
[   27.869882] 7da0: eccd1600 c0202bf7 00000000 00000000 00000000 ec864380 00000001 00000000
[   27.869891] 7dc0: 00000000 ffffffff c0df61dc c0117fc9 000003f3 00000400 ed86f000 00000700
[   27.869899] 7de0: 00000000 b8d7949c eccd1600 ec864380 ec864380 edbd4700 c9fa7b00 b8d7949c
[   27.869908] 7e00: ec864380 ec864380 edbd4700 c0117fd7 000003f0 0000021c ec864380 c022df6f
[   27.869917] 7e20: b8d7949c ecd49880 c0d03f48 c9fa7b00 6474e551 ec857e48 eccd1600 ecd498b4
[   27.869925] 7e40: 00000001 c026b021 00000000 ec857e40 00000001 c9efc2c0 c9f933c0 c9fa7e00
[   27.869933] 7e60: 00000080 c0d03f48 00000000 00000000 00000000 b8d7949c 00000002 00000080
[   27.869942] 7e80: 00000001 c9f93548 00000000 ed067350 00000080 c0a6ea28 00000034 00000000
[   27.869950] 7ea0: 00000000 00000000 ed067350 ffffe000 ec856000 b8d7949c 00000000 c0d2594c
[   27.869959] 7ec0: c9fa7b00 c0e28b74 fffffff8 c0d228f4 c0e28b74 c0a6ea28 00000002 c022e1d3
[   27.869967] 7ee0: b8d7949c c9fa7b00 c0d03f48 c0e28b74 fffffff8 c0d228f4 c0e28b74 c0a6ea28
[   27.869976] 7f00: 00000002 c0269e59 c9fa7b00 c9fa7b0a c9fa7b02 b8d7949c c0d25930 c0d25930
[   27.869985] 7f20: c9fa7b00 c022e1d3 c0d0d560 c0d03f48 ec875100 ed8fa000 ffffe000 01bfa718
[   27.869993] 7f40: c9fa7b00 00000000 0000041e c022eae5 0000041e edbd4700 edbd4738 00000000
[   27.870001] 7f60: 00000000 b8d7949c 00000000 00000000 01c0a380 01bfa718 0000000b c0106824
[   27.870010] 7f80: ec856000 00000000 be96d6d0 c022edc1 00000000 01b0377c 01b85268 01c423a0
[   27.870019] 7fa0: 00000000 c0106621 01b85268 01c423a0 01b182d8 01c0a380 01bfa718 01bf3200
[   27.870027] 7fc0: 01b85268 01c423a0 00000000 0000000b ffffffff 01c0a380 00000000 be96d6d0
[   27.870036] 7fe0: 0054998c be96d4e4 004a9333 b6bd7766 20010030 01b182d8 6fffd861 6fffdc61
[   27.870056] [<c0154398>] (rwsem_optimistic_spin) from [<c0878bb7>] (rwsem_down_write_failed+0x4f/0x1dc)
[   27.870070] [<c0878bb7>] (rwsem_down_write_failed) from [<c0878399>] (down_write+0x41/0x44)
[   27.870084] [<c0878399>] (down_write) from [<c0206605>] (unlink_anon_vmas+0x75/0x168)
[   27.870100] [<c0206605>] (unlink_anon_vmas) from [<c01fd345>] (free_pgtables+0x4d/0x80)
[   27.870111] [<c01fd345>] (free_pgtables) from [<c0202bf7>] (exit_mmap+0x8b/0xf0)
[   27.870123] [<c0202bf7>] (exit_mmap) from [<c0117fd7>] (mmput+0x43/0xcc)
[   27.870136] [<c0117fd7>] (mmput) from [<c022df6f>] (flush_old_exec+0x39f/0x574)
[   27.870150] [<c022df6f>] (flush_old_exec) from [<c026b021>] (load_elf_binary+0x1e5/0xe24)
[   27.870161] [<c026b021>] (load_elf_binary) from [<c022e1d3>] (search_binary_handler+0x8f/0x1b0)
[   27.870170] [<c022e1d3>] (search_binary_handler) from [<c0269e59>] (load_script+0x191/0x1a8)
[   27.870179] [<c0269e59>] (load_script) from [<c022e1d3>] (search_binary_handler+0x8f/0x1b0)
[   27.870190] [<c022e1d3>] (search_binary_handler) from [<c022eae5>] (do_execveat_common+0x451/0x580)
[   27.870200] [<c022eae5>] (do_execveat_common) from [<c022edc1>] (SyS_execve+0x25/0x28)
[   27.870212] [<c022edc1>] (SyS_execve) from [<c0106621>] (ret_fast_syscall+0x1/0x62)
[   27.870224] Code: e7d7 2500 4628 bd70 (6d5b) 3300 
[   27.870230] ---[ end trace 22ae546951149d94 ]---

 

Link to comment
Share on other sites

10 hours ago, Igor said:

I am heavily stressing my Cubietruck

Welcome to ARMBIAN 5.59 user-built Debian GNU/Linux 9 (stretch) 4.18.5-sunxi 

for one hour now and it doesn't want to crash. http://ix.io/1lnN

  Reveal hidden contents


21:19:17:  960MHz  0.50   9%   7%   0%   0%   0%   0% 48.1°C 39.2°C   4.65V  0/6
21:19:22:  960MHz  0.46   8%   7%   0%   0%   0%   0% 47.7°C 39.3°C   4.72V  0/6
21:19:28:  960MHz  0.42   9%   8%   0%   0%   0%   0% 48.0°C 39.2°C   4.63V  0/6
21:19:33:  960MHz  0.47   9%   8%   0%   0%   0%   0% 47.8°C 39.1°C   4.69V  0/6
21:19:39:  960MHz  0.43   8%   6%   0%   0%   0%   0% 47.7°C 39.3°C   4.72V  0/6
21:19:44:  528MHz  0.48  35%  14%  18%   0%   0%   1% 48.3°C 39.0°C   4.70V  0/6
21:19:50:  960MHz  0.48  49%  16%  30%   0%   0%   2% 49.3°C 39.9°C   4.70V  0/6
21:19:55:  960MHz  0.44  23%  17%   4%   0%   0%   1% 48.8°C 39.3°C   4.75V  0/6
21:20:01:  960MHz  0.40  10%   9%   0%   0%   0%   0% 48.1°C 39.5°C   4.58V  0/6
21:20:07:  960MHz  1.49 100%  45%  52%   0%   0%   1% 50.5°C 41.9°C   4.61V  0/6
21:20:12:  960MHz  2.49  76%  35%  38%   0%   0%   1% 49.6°C 40.5°C   4.69V  0/6
21:20:18:  960MHz  2.29   9%   8%   0%   0%   0%   0% 48.5°C 39.5°C   4.71V  0/6
21:20:23:  528MHz  2.11   9%   7%   0%   0%   0%   0% 48.5°C 39.7°C   4.69V  0/6
21:20:29:  960MHz  1.94   8%   7%   0%   0%   0%   0% 48.0°C 39.6°C   4.62V  0/6

 

 

 

Your DC-in value is always way below 5V. Therefore I would think that my issue isn't reladed to my ac/dc adaptor.

Link to comment
Share on other sites

11 minutes ago, AlbertB said:

Your DC-in value is always way below 5V. Therefore I would think that my issue isn't reladed to my ac/dc adaptor.


Yes. Some people reported problems with kernel 4.14.y Try modern 4.18.y kernel/u-boot (armbian-config->system-> alternative kernels -> DEV) combo before changing cables and PSU.

Link to comment
Share on other sites

3 hours ago, Igor said:


Yes. Some people reported problems with kernel 4.14.y Try modern 4.18.y kernel/u-boot (armbian-config->system-> alternative kernels -> DEV) combo before changing cables and PSU. 

O.k. how can I change this in a headless environment? As menitoned above I installed Stretch from here https://www.armbian.com/cubietruck/.

Link to comment
Share on other sites

I think my cubietruck is now on nightly. This is the welcome banner:

  ____      _     _      _                   _    
 / ___|   _| |__ (_) ___| |_ _ __ _   _  ___| | __
| |  | | | | '_ \| |/ _ \ __| '__| | | |/ __| |/ /
| |__| |_| | |_) | |  __/ |_| |  | |_| | (__|   < 
 \____\__,_|_.__/|_|\___|\__|_|   \__,_|\___|_|\_\
                                                  

Welcome to ARMBIAN 5.59.180828 nightly Debian GNU/Linux 9 (stretch) 4.14.67-sunxi   
System load:   0.32 0.35 0.19  	Up time:       7 min		Local users:   2            	
Memory usage:  3 % of 2011MB 	IP:            192.168.178.22
CPU temp:      41°C           	
Usage of /:    16% of 7.2G   	

[ 0 security updates available, 3 updates total: apt upgrade ]
Last check: 2018-08-28 21:31

Last login: Tue Aug 28 21:33:36 2018 from 192.168.178.57

However as soon as it gets heavy CPU and I/O it freezes or crashes after some seconds. I simulated load with this script:  https://gist.github.com/EvilFaeton/2886922

This is is the output of armbianmonitor -m shortly before it goes belly up:

21:39:23:  960MHz  0.37   9%   6%   1%   0%   0%   0% 40.8°C 38.6°C   5.23V  0/6
21:39:29:  960MHz  0.53   9%   8%   0%   0%   0%   0% 40.5°C 39.1°C   5.23V  0/6
21:39:34:  960MHz  0.49   7%   7%   0%   0%   0%   0% 41.0°C 38.7°C   5.23V  0/6
Time        CPU    load %cpu %sys %usr %nice %io %irq   CPU   PMIC   DC-IN  C.St.
21:39:40:  960MHz  0.77  76%  27%  48%   0%   0%   0% 43.1°C 41.6°C   5.17V  0/6
21:39:45:  960MHz  1.03 100%  35%  64%   0%   0%   0% 43.7°C 42.1°C   5.20V  0/6
21:39:51:  960MHz  1.27 100%  27%  72%   0%   0%   0% 43.7°C 42.3°C   5.18V  0/6
21:39:57:  960MHz  1.49 100%  33%  66%   0%   0%   0% 44.0°C 42.4°C   5.18V  0/6
21:40:02:  960MHz  1.69 100%  35%  64%   0%   0%   0% 44.2°C 42.7°C   5.18V  0/6

 

Link to comment
Share on other sites

11 hours ago, Igor said:

Now switch to DEV alternative kernel. It shpuld be 4.18.something

If I remember correctly I tried this yesterday after switching to nightly build and armbian-config -> System -> Switch still gave me "No alternative kernels available".

Link to comment
Share on other sites

8 hours ago, Igor said:

Try again and make sure you read my previous comments.

I checked again -> armbian-config -> System -> Switch -> "No alternative kernels available" message. So I am very sure now.

Before that I first executed "apt update" and then used armbian-config to switch to nightly builds. Was this the right order?

 

I wonder when the additional kernel should get on the system. Does the SD-card image contain different kernel versions? or do you expect "apt update" to pull more kernels?

 

Link to comment
Share on other sites

1 hour ago, AlbertB said:

I checked again -> armbian-config -> System -> Switch -> "No alternative kernels available" message. So I am very sure now.


Running out of ideas. Starting from a clean image must work. 

Link to comment
Share on other sites

Is there a SD-card image of Armbian with a legacy kernel or with the 4.18 kernel? I would give it a shot with a different kernel.

 

I also played around with the build environment but wasn't able to choose a different kernel anywhere. (See attachment)

2018-08-29_manual_builds.jpg

Link to comment
Share on other sites

24 minutes ago, AlbertB said:

I also played around with the build environment but wasn't able to choose a different kernel anywhere. (


Because 4.18.y is development kernel and not for end users. You need to build with extra parameter EXPERT="yes" and choose DEV kernel at kernel selection.

 

24 minutes ago, AlbertB said:

Is there a SD-card image of Armbian with a legacy kernel or with the 4.18 kernel? I would give it a shot with a different kernel.


Everything that its premade is there: https://dl.armbian.com/cubietruck/archive/

Link to comment
Share on other sites

I think there might be an issue with my sd-card slot. Therefore right now I am trying a different approach. I installed Cubieez (from here ) following these instructions directly to NAND. My cubietruck boots now every time without any issues. Heavy CPU load doesn't seem to freeze it anymore.

 

Now I'd like to move the operating system to a usb drive (maybe later on a SATA drive) and run the cubietruck from there. I found some instructions here but I am stuck because I cant find uEnv.txt anywhere on my Cubieez install.

Link to comment
Share on other sites

For another try I installed Arch for ARM on a SD-card (see: instructions). It boots every time now and won't freeze under load. I am a bit confused now. The very same SD-card didn't work well wit Armbian but does work witch Arch Linux. Or might the newly installed NAND make a difference? It shouldn't because as far as I know the system boots directly form SD-card without touching NAND if a card is present.

Link to comment
Share on other sites

Please provide more information, which kernel and which u-boot at Archlinux, which on Cubeez (from 2014!). Talking about some other distribution names tells exactly nothing. In your case, serial console log (when it doesn't boot) would provide some valuable clues. 

Link to comment
Share on other sites

Hi Igor,

 

here some information regarding Arch:

[alarm@alarm ~]$ uname -a
Linux alarm 4.18.5-1-ARCH #1 SMP PREEMPT Fri Aug 31 01:05:38 UTC 2018 armv7l GNU/Linux

u-boot was this (downloaded yesterday) : http://os.archlinuxarm.org/os/sunxi/boot/cubietruck/u-boot-sunxi-with-spl.bin as well as this boot.scr (also from yesterday): http://os.archlinuxarm.org/os/sunxi/boot/cubietruck/boot.scr. I don't know how to find out the exact version using command line. If you tell me how to do this I happily will provide this information.

 

Regarding Cubeez: I can't boot it right now because currently I have no physical access to remove the SD-card for NAND booting. But if you give me the commands you'd like me to run to gather the information I can do this tonight.

Regarding serial console log: unfortunately I don't own a adapter to read the serial console.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines