Jump to content

rick

Members
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

1324 profile views
  1. I am looking for recommendations, the outstanding group here has knowledge of pretty much every board out there I would think. I have had to abandon my OPI projects today. They are just not stable/usable. A board specific crash at every turn. Comes with a legacy kernel that doesn't even support a working BTRFS. The up to date mainline kernel is also far from working I am told. Ethernet masq causes reboot, out of memory killing processes/servers while there is lots of free ram and swap, SD slot crashes periodically making the system unusable till the storage is removed and is checked/repaired by a working system. So, even working around everything, with a replacement network dongle and USB storage for all but my boot file system and rs232 console it still doesn't quite work right. Can anyone recommend something that is ready to use now? Is there a single board system available that runs a 4.4>= kernel well with ubuntu/deb repos backing the os (for continued updates), has a decent dual/quad core, ethernet, usb ports, basic hdmi for troubleshooting, and 1gb or better ram? Wifi, would be a bonus. I am looking Ideally for a baseline device that is modest cost effective, but would also like to find a second beefier one that has more cpu, more ram, more muscle but takes power into consideration (15W max?) I would like to run armbian, but could be flexible as long as it runs Ubuntu Xenial (or Debian) and gets mostly updated from the official repos. I hope it's ok to ask that. I am building/replacing a bunch of personal nextcloud servers, mini SOHO file sync/printerserver/.... boxes, and custom firewall/NAT/router/gateway type boxes that my predecessor put together at different sites. They will replace power hungry "legacy" x86 running on discarded systems/virtual systems that are on all the time but idle for most of that and make heat and take up so much space. It's a nightmare patchwork that fits into a pi type boxes really nicely when the Oranges don't drive me to the rotten Bananas, pun intended. It's a side project, but I look bad now because it has come to nothing but promises after almost a year.
  2. I need a kernel 4.4>= for BTRFS and such. It was the reason I bought these little time wasters, to save time and electricity. Didn't work out that way When I bought these boards I didn't realize that you could have a system that runs the current Ubuntu but a 2012 ancient kernel. I learned. I have spent a hundred hours messing with board/kernel related errors and not been able to deploy a single system. Any production ready boards you can recommend as net/file servers? I am in a corner now. I have failed badly and wasted soooo mush time and some money too.
  3. So, is that to say that this board will never have a working Ethernet port either?
  4. Hello. I am getting a kernel oops when I setup a masq firewall using firehol. It happenes when a device on the internal net trys anything more than a ping, like loading a web page or doing a speedtest. My network uses interface wlx??? as my external connection to the outside world (internet) and the builtin eth0 as my internal masq’d network (192.168.77.0/24). I am running armbian ubuntu, upgraded (up to date), with the kernel 4.10.0-sun8i and netmanager to configure the interfaces themselves. When I replace eth0 with a cheap usb dongle, everything just works so it seems isolated to the builtin eth0. My eth0 is configured to automatically connect, all users, and ip4 manual to 192.168.77.1/24 , ipv6 ignore. To load the firehol rules into iptables: “firehol try” To clear iptables: “firehol stop” Below is my /etc/firehol/firehol.conf (stripped down to bare minimum that will reproduce the error) and a capt of the oops from my serial console output: --------- --- # # !/bin/sh #to force bash mode in editor #/etc/firehol/firehol.conf firehol config: extif=wlxe84e0635abf2 #${extif} intif=eth0 #${intif} # lanif is a private network with dhcpd and eventually dns. # v5 for debugging, to exclude ipv6 rules version 5 #internal if, masqd interface ${intif} intif policy accept #external if, world interface ${extif} wan-internet policy accept # Route LAN requests to the internet. router lan2internet inface ${intif} outface ${extif} masquerade route all accept -=-=-=-=-=-=-=-=-=-=- [ 620.222707] ------------[ cut here ]------------ [ 620.227368] kernel BUG at net/core/dev.c:2579! [ 620.231825] Internal error: Oops - BUG: 0 [#1] SMP THUMB2 [ 620.237233] Modules linked in: nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ccm ip6table_filter ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6_tables xt_helper xt_tcpudp nf_log_ipv4 nf_log_common xt_LOG xt_ls [ 620.290643] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.10.0-sun8i #3 [ 620.297091] Hardware name: Allwinner sun8i Family [ 620.301807] task: c0b07480 task.stack: c0b00000 [ 620.306361] PC is at skb_checksum_help+0xe4/0xec [ 620.310994] LR is at validate_xmit_skb+0x16d/0x204 [ 620.315797] pc : [<c05f4b3c>] lr : [<c05f8b2d>] psr: 00060133 [ 620.315797] sp : c0b01bf8 ip : 00000000 fp : 00000036 [ 620.327289] r10: ee07ba50 r9 : c9fa2000 r8 : 00000000 [ 620.332526] r7 : 00000000 r6 : ffffffbe r5 : db2b3740 r4 : ed7e0c00 [ 620.339062] r3 : 00000042 r2 : 00000036 r1 : 00000036 r0 : db2b2f00 [ 620.345600] Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [ 620.352926] Control: 50c5387d Table: 6e00c06a DAC: 00000051 [ 620.358681] Process swapper/0 (pid: 0, stack limit = 0xc0b00210) [ 620.364700] Stack: (0xc0b01bf8 to 0xc0b02000) [ 620.369072] 1be0: ed7e0c00 db2b3740 [ 620.377275] 1c00: 00000000 c05f8b2d c0b01c28 c06624a3 00000000 ee170a00 00000000 c9fa2000 [ 620.385477] 1c20: 00000000 00000000 ee07ba50 c05f8bed ee07ba00 ee170a00 ee07ba50 ed7e0c00 [ 620.393677] 1c40: c9fa2000 c0612bfd ed7e0c00 00000010 c9fa2000 00000001 ee07ba00 00000000 [ 620.401938] 1c60: 00000000 009227d4 00000000 c05f8f11 ee07ba50 00000001 c405a8c0 00000000 [ 620.410170] 1c80: 00000036 00000000 00000000 fffffff4 00000000 00065000 c0b01cec ee066288 [ 620.418391] 1ca0: ed7e0c00 00000000 ee066200 0000000e 00000000 ef056000 c06a4451 c06283bb [ 620.426594] 1cc0: ed7e0c00 0105a8c0 ed7e0c00 ed7e0c00 c0b4c500 00000000 c9fa2000 006a2cd3 [ 620.434794] 1ce0: 00000000 c0629f2b 00000000 00000004 c0b01d02 00000000 c9fa2000 00000000 [ 620.442992] 1d00: c0b4c500 c0629659 00000000 ed7e0c00 00000000 c0b4c500 00000002 ef056000 [ 620.451189] 1d20: ed7e0cb8 c06275af db2b2f50 00000002 ed7e0c02 ef056000 c9fa2000 00000000 [ 620.459387] 1d40: c0b4c500 c06271f5 c0625989 c0625989 00000002 ed7e0c00 c0b4c500 c0626187 [ 620.467582] 1d60: 0000002e 00000000 c06a4402 ef056000 00000000 00000000 c0b4c500 c0625989 [ 620.475780] 1d80: ed7e0c00 c0b061f4 c0625e61 00000008 ef05605c c05f5049 00000000 01080020 [ 620.483977] 1da0: 000010b5 ed7e0c00 00000008 c0650fa1 23bda400 14c03a20 dba2b47b ed7e0c00 [ 620.492174] 1dc0: ed7e0c00 ef056000 ef056598 c0b04bb4 ed7e0c00 ef056000 ef056598 00000000 [ 620.500371] 1de0: 00000000 ef056580 0000003c c05f6acd ef056598 ef056000 ef056598 00000000 [ 620.508567] 1e00: 00000000 ed7e0c00 00000003 c05f72b3 80000000 000000a8 0000002a c051a057 [ 620.516764] 1e20: 00000000 c0b01e54 00000000 00000040 c0b09644 ed7e0c00 000000a8 c011093d [ 620.524960] 1e40: 00000000 ef056598 00000040 0000012c c0b02d00 ef6ad540 c0b01e80 2ec57000 [ 620.533157] 1e60: 00007d16 c05f6dc3 c0a56540 c0b540ba c0b04bb4 c08fd1e4 c09012e0 00000001 [ 620.541354] 1e80: c0b01e80 c0b01e80 c0b01e88 c0b01e88 c0b00000 40000000 00000000 00000003 [ 620.549552] 1ea0: c0b0208c c0b00000 00000100 c0b02080 c0b0208c c011b57d ef00f000 f0803000 [ 620.557749] 1ec0: c0b01eb8 c0b56980 00000008 00007d15 c0b02d00 00200102 ef03bb60 c0b01f00 [ 620.565946] 1ee0: 00000020 00000000 00000000 ef00f000 f0803000 00000000 00000000 c011b875 [ 620.574143] 1f00: c0a53e24 c01546c3 c0b25b2c c0b04050 f080200c c0b01f40 f0802000 c010133f [ 620.582341] 1f20: c0106881 c0106882 40060033 ffffffff c0b01f74 c0b01f98 c0b00000 c0109765 [ 620.590537] 1f40: 00000001 00000000 00000000 c0114141 c0b00000 c0b03cd0 c0b03c6c c0a54f08 [ 620.598734] 1f60: c0b01f98 00000000 00000000 00000000 00000000 c0b01f90 c0106881 c0106882 [ 620.606931] 1f80: 40060033 ffffffff 00000051 00000000 00000000 c01486f1 000000bb 00000001 [ 620.615128] 1fa0: c0b03c40 ffffffff c0b56000 c0a3ba30 efffca40 c0148913 00000001 c0a00a11 [ 620.623324] 1fc0: ffffffff ffffffff 00000000 c0a00583 00000000 c0a3ba30 c0b56294 c0b03c58 [ 620.631519] 1fe0: c0a3ba2c c0b08f68 4000406a 410fc075 00000000 4000807f 00000000 00000000 [ 620.639741] [<c05f4b3c>] (skb_checksum_help) from [<c05f8b2d>] (validate_xmit_skb+0x16d/0x204) [ 620.648377] [<c05f8b2d>] (validate_xmit_skb) from [<c05f8bed>] (validate_xmit_skb_list+0x29/0x3c) [ 620.657272] [<c05f8bed>] (validate_xmit_skb_list) from [<c0612bfd>] (sch_direct_xmit+0x69/0x11c) [ 620.666079] [<c0612bfd>] (sch_direct_xmit) from [<c05f8f11>] (__dev_queue_xmit+0x1b9/0x524) [ 620.674455] [<c05f8f11>] (__dev_queue_xmit) from [<c06283bb>] (ip_finish_output2+0x12b/0x2e0) [ 620.683003] [<c06283bb>] (ip_finish_output2) from [<c0629f2b>] (ip_output+0xc7/0xd0) [ 620.690768] [<c0629f2b>] (ip_output) from [<c06275af>] (ip_forward+0x303/0x350) [ 620.698094] [<c06275af>] (ip_forward) from [<c0626187>] (ip_rcv+0x327/0x420) [ 620.705158] [<c0626187>] (ip_rcv) from [<c05f5049>] (__netif_receive_skb_core+0x40d/0x7d0) [ 620.713446] [<c05f5049>] (__netif_receive_skb_core) from [<c05f6acd>] (netif_receive_skb_internal+0x2d/0x74) [ 620.723292] [<c05f6acd>] (netif_receive_skb_internal) from [<c05f72b3>] (napi_gro_receive+0x53/0x88) [ 620.732448] [<c05f72b3>] (napi_gro_receive) from [<c051a057>] (sun8i_emac_poll+0x4d7/0x530) [ 620.740822] [<c051a057>] (sun8i_emac_poll) from [<c05f6dc3>] (net_rx_action+0x153/0x1f4) [ 620.748937] [<c05f6dc3>] (net_rx_action) from [<c011b57d>] (__do_softirq+0x9d/0x194) [ 620.756705] [<c011b57d>] (__do_softirq) from [<c011b875>] (irq_exit+0x8d/0xdc) [ 620.763952] [<c011b875>] (irq_exit) from [<c01546c3>] (__handle_domain_irq+0x3f/0x7c) [ 620.771806] [<c01546c3>] (__handle_domain_irq) from [<c010133f>] (gic_handle_irq+0x3b/0x70) [ 620.780178] [<c010133f>] (gic_handle_irq) from [<c0109765>] (__irq_svc+0x65/0x94) [ 620.787675] Exception stack(0xc0b01f40 to 0xc0b01f88) [ 620.792740] 1f40: 00000001 00000000 00000000 c0114141 c0b00000 c0b03cd0 c0b03c6c c0a54f08 [ 620.800936] 1f60: c0b01f98 00000000 00000000 00000000 00000000 c0b01f90 c0106881 c0106882 [ 620.809128] 1f80: 40060033 ffffffff [ 620.812636] [<c0109765>] (__irq_svc) from [<c0106882>] (arch_cpu_idle+0x22/0x24) [ 620.820057] [<c0106882>] (arch_cpu_idle) from [<c01486f1>] (do_idle+0x105/0x160) [ 620.827476] [<c01486f1>] (do_idle) from [<c0148913>] (cpu_startup_entry+0x13/0x14) [ 620.835070] [<c0148913>] (cpu_startup_entry) from [<c0a00a11>] (start_kernel+0x2fb/0x306) [ 620.843268] Code: ff3f f06f 0015 bd70 (de02) f06f [ 620.848071] ---[ end trace 02c62cacdc4c16d7 ]--- [ 620.852698] Kernel panic - not syncing: Fatal exception in interrupt [ 620.859071] CPU2: stopping [ 620.861808] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 4.10.0-sun8i #3 [ 620.869478] Hardware name: Allwinner sun8i Family [ 620.874204] [<c010b91d>] (unwind_backtrace) from [<c0108f1b>] (show_stack+0xb/0xc) [ 620.881798] [<c0108f1b>] (show_stack) from [<c0454317>] (dump_stack+0x67/0x74) [ 620.889045] [<c0454317>] (dump_stack) from [<c010af9f>] (handle_IPI+0x137/0x150) [ 620.896462] [<c010af9f>] (handle_IPI) from [<c010136d>] (gic_handle_irq+0x69/0x70) [ 620.904052] [<c010136d>] (gic_handle_irq) from [<c0109765>] (__irq_svc+0x65/0x94) [ 620.911548] Exception stack(0xef095f78 to 0xef095fc0) [ 620.916609] 5f60: 00000001 00000000 [ 620.924806] 5f80: 00000000 c0114141 ef094000 c0b03cd0 c0b03c6c c0a54f08 ef095fd0 00000000 [ 620.933003] 5fa0: 00000000 00000000 ef09403c ef095fc8 c0106881 c0106882 40060033 ffffffff [ 620.941202] [<c0109765>] (__irq_svc) from [<c0106882>] (arch_cpu_idle+0x22/0x24) [ 620.948621] [<c0106882>] (arch_cpu_idle) from [<c01486f1>] (do_idle+0x105/0x160) [ 620.956039] [<c01486f1>] (do_idle) from [<c0148913>] (cpu_startup_entry+0x13/0x14) [ 620.963628] [<c0148913>] (cpu_startup_entry) from [<40101411>] (0x40101411) [ 620.970597] CPU1: stopping [ 620.973321] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 4.10.0-sun8i #3 [ 620.980990] Hardware name: Allwinner sun8i Family [ 620.985712] [<c010b91d>] (unwind_backtrace) from [<c0108f1b>] (show_stack+0xb/0xc) [ 620.993303] [<c0108f1b>] (show_stack) from [<c0454317>] (dump_stack+0x67/0x74) [ 621.000547] [<c0454317>] (dump_stack) from [<c010af9f>] (handle_IPI+0x137/0x150) [ 621.007964] [<c010af9f>] (handle_IPI) from [<c010136d>] (gic_handle_irq+0x69/0x70) [ 621.015553] [<c010136d>] (gic_handle_irq) from [<c0109765>] (__irq_svc+0x65/0x94) [ 621.023051] Exception stack(0xef093f78 to 0xef093fc0) [ 621.028111] 3f60: 00000001 00000000 [ 621.036308] 3f80: 00000000 c0114141 ef092000 c0b03cd0 c0b03c6c c0a54f08 ef093fd0 00000000 [ 621.044505] 3fa0: 00000000 00000000 ef09203c ef093fc8 c0106881 c0106882 40060033 ffffffff [ 621.052703] [<c0109765>] (__irq_svc) from [<c0106882>] (arch_cpu_idle+0x22/0x24) [ 621.060122] [<c0106882>] (arch_cpu_idle) from [<c01486f1>] (do_idle+0x105/0x160) [ 621.067539] [<c01486f1>] (do_idle) from [<c0148913>] (cpu_startup_entry+0x13/0x14) [ 621.075128] [<c0148913>] (cpu_startup_entry) from [<40101411>] (0x40101411) [ 621.082096] CPU3: stopping [ 621.084819] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.10.0-sun8i #3 [ 621.092488] Hardware name: Allwinner sun8i Family [ 621.097210] [<c010b91d>] (unwind_backtrace) from [<c0108f1b>] (show_stack+0xb/0xc) [ 621.104800] [<c0108f1b>] (show_stack) from [<c0454317>] (dump_stack+0x67/0x74) [ 621.112045] [<c0454317>] (dump_stack) from [<c010af9f>] (handle_IPI+0x137/0x150) [ 621.119462] [<c010af9f>] (handle_IPI) from [<c010136d>] (gic_handle_irq+0x69/0x70) [ 621.127052] [<c010136d>] (gic_handle_irq) from [<c0109765>] (__irq_svc+0x65/0x94) [ 621.134549] Exception stack(0xef097f78 to 0xef097fc0) [ 621.139609] 7f60: 00000001 00000000 [ 621.147806] 7f80: 00000000 c0114141 ef096000 c0b03cd0 c0b03c6c c0a54f08 ef097fd0 00000000 [ 621.156003] 7fa0: 00000000 00000000 ef09603c ef097fc8 c0106881 c0106882 40060033 ffffffff [ 621.164202] [<c0109765>] (__irq_svc) from [<c0106882>] (arch_cpu_idle+0x22/0x24) [ 621.171621] [<c0106882>] (arch_cpu_idle) from [<c01486f1>] (do_idle+0x105/0x160) [ 621.179039] [<c01486f1>] (do_idle) from [<c0148913>] (cpu_startup_entry+0x13/0x14) [ 621.186627] [<c0148913>] (cpu_startup_entry) from [<40101411>] (0x40101411) [ 621.193601] Rebooting in 10 seconds..
  5. Ok, so I discovered and installed OPI-monitor. When top/free look like the following, OPI-monitor's graph says available memory is ZERO!!!!! That would explain the OOM invocations. total used free shared buff/cache available Mem: 1026284 109608 613652 13444 303024 680576 Swap: 1097724 0 1097724 How can this be? Any ideas? Fixes?
  6. These OPI PC boards might have to be abandon as unstable. I can't get it to run stable with the 4.7.3 kernel and it crashes on boot with the 4.8.3. I have replaced the power supply wth a 3A buck boost device & fat leads that will ensure a steady 5.15V at the input and 5.05V at the usb ports. It does not seem to be a power issue, and it seems that the power was good (4.93v -5.07V at the USB port output) before too. Ok, so I made my btrfs root fs a raid1 and ran the above and started to get this under the extra load: [ 3641.664542] kernel BUG at lib/dynamic_queue_limits.c:26! [ 3641.669931] Internal error: Oops - BUG: 0 [#1] SMP ARM [ 3641.675133] Modules linked in: xt_multiport evdev ir_lirc_codec lirc_dev sunxi_cir sun8i_ths cpufreq_dt uio_pdrv_genirq uio thermal_sys ip6t_REJECT s [ 3641.721723] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.7.3-sun8i #5 [ 3641.729390] Hardware name: Allwinner sun8i Family [ 3641.734166] task: c0d05f00 ti: c0d00000 task.ti: c0d00000 [ 3641.739653] PC is at dql_completed+0x100/0x17c [ 3641.744176] LR is at sun8i_emac_poll+0x26c/0x6a0 [ 3641.748867] pc : [<c0562de0>] lr : [<c06353dc>] psr: 800e0113 [ 3641.748867] sp : c0d01e14 ip : 00000000 fp : 00015600 [ 3641.760456] r10: 00000040 r9 : ef061518 r8 : ef061000 [ 3641.765748] r7 : 00000001 r6 : 02853a24 r5 : 00000000 r4 : 02853a24 [ 3641.772341] r3 : 00000000 r2 : 00000c00 r1 : 00000066 r0 : ee00c680 [ 3641.778939] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 3641.786145] Control: 10c5387d Table: 50d6006a DAC: 00000051 [ 3641.791959] Process swapper/0 (pid: 0, stack limit = 0xc0d00210) [ 3641.798033] Stack: (0xc0d01e14 to 0xc0d02000) [ 3641.802462] 1e00: ee00c600 00000000 00000066 [ 3641.810759] 1e20: 00000001 ef061000 ef061518 c06353dc 00000000 ef6ac280 00000040 c0d080cc [ 3641.819057] 1e40: ef061518 2ea4a000 c0b2dee8 c0c62b80 00000100 ef061518 c0635170 0005194e [ 3641.827353] 1e60: 0000012c c0d02100 00000040 c0d01e90 2ea4a000 c076513c ef6acb80 c0c62b80 [ 3641.835650] 1e80: c0d49faf c0d03380 c0b2dee8 c0b31c0c c0d01e90 c0d01e90 c0d01e98 c0d01e98 [ 3641.843946] 1ea0: 00000001 00000000 00000003 c0d00000 c0d0208c c0d02080 00000100 c0d02080 [ 3641.852244] 1ec0: 40000003 c0124218 00000000 ef1e8000 c0d01ec8 c0d4ba40 0000000a 0005194d [ 3641.860541] 1ee0: c0d02100 00200000 c0d0250c ffffe000 00000000 00000000 00000001 ef008000 [ 3641.868836] 1f00: f0803000 c0d49d5b c0d0250c c01245f0 c0c604bc c016b6e4 c0d1e368 c0d02848 [ 3641.877136] 1f20: f080200c c0d01f50 f0802000 c010148c c0108160 600e0013 ffffffff c0d01f84 [ 3641.885437] 1f40: c0c61578 c0d02504 c0d49d5b c010be14 00000001 00000000 00000000 c0119680 [ 3641.893737] 1f60: c0d00000 c0d0249c 00000000 00000000 c0c61578 c0d02504 c0d49d5b c0d0250c [ 3641.902037] 1f80: 600e0013 c0d01fa0 c010815c c0108160 600e0013 ffffffff 00000051 00000000 [ 3641.910337] 1fa0: c0d00000 c015ca20 c0d01fb4 c0d01fa8 00000000 ffffffff 00000000 c0c00c7c [ 3641.918637] 1fc0: ffffffff ffffffff 00000000 c0c00690 00000000 c0c48a30 c0d4b294 c0d02480 [ 3641.926934] 1fe0: c0c48a2c c0d079e4 4000406a 410fc075 00000000 4000807c 00000000 00000000 [ 3641.935267] [<c0562de0>] (dql_completed) from [<c06353dc>] (sun8i_emac_poll+0x26c/0x6a0) [ 3641.943492] [<c06353dc>] (sun8i_emac_poll) from [<c076513c>] (net_rx_action+0x1f4/0x2e4) [ 3641.951715] [<c076513c>] (net_rx_action) from [<c0124218>] (__do_softirq+0xfc/0x218) [ 3641.959589] [<c0124218>] (__do_softirq) from [<c01245f0>] (irq_exit+0xb8/0x118) [ 3641.967026] [<c01245f0>] (irq_exit) from [<c016b6e4>] (__handle_domain_irq+0x60/0xb4) [ 3641.974982] [<c016b6e4>] (__handle_domain_irq) from [<c010148c>] (gic_handle_irq+0x48/0x8c) [ 3641.983457] [<c010148c>] (gic_handle_irq) from [<c010be14>] (__irq_svc+0x54/0x70) [ 3641.991038] Exception stack(0xc0d01f50 to 0xc0d01f98) [ 3641.996163] 1f40: 00000001 00000000 00000000 c0119680 [ 3642.004458] 1f60: c0d00000 c0d0249c 00000000 00000000 c0c61578 c0d02504 c0d49d5b c0d0250c [ 3642.012747] 1f80: 600e0013 c0d01fa0 c010815c c0108160 600e0013 ffffffff [ 3642.019459] [<c010be14>] (__irq_svc) from [<c0108160>] (arch_cpu_idle+0x38/0x3c) [ 3642.026982] [<c0108160>] (arch_cpu_idle) from [<c015ca20>] (cpu_startup_entry+0x1b8/0x214) [ 3642.035380] [<c015ca20>] (cpu_startup_entry) from [<c0c00c7c>] (start_kernel+0x390/0x39c) [ 3642.043674] Code: e3520000 1a000002 e1a03005 eaffffdd (e7f001f2) [ 3642.049843] ---[ end trace e15ecc4671d2fcf3 ]--- [ 3642.054528] Kernel panic - not syncing: Fatal exception in interrupt [ 3642.060989] CPU3: stopping [ 3642.063818] CPU: 3 PID: 8407 Comm: unpigz Tainted: G D W 4.7.3-sun8i #5 [ 3642.071483] Hardware name: Allwinner sun8i Family [ 3642.076301] [<c010ea00>] (unwind_backtrace) from [<c010b350>] (show_stack+0x10/0x14) [ 3642.084172] [<c010b350>] (show_stack) from [<c05381e4>] (dump_stack+0x84/0x98) [ 3642.091519] [<c05381e4>] (dump_stack) from [<c010d888>] (handle_IPI+0x170/0x190) [ 3642.099035] [<c010d888>] (handle_IPI) from [<c01014cc>] (gic_handle_irq+0x88/0x8c) [ 3642.106722] [<c01014cc>] (gic_handle_irq) from [<c010c110>] (__irq_usr+0x50/0x80) [ 3642.114302] Exception stack(0xd0df1fb0 to 0xd0df1ff8) [ 3642.119427] 1fa0: 0003e715 000000c6 00057212 0004727e [ 3642.127721] 1fc0: 00000012 00055bcf 0005515d 00043d05 00098650 00098eb0 bee3d264 00098120 [ 3642.136011] 1fe0: 00055bd3 bee3d0f0 00000001 b6eee882 200e0030 ffffffff [ 3642.142696] CPU2: stopping [ 3642.145492] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D W 4.7.3-sun8i #5 [ 3642.153157] Hardware name: Allwinner sun8i Family [ 3642.157956] [<c010ea00>] (unwind_backtrace) from [<c010b350>] (show_stack+0x10/0x14) [ 3642.165820] [<c010b350>] (show_stack) from [<c05381e4>] (dump_stack+0x84/0x98) [ 3642.173165] [<c05381e4>] (dump_stack) from [<c010d888>] (handle_IPI+0x170/0x190) [ 3642.180680] [<c010d888>] (handle_IPI) from [<c01014cc>] (gic_handle_irq+0x88/0x8c) [ 3642.188367] [<c01014cc>] (gic_handle_irq) from [<c010be14>] (__irq_svc+0x54/0x70) [ 3642.195946] Exception stack(0xef0a5f88 to 0xef0a5fd0) [ 3642.201074] 5f80: 00000001 00000000 00000000 c0119680 ef0a4000 c0d0249c [ 3642.209368] 5fa0: 00000000 00000000 c0c61578 c0d02504 c0d49d5b c0d0250c e6a93acc ef0a5fd8 [ 3642.217651] 5fc0: c010815c c0108160 60030013 ffffffff [ 3642.222793] [<c010be14>] (__irq_svc) from [<c0108160>] (arch_cpu_idle+0x38/0x3c) [ 3642.230313] [<c0108160>] (arch_cpu_idle) from [<c015ca20>] (cpu_startup_entry+0x1b8/0x214) [ 3642.238697] [<c015ca20>] (cpu_startup_entry) from [<4010156c>] (0x4010156c) [ 3642.245730] CPU1: stopping [ 3642.248526] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D W 4.7.3-sun8i #5 [ 3642.256190] Hardware name: Allwinner sun8i Family [ 3642.260988] [<c010ea00>] (unwind_backtrace) from [<c010b350>] (show_stack+0x10/0x14) [ 3642.268854] [<c010b350>] (show_stack) from [<c05381e4>] (dump_stack+0x84/0x98) [ 3642.276199] [<c05381e4>] (dump_stack) from [<c010d888>] (handle_IPI+0x170/0x190) [ 3642.283713] [<c010d888>] (handle_IPI) from [<c01014cc>] (gic_handle_irq+0x88/0x8c) [ 3642.291400] [<c01014cc>] (gic_handle_irq) from [<c010be14>] (__irq_svc+0x54/0x70) [ 3642.298980] Exception stack(0xef0a3f88 to 0xef0a3fd0) [ 3642.304109] 3f80: 00000001 00000000 00000000 c0119680 ef0a2000 c0d0249c [ 3642.312403] 3fa0: 00000000 00000000 c0c61578 c0d02504 c0d49d5b c0d0250c 00000000 ef0a3fd8 [ 3642.320686] 3fc0: c010815c c0108160 60070013 ffffffff [ 3642.325826] [<c010be14>] (__irq_svc) from [<c0108160>] (arch_cpu_idle+0x38/0x3c) [ 3642.333345] [<c0108160>] (arch_cpu_idle) from [<c015ca20>] (cpu_startup_entry+0x1b8/0x214) [ 3642.341726] [<c015ca20>] (cpu_startup_entry) from [<4010156c>] (0x4010156c) [ 3642.348759] Rebooting in 10 seconds..
  7. So I thought I had a stable system with my OPI PC the 4.7.3-sun8i kernel (for BTRFS support), but the OOM killer keeps silently triggering. I can see it on the serial term and in the logs. So I have done some troubleshooting. I added the following t /etc/sysctl.conf: vm.swappiness=10 # try a value that will actually use the swap vm.min_free_kbytes=64000 # ensure that some memory is always available, held back from file caching. vm.oom_kill_allocating_task=1 # kill the offending task that requested the memory and not the task with the most memory to give up to see if there is an obvious trigger culprit. So, what I found is that the systems memory usually looks like this when running my system restore script: total used free shared buff/cache available Mem: 1026284 195292 123140 3284 707852 577196 Swap: 1097724 23340 1074384 So it is not a memory shortage. It is triggred by random things that are not using much memory like: [13457.612306] Out of memory (oom_kill_allocating_task): Kill process 6285 (sessionclean) score 0 or sacrifice child [13457.622666] Killed process 6285 (sessionclean) total-vm:1460kB, anon-rss:76kB, file-rss:0kB, shmem-rss:0kB [15248.539294] Out of memory (oom_kill_allocating_task): Kill process 6593 (phpquery) score 0 or sacrifice child [15248.549794] Killed process 6593 (phpquery) total-vm:1460kB, anon-rss:104kB, file-rss:0kB, shmem-rss:0kB It's killed sh, watch, ls, .... all small potatoes. Sometimes a big one like apache or mysql too. Any ideas? Kernel bug or something I can fix? It does seem to like to crash during this command in a script that restores a folder under /var/www from a remote tgz, I have been running the restore over and over to crash the system with it. It only OOM's some times: (ssh $destuser "cat $destdir/www" |pv|unpigz| tar -xp ) || abort Any ideas? I tried to figure it out myself but I am in over my head so.....
  8. Yes!! compression has worked very well for me on usb flash boot devices (on pc). A couple of hints for those new to btrfs: If you mount by UUID (as above) you can migrate your root partition to usb and simply have /boot on a tiny SD for booting the kernel. When I take snapshots of / I also copy /boot into the empty folder on the snapshot so that each snapshot is a complete OS along with its /boot. Snapshots are linked subvolumes and are writable unless you specify otherwise. DO NOT RUN fsck (you don't need to) before you read this, and even then : https://btrfs.wiki.kernel.org/index.php/Btrfsck. Adjust your fstab accordingly to not autocheck. For some boards, we still use older kernels. From https://btrfs.wiki.kernel.org/index.php/UseCases#How_do_I_defragment_many_files.3F : Caveat: since Linux 3.14-rc2, 3.13.4, 3.12.12 and 3.10.31 (which removed the snapshot-aware defragmentation) defragmenting a file which has a COW copy (either a snapshot copy or one made with cp --reflink or bcp) would produce two unrelated files. If you defragment a subvolume that had a snapshot, you would roughly double the disk usage, as the snapshot files would no longer be COW images of the originals. One would get this rather unexpected outcome when using defragment (together with "-c") to compress files with the hope of saving space. Note that this is the same behaviour as observed with any pre 3.9 kernel (which added snapshot-aware defragmentation). Since defragment with "-c" is how you compress files that have already been saved uncompressed. It seems important to note. Some older kernels/btrfs progs/tools will choke on btrfs partitions that have been mounted or touched by newer tools/kernel. According to https://wiki.debian.org/Btrfs: In my personal and professional opinion, btrfs before linux-4.4 and btrfs-progs-v4.4 is simply not worth the risk, and that this is the point where one could stop worrying "is my btrfs volume going to mysteriously blow up tomorrow, even with a simple use-case"; please use a kernel and progs >=4.4 to avoid needless maintenance headaches and needless risk.<snip> --NicholasDSteeves
  9. Thank you Igor. I understand. I am just "reporting" this issue so it can be looked at when the time is right. The previous version works very well so it could be a simple thing to resolve for the right person. Either way, someone should know and (hopefully) now they might. When there is an update, I will be happy to try it on for size. Especially now that I have btrfs snapshots to roll me back fast if it all goes wrong.
  10. I have been running Armbian_5.14_Orangepipc_Ubuntu_xenial_3.4.112 that has been upgraded to the 4.7.3 kernel via apt. Yesterday I allowed it to update to 4.8.3 and it won't boot anymore. Any ideas? I have reverted to the 4.7.3 kernel from a backup and it works again. I have isolated it to the packages :linux-dtb-dev-sun8i linux-firmware-image-dev-sun8i linux-headers-dev-sun8i linux-image-dev-sun8i Here is the startup output from serial port: ------------------------------------------------------------ OPTIONS: I18n Compiled on Feb 7 2016, 13:37:27. Port /dev/rfcomm2, 18:35:27 Press CTRL-A Z for help on special keys S=ca���A��`�b�``�g`C�95�ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 2597 bytes read in 165 ms (14.6 KiB/s) ## Executing script at 43100000 gpio: pin PL10 (gpio 298) value is 1 gpio: pin PG11 (gpio 203) value is 1 0 bytes read in 174 ms (0 Bytes/s) 0 bytes read in 165 ms (0 Bytes/s) 23462 bytes read in 1160 ms (19.5 KiB/s) 8783428 bytes read in 679 ms (12.3 MiB/s) 5879832 bytes read in 690 ms (8.1 MiB/s) ## Loading init Ramdisk from Legacy Image at 42000000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 8783364 Bytes = 8.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 49000000 Booting using the fdt blob at 0x49000000 Loading Ramdisk to 4979f000, end 49fff604 ... OK Loading Device Tree to 49796000, end 4979eba5 ... OK Using machid 0x1029 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.8.3-sun8i (root@xenial) (gcc version 5.4.0 201606 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie [ 0.000000] OF: fdt:Machine model: Xunlong Orange Pi PC [ 0.000000] cma: Reserved 16 MiB at 0x7ec00000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] percpu: Embedded 14 pages/cpu @ef6a9000 s25420 r8192 d23732 u5734 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa6 [ 0.000000] Kernel command line: console=ttyS0,115200 console=tty1 root=UUID7 [ 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] Memory: 1000308K/1048576K available (8192K kernel code, 307K rwd) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0d4cde0 ( 308 kB) [ 0.000000] .bss : 0xc0d4e000 - 0xc0d9a880 ( 307 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (p. [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398s [ 0.000016] Switching to timer-based delay loop, resolution 41ns [ 0.000214] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, maxs [ 0.000521] Console: colour dummy device 80x30 [ 0.000989] console [tty1] enabled [ 0.001024] Calibrating delay loop (skipped), value calculated using timer f) [ 0.001060] pid_max: default: 32768 minimum: 301 [ 0.001272] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001296] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002051] CPU: Testing write buffer coherency: ok [ 0.002390] CPU0: update cpu_capacity 1024 [ 0.002416] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002454] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.014358] CPU1: update cpu_capacity 1024 [ 0.014365] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.025023] CPU2: update cpu_capacity 1024 [ 0.025028] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.035691] CPU3: update cpu_capacity 1024 [ 0.035696] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.035764] Brought up 4 CPUs [ 0.035876] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.035894] CPU: All CPU(s) started in HYP mode. [ 0.035910] CPU: Virtualization extensions available. [ 0.036895] devtmpfs: initialized [ 0.043238] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 [ 0.043630] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms [ 0.044269] xor: measuring software checksum speed [ 0.135557] arm4regs : 1263.200 MB/sec [ 0.235614] 8regs : 877.200 MB/sec [ 0.335670] 32regs : 875.600 MB/sec [ 0.435729] neon : 1286.000 MB/sec [ 0.435748] xor: using function: neon (1286.000 MB/sec) [ 0.435849] pinctrl core: initialized pinctrl subsystem [ 0.436804] NET: Registered protocol family 16 [ 0.437875] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.485871] cpuidle: using governor ladder [ 0.515877] cpuidle: using governor menu [ 0.516226] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint. [ 0.516255] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.696000] raid6: int32x1 gen() 180 MB/s [ 0.866128] raid6: int32x1 xor() 166 MB/s [ 1.036290] raid6: int32x2 gen() 232 MB/s [ 1.206333] raid6: int32x2 xor() 172 MB/s [ 1.376437] raid6: int32x4 gen() 225 MB/s [ 1.546478] raid6: int32x4 xor() 172 MB/s [ 1.716732] raid6: int32x8 gen() 223 MB/s [ 1.886834] raid6: int32x8 xor() 149 MB/s [ 2.056770] raid6: neonx1 gen() 494 MB/s [ 2.226851] raid6: neonx1 xor() 363 MB/s [ 2.397013] raid6: neonx2 gen() 650 MB/s [ 2.567063] raid6: neonx2 xor() 473 MB/s [ 2.737186] raid6: neonx4 gen() 721 MB/s [ 2.907261] raid6: neonx4 xor() 499 MB/s [ 3.077358] raid6: neonx8 gen() 694 MB/s [ 3.247503] raid6: neonx8 xor() 484 MB/s [ 3.247522] raid6: using algorithm neonx4 gen() 721 MB/s [ 3.247539] raid6: .... xor() 499 MB/s, rmw enabled [ 3.247556] raid6: using intx1 recovery algorithm [ 3.247775] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soe [ 3.249022] SCSI subsystem initialized [ 3.249476] usbcore: registered new interface driver usbfs [ 3.249552] usbcore: registered new interface driver hub [ 3.249641] usbcore: registered new device driver usb [ 3.249843] media: Linux media interface: v0.10 [ 3.249901] Linux video capture interface: v2.00 [ 3.249979] pps_core: LinuxPPS API ver. 1 registered [ 3.249998] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom> [ 3.250050] PTP clock support registered [ 3.251625] clocksource: Switched to clocksource arch_sys_counter [ 3.260168] NET: Registered protocol family 2 [ 3.260778] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 3.260874] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 3.261001] TCP: Hash tables configured (established 8192 bind 8192) [ 3.261075] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 3.261143] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 3.261361] NET: Registered protocol family 1 [ 3.261828] RPC: Registered named UNIX socket transport module. [ 3.261855] RPC: Registered udp transport module. [ 3.261872] RPC: Registered tcp transport module. [ 3.261888] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.262115] Trying to unpack rootfs image as initramfs... [ 3.714741] Freeing initrd memory: 8580K (c979f000 - ca000000) [ 3.716352] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 3.716733] Initialise system trusted keyrings [ 3.717119] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 3.724684] zbud: loaded [ 3.728094] NFS: Registering the id_resolver key type [ 3.728158] Key type id_resolver registered [ 3.728176] Key type id_legacy registered [ 3.728201] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.728220] Installing knfsd (copyright © 1996 okir@monad.swb.de). [ 3.729471] JFS: nTxBlock = 8009, nTxLock = 64079 [ 3.737566] SGI XFS with ACLs, security attributes, realtime, no debug enabld [ 3.744506] Key type asymmetric registered [ 3.744599] bounce: pool size: 64 pages [ 3.744864] Block layer SCSI generic (bsg) driver version 0.4 loaded (major ) [ 3.745028] io scheduler noop registered [ 3.745051] io scheduler deadline registered [ 3.745485] io scheduler cfq registered (default) [ 3.746061] sun4i-usb-phy 1c19400.phy: could not find pctldev for node /soc/e [ 3.748344] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 3.749052] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 3.803375] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 3.806030] console [ttyS0] disabled [ 3.826219] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 40, base_baud = 1A [ 4.635519] console [ttyS0] enabled [ 4.642659] brd: module loaded [ 4.651728] loop: module loaded [ 4.655748] libphy: Fixed MDIO Bus: probed [ 4.661193] usbcore: registered new interface driver catc [ 4.666679] usbcore: registered new interface driver kaweth [ 4.672275] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet drr [ 4.679723] usbcore: registered new interface driver pegasus [ 4.685436] usbcore: registered new interface driver rtl8150 [ 4.691153] usbcore: registered new interface driver r8152 [ 4.696707] usbcore: registered new interface driver lan78xx [ 4.702434] usbcore: registered new interface driver asix [ 4.707876] usbcore: registered new interface driver ax88179_178a [ 4.714026] usbcore: registered new interface driver cdc_ether [ 4.719901] usbcore: registered new interface driver cdc_eem [ 4.725611] usbcore: registered new interface driver dm9601 [ 4.731223] usbcore: registered new interface driver sr9700 [ 4.736867] usbcore: registered new interface driver CoreChips [ 4.742778] usbcore: registered new interface driver smsc75xx [ 4.748582] usbcore: registered new interface driver smsc95xx [ 4.754387] usbcore: registered new interface driver gl620a [ 4.760003] usbcore: registered new interface driver net1080 [ 4.765715] usbcore: registered new interface driver plusb [ 4.771242] usbcore: registered new interface driver rndis_host [ 4.777219] usbcore: registered new interface driver cdc_subset [ 4.783203] usbcore: registered new interface driver MOSCHIP usb-ethernet drr [ 4.790669] usbcore: registered new interface driver cdc_ncm [ 4.796389] usbcore: registered new interface driver huawei_cdc_ncm [ 4.802718] usbcore: registered new interface driver cdc_mbim [ 4.808469] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.815012] ehci-platform: EHCI generic platform driver [ 4.820595] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.826805] ohci-platform: OHCI generic platform driver [ 4.832388] usbcore: registered new interface driver cdc_wdm [ 4.838108] usbcore: registered new interface driver usb-storage [ 4.844986] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 4.851830] sun6i-rtc 1f00000.rtc: RTC enabled [ 4.856430] i2c /dev entries driver [ 4.863450] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, no) [ 4.871651] sun8i-h3-pinctrl 1c20800.pinctrl: unknown pin PL7 [ 4.877408] pinctrl core: failed to register map default (0): invalid type gn [ 4.885814] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 4.941657] sunxi-mmc 1c0f000.mmc: base:0xf0d2a000 irq:23 [ 4.947662] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq [ 5.731614] sunxi-mmc 1c10000.mmc: fatal err update clk timeout [ 5.744623] mmc0: host does not support reading read-only switch, assuming we [ 5.754583] mmc0: new high speed SDHC card at address 0007 [ 5.760645] mmcblk0: mmc0:0007 SD32G 29.0 GiB [ 5.765159] sunxi-mmc 1c10000.mmc: base:0xf0d2e000 irq:24 [ 5.766555] mmcblk0: p1 p2 p3 [ 5.831649] sunxi-mmc 1c11000.mmc: base:0xf0d3c000 irq:25 [ 5.852196] ledtrig-cpu: registered to indicate activity on CPUs [ 5.858311] hidraw: raw HID events driver © Jiri Kosina [ 5.863906] usbcore: registered new interface driver usbhid [ 5.869484] usbhid: USB HID core driver [ 5.874124] Initializing XFRM netlink socket [ 5.879071] NET: Registered protocol family 10 [ 5.884454] NET: Registered protocol family 17 [ 5.888928] NET: Registered protocol family 15 [ 5.893445] bridge: automatic filtering via arp/ip/ip6tables has been deprec. [ 5.906113] 8021q: 802.1Q VLAN Support v1.8 [ 5.910348] Key type dns_resolver registered [ 5.914959] Registering SWP/SWPB emulation handler [ 5.920362] registered taskstats version 1 [ 5.924489] Loading compiled-in X.509 certificates [ 5.929361] zswap: loaded using pool lzo/zbud [ 5.935091] Btrfs loaded, crc32c=crc32c-generic [ 5.957660] Key type encrypted registered [ 5.963622] ehci-platform 1c1a000.usb: EHCI Host Controller [ 5.969239] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus 1 [ 5.977261] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000 [ 6.011631] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 6.018002] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.024825] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 6.032075] usb usb1: Product: EHCI Host Controller [ 6.036959] usb usb1: Manufacturer: Linux 4.8.3-sun8i ehci_hcd [ 6.042806] usb usb1: SerialNumber: 1c1a000.usb [ 6.047978] hub 1-0:1.0: USB hub found [ 6.051802] hub 1-0:1.0: 1 port detected [ 6.056409] ehci-platform 1c1b000.usb: EHCI Host Controller [ 6.062039] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus 2 [ 6.069976] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000 [ 6.101632] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 6.107950] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.114760] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 6.122009] usb usb2: Product: EHCI Host Controller [ 6.126893] usb usb2: Manufacturer: Linux 4.8.3-sun8i ehci_hcd [ 6.132740] usb usb2: SerialNumber: 1c1b000.usb [ 6.137877] hub 2-0:1.0: USB hub found [ 6.141692] hub 2-0:1.0: 1 port detected [ 6.146215] ehci-platform 1c1c000.usb: EHCI Host Controller [ 6.151868] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus 3 [ 6.159785] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000 [ 6.191627] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 6.197930] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.204741] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 6.211990] usb usb3: Product: EHCI Host Controller [ 6.216874] usb usb3: Manufacturer: Linux 4.8.3-sun8i ehci_hcd [ 6.222728] usb usb3: SerialNumber: 1c1c000.usb [ 6.227862] hub 3-0:1.0: USB hub found [ 6.231683] hub 3-0:1.0: 1 port detected [ 6.236214] ehci-platform 1c1d000.usb: EHCI Host Controller [ 6.241842] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus 4 [ 6.249744] ehci-platform 1c1d000.usb: irq 33, io mem 0x01c1d000 [ 6.281628] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00 [ 6.287940] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.294750] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 6.301992] usb usb4: Product: EHCI Host Controller [ 6.306876] usb usb4: Manufacturer: Linux 4.8.3-sun8i ehci_hcd [ 6.312722] usb usb4: SerialNumber: 1c1d000.usb [ 6.317843] hub 4-0:1.0: USB hub found [ 6.321661] hub 4-0:1.0: 1 port detected [ 6.326174] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 6.332843] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus 5 [ 6.340729] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400 [ 6.415841] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 6.422659] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 6.429892] usb usb5: Product: Generic Platform OHCI controller [ 6.435829] usb usb5: Manufacturer: Linux 4.8.3-sun8i ohci_hcd [ 6.441676] usb usb5: SerialNumber: 1c1a400.usb [ 6.446784] hub 5-0:1.0: USB hub found [ 6.450585] hub 5-0:1.0: 1 port detected [ 6.455103] ohci-platform 1c1b400.usb: Generic Platform OHCI controller [ 6.461761] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus 6 [ 6.469654] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400 [ 6.545855] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001 [ 6.552666] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 6.559900] usb usb6: Product: Generic Platform OHCI controller [ 6.565840] usb usb6: Manufacturer: Linux 4.8.3-sun8i ohci_hcd [ 6.571689] usb usb6: SerialNumber: 1c1b400.usb [ 6.576784] hub 6-0:1.0: USB hub found [ 6.580586] hub 6-0:1.0: 1 port detected [ 6.585108] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 6.591775] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus 7 [ 6.599658] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400 [ 6.675847] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001 [ 6.682665] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 6.689899] usb usb7: Product: Generic Platform OHCI controller [ 6.695834] usb usb7: Manufacturer: Linux 4.8.3-sun8i ohci_hcd [ 6.701681] usb usb7: SerialNumber: 1c1c400.usb [ 6.706748] hub 7-0:1.0: USB hub found [ 6.710549] hub 7-0:1.0: 1 port detected [ 6.715065] ohci-platform 1c1d400.usb: Generic Platform OHCI controller [ 6.721726] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus 8 [ 6.729598] ohci-platform 1c1d400.usb: irq 34, io mem 0x01c1d400 [ 6.805826] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001 [ 6.812643] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 6.819877] usb usb8: Product: Generic Platform OHCI controller [ 6.825812] usb usb8: Manufacturer: Linux 4.8.3-sun8i ohci_hcd [ 6.831659] usb usb8: SerialNumber: 1c1d400.usb [ 6.836721] hub 8-0:1.0: USB hub found [ 6.840521] hub 8-0:1.0: 1 port detected [ 6.845123] usb_phy_generic.0.auto supply vcc not found, using dummy regulatr [ 6.853189] of_cfs_init [ 6.855752] of_cfs_init: OK [ 6.862580] vcc5v0: disabling [ 7.521619] sunxi-mmc 1c10000.mmc: fatal err update clk timeout [ 7.581609] sunxi-mmc 1c11000.mmc: fatal err update clk timeout [ 7.588633] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000) [ 8.331608] sunxi-mmc 1c11000.mmc: fatal err update clk timeout [ 8.331612] sunxi-mmc 1c10000.mmc: fatal err update clk timeout Loading, please wait... starting version 229 [ 8.406855] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 8.411385] random: udevadm: uninitialized urandom read (16 bytes read) [ 8.413014] random: udevadm: uninitialized urandom read (16 bytes read) [ 8.413394] random: udevadm: uninitialized urandom read (16 bytes read) [ 8.413756] random: udevadm: uninitialized urandom read (16 bytes read) [ 8.414129] random: udevadm: uninitialized urandom read (16 bytes read) [ 8.414499] random: udevadm: uninitialized urandom read (16 bytes read) [ 8.414898] random: udevadm: uninitialized urandom read (16 bytes read) [ 8.415318] random: udevadm: uninitialized urandom read (16 bytes read) [ 8.415686] random: udevadm: uninitialized urandom read (16 bytes read) [ 9.091625] sunxi-mmc 1c11000.mmc: fatal err update clk timeout [ 9.091628] sunxi-mmc 1c10000.mmc: fatal err update clk timeout Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems [ 9.476440] random: fast init done [ 9.532053] BTRFS: device label OPI_root_btrfs devid 1 transid 15463 /dev/mm2 done. Warning: fsck not present, so skipping root file system [ 9.607317] BTRFS info (device mmcblk0p2): disk space caching is enabled [ 9.614125] BTRFS info (device mmcblk0p2): has skinny extents [ 9.663948] BTRFS info (device mmcblk0p2): detected SSD devices, enabling SSe done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 10.213018] systemd[1]: System time before build time, advancing clock. [ 10.295193] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SE) [ 10.313813] systemd[1]: Detected architecture arm. Welcome to Ubuntu 16.04.1 LTS! [ 10.353961] systemd[1]: Set hostname to <orangepipc>. [ 10.869548] systemd[1]: Started Forward Password Requests to Wall Directory . [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 10.902618] systemd[1]: Set up automount Arbitrary Executable File Formats F. [ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. [ 10.942023] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 10.971944] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 11.001753] systemd[1]: Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems (Pre). [ 11.031891] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 11.062276] systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. Starting Nameserver information manager... Starting Load Kernel Modules... [ OK ] Created slice system-serial\x2dgetty.slice. Starting Uncomplicated firewall... [ OK ] Created slice system-systemd\x2dfsck.slice. [ OK ] Created slice User and Session Slice. [ 11.377980] ip_tables: © 2000-2006 Netfilter Core Team Starting Restore / save the current clock... [ 11.411911] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) Mounting POSIX Message Queue File System... [ OK ] Listening on Syslog Socket. [ 11.467484] ip6_tables: © 2000-2006 Netfilter Core Team [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Reached target Remote File Systems. [ OK ] Reached target Slices. [ OK ] Reached target Encrypted Volumes. Mounting Debug File System... Starting Create list of required st... nodes for the current kernel... Starting Set console keymap... [ OK ] Listening on Journal Socket (/dev/log). Starting Remount Root and Kernel File Systems... [ 11.815614] BTRFS info (device mmcblk0p2): disk space caching is enabled [ OK ] Listening on fsck to fsckd communication Socket. [ OK ] Mounted Debug File System. [ OK ] Mounted POSIX Message Queue File System. [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. [ OK ] Started Uncomplicated firewall. [ OK ] Started Restore / save the current clock. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Set console keymap. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Nameserver information manager. Starting Load/Save Random Seed... Starting udev Coldplug all Devices... Starting Create Static Device Nodes in /dev... Mounting Configuration File System... Starting Apply Kernel Variables... [ OK ] Mounted Configuration File System. [ OK ] Started Load/Save Random Seed. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Apply Kernel Variables. Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... [ OK ] Mounted /tmp. [ OK ] Started Entropy daemon using the HAVEGE algorithm. Starting Journal Service... [ OK ] Started udev Coldplug all Devices. [ OK ] Started udev Kernel Device Manager. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... [ OK ] Started Flush Journal to Persistent Storage. [ 13.766510] Bad mode in prefetch abort handler detected [ 13.771766] Bad mode in prefetch abort handler detected [ 13.776998] Bad mode in prefetch abort handler detected [ 13.782229] Bad mode in prefetch abort handler detected [ 13.787456] Bad mode in prefetch abort handler detected [ 13.792683] Bad mode in prefetch abort handler detected [ 13.797910] Bad mode in prefetch abort handler detected [ 13.803138] Bad mode in prefetch abort handler detected [ 13.808366] Bad mode in prefetch abort handler detected [ 13.813618] Internal error: Oops - bad mode: 0 [#1] SMP ARM [ 13.819211] Modules linked in: cpufreq_dt uio_pdrv_genirq thermal_sys uio ips [ 13.859304] CPU: 0 PID: 372 Comm: haveged Not tainted 4.8.3-sun8i #2 [ 13.865662] Hardware name: Allwinner sun8i Family [ 13.870372] task: c98063c0 task.stack: ee144000 [ 13.874908] PC is at 0x1c [ 13.877541] LR is at __probe_kernel_read+0x48/0xac [ 13.882339] pc : [<0000001c>] lr : [<c01c5220>] psr: 000f0197 [ 13.882339] sp : ee145610 ip : 0000001c fp : 00127a39 [ 13.893817] r10: 8119fb80 r9 : 00000000 r8 : c0ac4cd4 [ 13.899047] r7 : ee145744 r6 : 00000055 r5 : 00000000 r4 : ffffe000 [ 13.905590] r3 : 00000000 r2 : ffffffe4 r1 : 0000001c r0 : 000f0193 [ 13.912126] Flags: nzcv IRQs off FIQs on Mode ABT_32 ISA ARM Segment noe [ 13.919354] Control: 10c5387d Table: 6e1b006a DAC: 00000000 [ 13.925100] Process haveged (pid: 372, stack limit = 0xee144210) [ 13.931105] Stack: (0xee145610 to 0xee146000) [ 13.935464] 5600: 000f0193 0000001c ffff0 [ 13.943644] 5620: ffffe000 00000000 00000055 ee145744 c0ac4cd4 00000000 81199 [ 13.951824] 5640: 0000001c ee145610 c01c5220 0000001c 000f0197 ffffffff 00005 [ 13.960003] 5660: ee145744 c0ac4cd4 ee145698 00000004 00000000 ffffe000 c01cc [ 13.968183] 5680: ee145744 600f0193 ee145744 c0ac4cd4 c010b890 c0d50738 c0d0b [ 13.976364] 56a0: c054bfd8 c0d0cec8 c016c0a4 0000002b c016c924 c0d4e29c c0d03 [ 13.984544] 56c0: c010b570 c0d7307e 0000002b 00000002 00000000 600f0193 00000 [ 13.992724] 56e0: c0d7307c 00000000 ee145744 0000001c 000f0197 ffffffff c0ac0 [ 14.000904] 5700: 8119fb80 00127a39 c016cd80 c0ac4cb0 ee145730 0000000a ee14c [ 14.009084] 5720: 000f0197 ffffffff c0ac4cd4 00000000 8119fb80 00127a39 c0103 [ 14.017264] 5740: c01c5220 000f0193 0000001c ffffffe4 00000000 ffffe000 00005 [ 14.025443] 5760: ee145878 c0ac4cd4 00000000 8119fb80 00127a39 0000001c ee140 [ 14.033623] 5780: 0000001c 000f0197 ffffffff 00000000 00000055 ee145878 c0acc [ 14.041804] 57a0: 00000004 00000000 ffffe000 c01c5220 0000001c ee145878 600f8 [ 14.049985] 57c0: c0ac4cd4 c010b890 c0d50738 c0d0cec8 0000002b c054bfd8 c0d04 [ 14.058165] 57e0: 0000002b c016c924 c0d4e29c c0d07a90 600f0193 c010b570 c0d7b [ 14.066346] 5800: 00000002 00000000 600f0193 00000000 00000000 c0d7307c 00008 [ 14.074526] 5820: 0000001c 000f0197 ffffffff c0ac4cd4 00000000 8119fb80 00120 [ 14.082706] 5840: c0ac4cb0 ee145864 0000000a ee145878 0000001c 000f0197 ffff4 [ 14.090887] 5860: 00000000 8119fb80 00127a39 c010b98c 000f0193 c01c5220 000fc [ 14.099067] 5880: ffffffe4 00000000 ffffe000 00000000 00000055 ee1459ac c0ac0 [ 14.107247] 58a0: 8119fb80 00127a39 0000001c ee145878 c01c5220 0000001c 000ff [ 14.115427] 58c0: 00000000 00000055 ee1459ac c0ac4cd4 ee145900 00000004 00000 [ 14.123607] 58e0: c01c5220 0000001c ee1459ac 600f0193 ee1459ac c0ac4cd4 c0108 [ 14.131787] 5900: c0d0cec8 0000002b c054bfd8 c0d0cec8 c016c0a4 0000002b c016c [ 14.139966] 5920: c0d07a90 600f0193 c010b570 c0d7307e 0000002b 00000002 00003 [ 14.148146] 5940: 00000000 00000000 c0d7307c 00000000 ee1459ac 0000001c 000ff [ 14.156326] 5960: c0ac4cd4 00000000 8119fb80 00127a39 c016cd80 c0ac4cb0 ee14a [ 14.164507] 5980: ee1459ac 0000001c 000f0197 ffffffff c0ac4cd4 00000000 81199 [ 14.172686] 59a0: c010b98c 000f0193 c01c5220 000f0193 0000001c ffffffe4 00000 [ 14.180866] 59c0: 00000000 00000055 ee145ae0 c0ac4cd4 00000000 8119fb80 0012c [ 14.189046] 59e0: ee1459ac c01c5220 0000001c 000f0197 ffffffff 00000000 00000 [ 14.197225] 5a00: c0ac4cd4 ee145a34 00000004 00000000 ffffe000 c01c5220 00000 [ 14.205407] 5a20: 600f0193 ee145ae0 c0ac4cd4 c010b890 c0d50738 c0d0cec8 00008 [ 14.213587] 5a40: c0d0cec8 c016c0a4 0000002b c016c924 c0d4e29c c0d07a90 600f0 [ 14.221767] 5a60: c0d7307e 0000002b 00000002 00000000 600f0193 00000000 0000c [ 14.229948] 5a80: 00000000 ee145ae0 0000001c 000f0197 ffffffff c0ac4cd4 00000 [ 14.238127] 5aa0: 00127a39 c016cd80 c0ac4cb0 ee145acc 0000000a ee145ae0 00007 [ 14.246309] 5ac0: ffffffff c0ac4cd4 00000000 8119fb80 00127a39 c010b98c 000f0 [ 14.254488] 5ae0: 000f0193 0000001c ffffffe4 00000000 ffffe000 00000000 00004 [ 14.262668] 5b00: c0ac4cd4 00000000 8119fb80 00127a39 0000001c ee145ae0 c01cc [ 14.270848] 5b20: 000f0197 ffffffff 00000000 00000055 ee145c14 c0ac4cd4 ee144 [ 14.279028] 5b40: 00000000 ffffe000 c01c5220 0000001c ee145c14 600f0193 ee144 [ 14.287209] 5b60: c010b890 c0d50738 c0d0cec8 0000002b c054bfd8 c0d0cec8 c016b [ 14.295389] 5b80: c016c924 c0d4e29c c0d07a90 600f0193 c010b570 c0d7307e 00002 [ 14.303569] 5ba0: 00000000 600f0193 00000000 00000000 c0d7307c 00000000 ee14c [ 14.311750] 5bc0: 000f0197 ffffffff c0ac4cd4 00000000 8119fb80 00127a39 c0160 [ 14.319929] 5be0: ee145c00 0000000a ee145c14 0000001c 000f0197 ffffffff c0ac0 [ 14.328109] 5c00: 8119fb80 00127a39 c010b98c 000f0193 c01c5220 000f0193 00004 [ 14.336289] 5c20: 00000000 ffffe000 00000000 00000055 ee145d48 c0ac4cd4 00000 [ 14.344469] 5c40: 00127a39 0000001c ee145c14 c01c5220 0000001c 000f0197 ffff0 [ 14.352648] 5c60: 00000055 ee145d48 c0ac4cd4 ee145c9c 00000004 00000000 ffff0 [ 14.360829] 5c80: 0000001c ee145d48 600f0193 ee145d48 c0ac4cd4 c010b890 c0d58 [ 14.369009] 5ca0: 0000002b c054bfd8 c0d0cec8 c016c0a4 0000002b c016c924 c0d40 [ 14.377189] 5cc0: 600f0193 c010b570 c0d7307e 0000002b 00000002 00000000 600f0 [ 14.385368] 5ce0: 00000000 c0d7307c 00000000 ee145d48 0000001c 000f0197 ffff4 [ 14.393548] 5d00: 00000000 8119fb80 00127a39 c016cd80 c0ac4cb0 ee145d34 00008 [ 14.401728] 5d20: 0000001c 000f0197 ffffffff c0ac4cd4 00000000 8119fb80 0012c [ 14.409908] 5d40: 000f0193 c01c5220 000f0193 0000001c ffffffe4 00000000 ffff0 [ 14.418088] 5d60: 00000055 ee145e7c c0ac4cd4 00000000 8119fb80 00127a39 00008 [ 14.426268] 5d80: c01c5220 0000001c 000f0197 ffffffff 00000000 00000055 ee144 [ 14.434447] 5da0: ee145dd0 00000004 00000000 ffffe000 c01c5220 0000001c ee143 [ 14.442627] 5dc0: ee145e7c c0ac4cd4 c010b890 c0d50738 c0d0cec8 0000002b c0548 [ 14.450807] 5de0: c016c0a4 0000002b c016c924 c0d4e29c c0d07a90 600f0193 c010e [ 14.458986] 5e00: 0000002b 00000002 00000000 600f0193 00000000 00000000 c0d70 [ 14.467166] 5e20: ee145e7c 0000001c 000f0197 ffffffff c0ac4cd4 00000000 81199 [ 14.475345] 5e40: c016cd80 c0ac4cb0 ee145e68 0000000a ee145e7c 0000001c 000ff [ 14.483525] 5e60: c0ac4cd4 00000000 8119fb80 00127a39 c010b98c 000f0193 c01c3 [ 14.491705] 5e80: 02002010 ffffffe4 00000000 ffffe000 bf000000 00000055 ee144 [ 14.499885] 5ea0: 00000000 8119fb80 00127a39 0000001c ee145e7c c01c5220 00007 [ 14.508065] 5ec0: ffffffff bf000000 00000055 ee145fb0 c0ac4cd4 ee145f04 00000 [ 14.516244] 5ee0: ffffe000 c01c5220 02002010 ee145fb0 600f0193 ee145fb0 c0ac0 [ 14.524424] 5f00: c0d50738 c01ab17c 0000002b c054bfd8 c0d0cec8 c016c0a4 00004 [ 14.532604] 5f20: c0d4e29c c0d07a90 600f0193 c010b570 c0d7307e 0000002b 00000 [ 14.540784] 5f40: 600f0193 00000000 00000000 c0d7307c ef1c7000 ee145fb0 02007 [ 14.548963] 5f60: ffffffff 29aaaaab 00000001 8119fb80 00127a39 c016cd80 c0acc [ 14.557143] 5f80: f080200c ee145fb0 02002010 000f0197 ffffffff 29aaaaab 00000 [ 14.565323] 5fa0: 00127a39 c010b98c 000f0193 bea17540 000f0193 1a2db126 1bff0 [ 14.573503] 5fc0: be8d2a2c a7d5b608 0000162f ffffffff 29aaaaab 00000001 81199 [ 14.581683] 5fe0: 02002010 ee145fb0 bea17540 02002010 000f0197 ffffffff fffff [ 14.589879] [<c01c5220>] (__probe_kernel_read) from [<00000000>] ( (null)) [ 14.596844] Code: bad PC value [ 14.599903] ---[ end trace a495395ac3c4eb4e ]--- [** ] (1 of 3) A start job is running for...mcblk0p3.device (23s / 1min 30s): [ 34.777471] 1-...: (1 GPs behind) idle=aed/140000000000000/0 softirq=685/69 [ 34.785692] (detected by 3, t=2102 jiffies, g=-70, c=-71, q=5239) [ 34.792070] Task dump for CPU 1: [ 34.795426] systemd-udevd R running 0 390 1 0x00000003 [ 34.802105] [<c08bb968>] (__schedule) from [<00000054>] (0x54) [* ] (1 of 3) A start job is running for...mcblk0p3.device (38s / 1min 30s)e [** ] (1 of 3) A start job is running for...0p3.device (1min 26s / 1min 30s): [ 97.827432] 1-...: (1 GPs behind) idle=aed/140000000000000/0 softirq=685/69 [ 97.835652] (detected by 0, t=8408 jiffies, g=-70, c=-71, q=5383) [ 97.842035] Task dump for CPU 1: [ 97.845390] systemd-udevd R running 0 390 1 0x00000003 [ 97.852070] [<c08bb968>] (__schedule) from [<00000054>] (0x54) [ TIME ] Timed out waiting for device dev-ttyS0.device. [DEPEND] Dependency failed for Serial Getty on ttyS0. [ TIME ] Timed out waiting for device dev-mmcblk0p3.device. [DEPEND] Dependency failed for /dev/mmcblk0p3. [DEPEND] Dependency failed for Swap. [ TIME ] Timed out waiting for device dev-mmcblk0p1.device. [DEPEND] Dependency failed for /boot. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for File System Check on /dev/mmcblk0p1.
  11. That did it!! Thank you. Firing on all 4.
  12. I need to run btrfs for a headless web server on an Opi PC. The armbian 3.4 kernel btrfs is too green to be used. I was able to install the 4.7.3 kernel (and remove the 3.4.x) using apt. I got btrfs and support for some USB devices, but lost HDMI and 3 cpu cores. Is there a better option I could try? This board seems to be running like a champ with just one core but I would like to have it fire on all 4 and have at least some video output if I wanted to. Is it ok to ask for recomends as to what board I might better choose? I require a modern Ubuntu/kernel, decent usb, decent network (gigabit if possible), and low cost. They will be used for personal cloud and backup servers with usb storage or for network router boxes? Wifi and BT not required.
  13. This happened to me today (twice so far) on my brand new OPI PC with a fresh install. What is the "far more complex" procedure to move past this? I followed your instructions for the upgrade. I started with a virgin Armbian_5.14_Orangepipc_Ubuntu_xenial_3.4.112.raw I still get stuck here: (Reading database ... 44685 files and directories currently installed.) Preparing to unpack .../armbian-tools-xenial_5.20_armhf.deb ... Unpacking armbian-tools-xenial (5.20) over (5.14) ... dpkg: error processing archive /var/cache/apt/archives/armbian-tools-xenial_5.20_armhf.deb (--unpack): trying to overwrite '/etc/init.d/brcm40183-patch', which is also in package linux-xenial-root-orangepipc 5.16 Processing triggers for systemd (229-4ubuntu11) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing: /var/cache/apt/archives/armbian-tools-xenial_5.20_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
  14. It worked. It took some trial and error because I was missing something btrfs related, but here is a cleaned up version of my steps: # If the kernel has btrfs as external module (turns out I did not need this step): #Insert a line to /etc/initramfs-tools/modules containing: "btrfs" #make new uInitrd with btrfs module: mkinitramfs -c gzip -o ./initrd `uname -r` mkimage -C none -A arm -O linux -T ramdisk -a 0 -e 0 -n initramfs -d ./initrd uInitrd rm -f ./initrd # now insert SD into another device like a PC # create a new btrfs partition for root #create subvolume for root btrfs sub create @ #move everything in "/" to @ except for /boot which remains ext4 # mkdir /boot on the NEW btrfs root filesystem # move everything from originalext4fs/boot on the OLD ext4 filesystem up one level to originalext4fs/ # from the root of the OLD ext4 ( originalext4fs/ ) ln -s . boot # use "btrfs filesystem show" or whatever to find the new uuid # edit/update /boot/boot.cmd #change root=??? to root=UUID=YourNewBtrfsUUID #change to rootfstype=btrfs #add rootflags=subvol=@ # generate new boot.scr: apt-get install u-boot-tools # if not installed already mkimage -C none -A arm -T script -d ./boot.cmd ./boot.scr # edit fstab to look something like this: #old ext4 now /boot: /dev/mmcblk0p1 /boot ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1 #new btrfs root : UUID=newuuid-for-btrfs / btrfs subvol=@,defaults,noatime,nodiratime 0 1 # no change: tmpfs /tmp tmpfs defaults,nosuid 0 0 /var/swap none swap sw 0 0 #reboot and see if you can do the happy dance like me!
  15. Hello. I want to use btrfs as my rootfs (Armbian Ubuntu xenial 5.14 on M2) so I can use snapshots to roll back, freeze for backups, and to help manage changes. Btrfs is also good for error checking and can provide cheap easy data redundancy. How does booting work on my BPI M2? How can I change the target root partition? What has to be on /boot (ext4) and what can be on / (btrfs)? Along the same lines, is it possible to boot off of a USB device either directly or indirectly (Small SD with bootloader and /boot→ USB large root device)? Is there some documentation or good keywords to learn about how booting works in the ARM world?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines