postifix Posted March 7, 2018 Posted March 7, 2018 I using the following armbian and kernel: # PLEASE DO NOT EDIT THIS FILE BOARD=orangepizero BOARD_NAME="Orange Pi Zero" BOARDFAMILY=sun8i VERSION=5.38 LINUXFAMILY=sunxi BRANCH=next ARCH=arm IMAGE_TYPE=stable BOARD_TYPE=conf INITRD_ARCH=arm KERNEL_IMAGE_TYPE=zImage Linux 4.14.14-sunxi #1 SMP Thu Jan 25 12:20:57 CET 2018 armv7l GNU/Linux My box have constant kernel dumps in the log: [59763.352618] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [59763.352627] [<c010a0d9>] (show_stack) from [<c0867e29>] (dump_stack+0x69/0x78) [59763.352637] [<c0867e29>] (dump_stack) from [<c01ddb2d>] (warn_alloc+0xa1/0x120) [59763.352646] [<c01ddb2d>] (warn_alloc) from [<c01de781>] (__alloc_pages_nodemask+0xb6d/0xc2c) [59763.352655] [<c01de781>] (__alloc_pages_nodemask) from [<c01de96b>] (page_frag_alloc+0xd3/0xdc) [59763.352667] [<c01de96b>] (page_frag_alloc) from [<c07714f3>] (__netdev_alloc_skb+0x77/0xbc) [59763.352678] [<c07714f3>] (__netdev_alloc_skb) from [<c06a4dd3>] (stmmac_poll+0x597/0x6e4) [59763.352689] [<c06a4dd3>] (stmmac_poll) from [<c0781ce5>] (net_rx_action+0x115/0x2f0) [59763.352698] [<c0781ce5>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [59763.352708] [<c01014a1>] (__do_softirq) from [<c011ef33>] (irq_exit+0x7f/0xc4) [59763.352719] [<c011ef33>] (irq_exit) from [<c0159e5d>] (__handle_domain_irq+0x49/0x84) [59763.352729] [<c0159e5d>] (__handle_domain_irq) from [<c01013b5>] (gic_handle_irq+0x39/0x68) [59763.352738] [<c01013b5>] (gic_handle_irq) from [<c010aa25>] (__irq_svc+0x65/0x94) [59763.352742] Exception stack(0xd9203cc0 to 0xd9203d08) [59763.352751] 3cc0: cf0e4e00 d5adde80 da1b4090 0000000a da1b4320 d9203d98 00000020 cfef51f8 [59763.352760] 3ce0: da1b4090 c0d03f48 00000000 cfef5070 00000004 d9203d10 bfaff3e1 bfafe480 [59763.352765] 3d00: 200e0133 ffffffff [59763.352776] [<c010aa25>] (__irq_svc) from [<bfafe480>] (SRM0+0x210/0x4a0 [aes_arm_bs]) [59763.352780] unwind: Unknown symbol address bfafe480 [59763.352783] unwind: Index not found bfafe480 Sometimes it dies with kernel panic. I don't expect much from a 10$ board so I will not complain but I would like it to reboot when there is a kernel crash. I have put: kernel.panic=3 It was on 10 seconds by default and it still didn't reboot. Any ideas?
tkaiser Posted March 7, 2018 Posted March 7, 2018 42 minutes ago, postifix said: I don't expect much from a 10$ board so I will not complain but I would like it to reboot when there is a kernel crash. Would solving the problem (preventing the 'kernel crash') also be an option? How do you power the board? Micro USB?
postifix Posted March 7, 2018 Author Posted March 7, 2018 No through the GPIO, I have a dedicated 2A psu so that is not a problem. I doing massive disk IO operation to a disk attached to it via USB that crashes it. If I don't run anything there are no kernel messages or crash and it stays up for weeks.
tkaiser Posted March 7, 2018 Posted March 7, 2018 47 minutes ago, postifix said: I have a dedicated 2A psu so that is not a problem. I doing massive disk IO operation to a disk attached to it via USB that crashes it. Well, amperage ratings are pretty much useless if the problem is a voltage drop under load (which is a very common problem BTW). I would try to measure voltage on the board's testpoints to check for this. And also try to rule out the other hardware issues, eg. bad DRAM: https://forum.armbian.com/topic/6667-solved-upgrade-process-is-broken-on-opz2-h5/?do=findComment&comment=50651
Recommended Posts