OpenMediaVault-Plugin-Developers / openmediavault-wireguard

openmediavault plugin for WireGuard
13 stars 6 forks source link

OMV reboots after applying changes #26

Open jacanestro opened 2 months ago

jacanestro commented 2 months ago

Hello.

I have 2 WG clients working without any problem since some time ago. Now, I have added a new client from WebUI. I see that the OMV config.xml is updated, but when I apply the changes to take effect, after a few minutes of OMV clock icon, the machine (a Banana PI) reboots itself. I don't know where to see the logs to find what's going on. Any help would be appreciated.

System info:

OS/Debian information Distributor ID: Debian Description: Armbian 24.5.0-trunk.493 bookworm Release: 12 Codename: bookworm

openmediavault information Release: 7.0.5-1 Codename: Sandworm

System information Linux bananapi 6.6.29-current-sunxi #1 SMP Sat Apr 27 15:11:44 UTC 2024 armv7l GNU/Linux

openmediavault plugins Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description

ii openmediavault-flashmemory 7.0 all folder2ram plugin for openmediavault ii openmediavault-keyring 1.0.2-2 all GnuPG archive keys of the openmediavault archive ii openmediavault-omvextrasorg 7.0 all OMV-Extras.org Package Repositories for OpenMediaVault ii openmediavault-wireguard 7.0.4 all openmediavault WireGuard plugin

ryecoaaron commented 2 months ago

Which banana pi? I'm guessing old since this seems like the system ran out of memory and rebooted.

jacanestro commented 2 months ago

It's a Banana Pi M1+. It is old, yes, but when I added the first 2 clients, there was no problem. Do you know any way to confirm there is a memory issue? Any log I could see? Or, as I can see in the OMV XML file all the new keys, can I add the clients manually from command line? Thanks again for your time and help.

ryecoaaron commented 2 months ago

Each client consumes more ram. It seems like the third was too much.

If you had a monitor plugged into the system, you might see an OOM (out of memory) message. As for logs, it depends on how fast it reboot to know if it had time to log anything.

I don't see how adding clients from the command line will help.

jacanestro commented 2 months ago

I have run a bash script (cat /proc/meminfo >> Memory.txt) to check and save the memory status every 0.2 sec and I don't see any memory issues 🙄 (See last lines recorded before rebooting at the end)

The reboot problem occurs when I apply the changes to the system. I imagine (I'm not an expert) that the OMV "Apply changes" makes OMV run a script to use the wireguard commands to update the Linux configuration. That's why I asked for the possibility of doing it from command line and check if it reboots when adding the new client from command line or not.

What do you think?? Thanks


MemTotal: 989248 kB MemFree: 562980 kB MemAvailable: 721840 kB Buffers: 16896 kB Cached: 200148 kB SwapCached: 0 kB Active: 115144 kB Inactive: 240160 kB Active(anon): 3924 kB Inactive(anon): 177368 kB Active(file): 111220 kB Inactive(file): 62792 kB Unevictable: 0 kB Mlocked: 0 kB HighTotal: 229436 kB HighFree: 5736 kB LowTotal: 759812 kB LowFree: 557244 kB SwapTotal: 0 kB SwapFree: 0 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 1348 kB Writeback: 0 kB AnonPages: 138272 kB Mapped: 92224 kB Shmem: 43032 kB KReclaimable: 22104 kB Slab: 43304 kB SReclaimable: 22104 kB SUnreclaim: 21200 kB KernelStack: 1816 kB PageTables: 4308 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 494624 kB Committed_AS: 644660 kB VmallocTotal: 245760 kB VmallocUsed: 10292 kB VmallocChunk: 0 kB Percpu: 416 kB CmaTotal: 98304 kB CmaFree: 96868 kB


MemTotal: 989248 kB MemFree: 562980 kB MemAvailable: 721840 kB Buffers: 16896 kB Cached: 200148 kB SwapCached: 0 kB Active: 115144 kB Inactive: 240160 kB Active(anon): 3924 kB Inactive(anon): 177368 kB Active(file): 111220 kB Inactive(file): 62792 kB Unevictable: 0 kB Mlocked: 0 kB HighTotal: 229436 kB HighFree: 5736 kB LowTotal: 759812 kB LowFree: 557244 kB SwapTotal: 0 kB SwapFree: 0 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 56 kB Writeback: 1292 kB AnonPages: 138272 kB Mapped: 92224 kB Shmem: 43032 kB KReclaimable: 22104 kB Slab: 43304 kB SReclaimable: 22104 kB SUnreclaim: 21200 kB KernelStack: 1816 kB PageTables: 4308 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 494624 kB Committed_AS: 644660 kB VmallocTotal: 245760 kB VmallocUsed: 10292 kB VmallocChunk: 0 kB Percpu: 416 kB CmaTotal: 98304 kB CmaFree: 96868 kB


MemTotal: 989248 kB MemFree: 562980 kB MemAvailable: 721840 kB Buffers: 16896 kB Cached: 200148 kB SwapCached: 0 kB Active: 115144 kB Inactive: 240160 kB Active(anon): 3924 kB Inactive(anon): 177368 kB Active(file): 111220 kB Inactive(file): 62792 kB Unevictable: 0 kB Mlocked: 0 kB HighTotal: 229436 kB HighFree: 5736 kB LowTotal: 759812 kB LowFree: 557244 kB

ryecoaaron commented 2 months ago

Running out of memory was just a guess. You can run: sudo omv-salt deploy run wireguard

But theis takes the nginx and php parts out of the test. So it is not apples to apples.

jacanestro commented 2 months ago

Yes, I know it was a guess and I appreciate it. I'll check what you suggest and will update the thread.

jacanestro commented 2 months ago

I tried the command once and it it rebooted again. I read and run these commands without success too:

salt-call --local saltutil.clear_cache
omv-salt stage run prepare
omv-salt deploy run wireguard

root@bananapi:~#salt-call --local saltutil.clear_cache

/usr/lib/python3/dist-packages/salt/utils/http.py:8: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  import cgi
/usr/lib/python3/dist-packages/salt/utils/jinja.py:9: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
local:
    True

root@bananapi:~# omv-salt stage run prepare


bananapi:
----------
          ID: run_state_patch
    Function: salt.state
      Result: True
     Comment: States ran successfully. No changes made to bananapi.
     Started: 13:50:21.159274
    Duration: 23530.245 ms
     Changes:
----------
          ID: sync_runners
    Function: salt.runner
        Name: saltutil.sync_runners
      Result: True
     Comment: Runner function 'saltutil.sync_runners' executed.
     Started: 13:50:44.699777
    Duration: 25844.913 ms
     Changes:
              ----------
              return:
----------
          ID: sync_modules
    Function: salt.runner
        Name: saltutil.sync_modules
      Result: True
     Comment: Runner function 'saltutil.sync_modules' executed.
     Started: 13:51:10.550253
    Duration: 19428.49 ms
     Changes:
              ----------
              return:
----------
          ID: sync_states
    Function: salt.runner
        Name: saltutil.sync_states
      Result: True
     Comment: Runner function 'saltutil.sync_states' executed.
     Started: 13:51:29.984725
    Duration: 22076.273 ms
     Changes:
              ----------
              return:
----------
          ID: populate_pillar
    Function: salt.runner
        Name: omv.populate_pillar
      Result: True
     Comment: Runner function 'omv.populate_pillar' executed.
     Started: 13:51:52.075465
    Duration: 42103.335 ms
     Changes:
              ----------
              return:
                  True
----------
          ID: run_state_sync
    Function: salt.state
      Result: True
     Comment: States ran successfully. Updating bananapi.
     Started: 13:52:34.186010
    Duration: 45647.017 ms
     Changes:
              bananapi:
              ----------
                        ID: clear_cache
                  Function: module.run
                    Result: True
                   Comment: saltutil.clear_cache: True
                   Started: 13:52:54.742734
                  Duration: 326.632 ms
                   Changes:
                            ----------
                            saltutil.clear_cache:
                                True
              ----------
                        ID: sync_grains
                  Function: saltutil.sync_grains
                    Result: True
                   Comment: Updated grains.
                   Started: 13:52:55.105324
                  Duration: 17644.269 ms
                   Changes:
                            ----------
                            grains:
                                - grains.omv
              ----------
                        ID: sync_states
                  Function: saltutil.sync_states
                    Result: True
                   Comment: Updated states.
                   Started: 13:53:12.754192
                  Duration: 3471.06 ms
                   Changes:
                            ----------
                            states:
                                - states.omv_dpkg
              ----------
                        ID: sync_modules
                  Function: saltutil.sync_modules
                    Result: True
                   Comment: Updated modules.
                   Started: 13:53:16.229624
                  Duration: 3575.213 ms
                   Changes:
                            ----------
                            modules:
                                - modules.omv_conf
                                - modules.omv_utils

              Summary for bananapi
              ------------
              **Succeeded: 4 (changed=4)**
              Failed:    0
              ------------
              Total states run:     4
              Total run time:  25.017 s

Summary for bananapi
------------
Succeeded: 6 (changed=5)
Failed:    0
------------
Total states run:     6
Total run time: 178.630 s

root@bananapi:~# omv-salt deploy run wireguard

It rebooted again too. :-(

ryecoaaron commented 2 months ago

Sounds like something is segfaulting in the kernel. Is there anything in dmesg?

jacanestro commented 2 months ago

How can I track it?? I run dmesg | grep segfault , but there is nothing. I copy the whole output. I don't see nothing critial, but I'm not an expert: The fact is that adding clients used to work without any problems... I have 1 tunnel and 2 clients added. Clients do not connect at the same time... I don't know how to debug it.

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.29-current-sunxi (armbian@next) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP Sat Apr 27 15:11:44 UTC 2024
[    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: LeMaker Banana Pi
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x4a000000, size 96 MiB
[    0.000000] OF: reserved mem: initialized node default-pool, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x4a000000..0x4fffffff (98304 KiB) map reusable default-pool
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x000000006fffffff]
[    0.000000]   HighMem  [mem 0x0000000070000000-0x000000007e00efff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007e00efff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007e00efff]
[    0.000000] On node 0, zone HighMem: 2033 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 18 pages/cpu s44308 r8192 d21228 u73728
[    0.000000] pcpu-alloc: s44308 r8192 d21228 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Kernel command line: root=UUID=211e78fe-1246-4853-a1be-b7fe6ff1b7b3 rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart=6c1341bc-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u,0x1058:0x2626:u   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[    0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=6c1341bc-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 252239
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 875824K/1015868K available (10240K kernel code, 1596K rwdata, 3728K rodata, 1024K init, 371K bss, 41740K reserved, 98304K cma-reserved, 229436K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] allocated 1048576 bytes of page_ext
[    0.000000] ftrace: allocating 46265 entries in 136 pages
[    0.000000] ftrace: allocated 136 pages with 2 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000471] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.001253] Console: colour dummy device 80x30
[    0.001277] printk: console [tty1] enabled
[    0.001438] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001462] CPU: Testing write buffer coherency: ok
[    0.001532] pid_max: default: 32768 minimum: 301
[    0.008068] LSM: initializing lsm=capability,yama,apparmor,integrity
[    0.011016] Yama: becoming mindful.
[    0.011213] AppArmor: AppArmor initialized
[    0.012923] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.012953] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.021119] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.022623] RCU Tasks Rude: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.022853] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.023145] Setting up static identity map for 0x40100000 - 0x40100054
[    0.023418] rcu: Hierarchical SRCU implementation.
[    0.023432] rcu:     Max phase no-delay instances is 1000.
[    0.025478] smp: Bringing up secondary CPUs ...
[    0.036780] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.037013] smp: Brought up 1 node, 2 CPUs
[    0.037036] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.037049] CPU: All CPU(s) started in HYP mode.
[    0.037055] CPU: Virtualization extensions available.
[    0.038945] devtmpfs: initialized
[    0.051707] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.052110] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.052169] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.061467] pinctrl core: initialized pinctrl subsystem
[    0.064199] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.071256] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.072218] audit: initializing netlink subsys (disabled)
[    0.072774] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1
[    0.073510] thermal_sys: Registered thermal governor 'fair_share'
[    0.073531] thermal_sys: Registered thermal governor 'bang_bang'
[    0.073541] thermal_sys: Registered thermal governor 'step_wise'
[    0.073942] cpuidle: using governor ladder
[    0.074010] cpuidle: using governor menu
[    0.074674] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.074693] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.083154] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/hdmi@1c16000
[    0.083273] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/display-backend@1e40000
[    0.083367] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/display-backend@1e60000
[    0.083660] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/hdmi@1c16000
[    0.083754] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/display-backend@1e40000
[    0.083845] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/display-backend@1e60000
[    0.085959] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/hdmi@1c16000
[    0.086166] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/hdmi@1c16000
[    0.086372] platform 1c16000.hdmi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
[    0.086576] platform 1c16000.hdmi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[    0.093254] platform 1e00000.display-frontend: Fixed dependency cycle(s) with /soc/display-backend@1e40000
[    0.093350] platform 1e00000.display-frontend: Fixed dependency cycle(s) with /soc/display-backend@1e60000
[    0.093723] platform 1e20000.display-frontend: Fixed dependency cycle(s) with /soc/display-backend@1e40000
[    0.093795] platform 1e20000.display-frontend: Fixed dependency cycle(s) with /soc/display-backend@1e60000
[    0.094119] platform 1e20000.display-frontend: Fixed dependency cycle(s) with /soc/display-backend@1e40000
[    0.094296] platform 1e00000.display-frontend: Fixed dependency cycle(s) with /soc/display-backend@1e40000
[    0.094423] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/display-backend@1e40000
[    0.094600] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/display-backend@1e40000
[    0.094711] platform 1e40000.display-backend: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
[    0.094850] platform 1e40000.display-backend: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[    0.094957] platform 1e40000.display-backend: Fixed dependency cycle(s) with /soc/display-frontend@1e20000
[    0.095065] platform 1e40000.display-backend: Fixed dependency cycle(s) with /soc/display-frontend@1e00000
[    0.095495] platform 1e20000.display-frontend: Fixed dependency cycle(s) with /soc/display-backend@1e60000
[    0.095640] platform 1e00000.display-frontend: Fixed dependency cycle(s) with /soc/display-backend@1e60000
[    0.095793] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/display-backend@1e60000
[    0.095941] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/display-backend@1e60000
[    0.096051] platform 1e60000.display-backend: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
[    0.096185] platform 1e60000.display-backend: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[    0.096291] platform 1e60000.display-backend: Fixed dependency cycle(s) with /soc/display-frontend@1e20000
[    0.096397] platform 1e60000.display-backend: Fixed dependency cycle(s) with /soc/display-frontend@1e00000
[    0.098525] platform 1c16000.hdmi: Fixed dependency cycle(s) with /hdmi-connector
[    0.098782] platform hdmi-connector: Fixed dependency cycle(s) with /soc/hdmi@1c16000
[    0.102968] cryptd: max_cpu_qlen set to 1000
[    0.173546] raid6: neonx8   gen()   587 MB/s
[    0.241678] raid6: neonx4   gen()   818 MB/s
[    0.309820] raid6: neonx2   gen()   824 MB/s
[    0.377946] raid6: neonx1   gen()   674 MB/s
[    0.446131] raid6: int32x8  gen()   256 MB/s
[    0.514282] raid6: int32x4  gen()   285 MB/s
[    0.582371] raid6: int32x2  gen()   371 MB/s
[    0.650548] raid6: int32x1  gen()   334 MB/s
[    0.650563] raid6: using algorithm neonx2 gen() 824 MB/s
[    0.718608] raid6: .... xor() 608 MB/s, rmw enabled
[    0.718619] raid6: using neon recovery algorithm
[    0.720358] iommu: Default domain type: Translated
[    0.720384] iommu: DMA domain TLB invalidation policy: strict mode
[    0.721019] SCSI subsystem initialized
[    0.721578] libata version 3.00 loaded.
[    0.721869] usbcore: registered new interface driver usbfs
[    0.721963] usbcore: registered new interface driver hub
[    0.722033] usbcore: registered new device driver usb
[    0.722326] pps_core: LinuxPPS API ver. 1 registered
[    0.722338] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.722365] PTP clock support registered
[    0.723446] Advanced Linux Sound Architecture Driver Initialized.
[    0.724934] NetLabel: Initializing
[    0.724956] NetLabel:  domain hash size = 128
[    0.724965] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.725080] NetLabel:  unlabeled traffic allowed by default
[    0.726176] clocksource: Switched to clocksource arch_sys_counter
[    0.735783] VFS: Disk quotas dquot_6.6.0
[    0.736165] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.737037] AppArmor: AppArmor Filesystem Enabled
[    0.751848] NET: Registered PF_INET protocol family
[    0.752194] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.755098] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.755290] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.755340] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.755490] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.755872] TCP: Hash tables configured (established 8192 bind 8192)
[    0.756128] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.756229] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.756932] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.757438] Trying to unpack rootfs image as initramfs...
[    0.757995] armv7-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[    0.758913] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.763138] Initialise system trusted keyrings
[    0.763286] Key type blacklist registered
[    0.763976] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.764098] zbud: loaded
[    0.775791] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.785558] fuse: init (API version 7.39)
[    0.796078] integrity: Platform Keyring initialized
[    0.986319] xor: measuring software checksum speed
[    0.994808]    arm4regs        :  1172 MB/sec
[    1.007339]    8regs           :   788 MB/sec
[    1.020195]    32regs          :   767 MB/sec
[    1.028284]    neon            :  1230 MB/sec
[    1.028311] xor: using function: neon (1230 MB/sec)
[    1.028343] Key type asymmetric registered
[    1.028353] Asymmetric key parser 'x509' registered
[    1.028930] bounce: pool size: 64 pages
[    1.029524] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.030445] io scheduler mq-deadline registered
[    1.030474] io scheduler kyber registered
[    1.031092] io scheduler bfq registered
[    1.057466] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    1.073540] sun4i-drm display-engine: bound 1e00000.display-frontend (ops 0xc0bb089c)
[    1.073745] sun4i-drm display-engine: bound 1e20000.display-frontend (ops 0xc0bb089c)
[    1.074346] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0bb0008)
[    1.074897] sun4i-drm display-engine: bound 1e40000.display-backend (ops 0xc0bb0008)
[    1.075767] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.075824] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0bae4e8)
[    1.076676] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.076729] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xc0bae4e8)
[    1.082644] sun4i-drm display-engine: bound 1c16000.hdmi (ops 0xc0bb129c)
[    1.084243] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.084394] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    1.087193] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    1.093600] brd: module loaded
[    1.103740] loop: module loaded
[    1.105027] ahci-sunxi 1c18000.sata: supply ahci not found, using dummy regulator
[    1.105410] ahci-sunxi 1c18000.sata: supply phy not found, using dummy regulator
[    1.105584] ahci-sunxi 1c18000.sata: supply target not found, using dummy regulator
[    1.158518] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    1.158562] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    1.158636] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.158664] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc
[    1.160806] scsi host0: ahci-sunxi
[    1.161806] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 36
[    1.167203] usbcore: registered new interface driver usb-storage
[    1.169162] sunxi-rtc 1c20d00.rtc: registered as rtc0
[    1.169232] sunxi-rtc 1c20d00.rtc: setting system clock to 2024-05-02T14:16:52 UTC (1714659412)
[    1.169529] i2c_dev: i2c /dev entries driver
[    1.172904] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.175753] ledtrig-cpu: registered to indicate activity on CPUs
[    1.176207] sun4i-ss 1c15000.crypto-engine: no reset control found
[    1.176340] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    1.177939] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    1.178405] hid: raw HID events driver (C) Jiri Kosina
[    1.178634] usbcore: registered new interface driver usbhid
[    1.178657] usbhid: USB HID core driver
[    1.191007] Initializing XFRM netlink socket
[    1.192444] NET: Registered PF_INET6 protocol family
[    1.485653] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.486970] ata1.00: supports DRM functions and may not be fully accessible
[    1.486993] ata1.00: ATA-9: HGST HTS725050A7E635, GH2OA8Z0, max UDMA/133
[    1.487011] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 32)
[    1.487732] ata1.00: Security Log not supported
[    1.489090] ata1.00: supports DRM functions and may not be fully accessible
[    1.489124] ata1.00: Security Log not supported
[    1.489149] ata1.00: configured for UDMA/133
[    1.490296] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS725050A7 A8Z0 PQ: 0 ANSI: 5
[    1.493601] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.494286] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.494317] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.494559] sd 0:0:0:0: [sda] Write Protect is off
[    1.494581] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.494744] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.494926] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    1.822788]  sda: sda1
[    1.823632] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.889050] Freeing initrd memory: 14096K
[    1.961940] Segment Routing with IPv6
[    1.962077] In-situ OAM (IOAM) with IPv6
[    1.962321] NET: Registered PF_PACKET protocol family
[    1.962354] NET: Registered PF_KEY protocol family
[    1.962430] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.962674] 8021q: 802.1Q VLAN Support v1.8
[    1.962809] Key type dns_resolver registered
[    1.963544] Registering SWP/SWPB emulation handler
[    1.976225] registered taskstats version 1
[    1.976509] Loading compiled-in X.509 certificates
[    1.993771] zswap: loaded using pool zstd/z3fold
[    2.008973] Key type .fscrypt registered
[    2.009005] Key type fscrypt-provisioning registered
[    2.019155] Btrfs loaded, zoned=no, fsverity=yes
[    2.037936] Key type encrypted registered
[    2.037984] AppArmor: AppArmor sha1 policy hashing enabled
[    2.059073] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    2.061622] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    2.063318] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[    2.064380] printk: console [ttyS0] disabled
[    2.065015] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 72, base_baud = 1500000) is a 16550A
[    2.065090] printk: console [ttyS0] enabled
[    2.066846] sun4i-pinctrl 1c20800.pinctrl: supply vcc-ph not found, using dummy regulator
[    2.068317] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 73, base_baud = 1500000) is a 16550A
[    2.069481] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pi not found, using dummy regulator
[    2.070932] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 74, base_baud = 1500000) is a 16550A
[    2.075704] axp20x-i2c 1-0034: AXP20x variant AXP209 found
[    2.091669] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-0034/axp20x-pek/input/input0
[    2.097120] axp20x-i2c 1-0034: Backup (RTC) battery charging is disabled
[    2.097322] axp20x-i2c 1-0034: AXP20X driver loaded
[    2.110841] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found
[    2.110885] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found
[    2.111095] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    2.112240] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    2.138239] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.176197] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.178936] mmc0: new high speed SDHC card at address aaaa
[    2.181081] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[    2.188984]  mmcblk0: p1
[    2.218711] sun7i-dwmac 1c50000.ethernet: Version ID not available
[    2.218752] sun7i-dwmac 1c50000.ethernet:    DWMAC1000
[    2.218766] sun7i-dwmac 1c50000.ethernet: No HW DMA feature register supported
[    2.218778] sun7i-dwmac 1c50000.ethernet: TX Checksum insertion supported
[    2.218791] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[    2.218802] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[    2.252730] of_cfs_init
[    2.252933] of_cfs_init: OK
[    2.253028] clk: Disabling unused clocks
[    2.253235] ALSA device list:
[    2.253249]   #0: sun4i-codec
[    2.262988] Freeing unused kernel image (initmem) memory: 1024K
[    2.263377] Run /init as init process
[    2.263393]   with arguments:
[    2.263406]     /init
[    2.263415]   with environment:
[    2.263424]     HOME=/
[    2.263433]     TERM=linux
[    2.263442]     splash=verbose
[    2.263452]     ubootpart=6c1341bc-01
[    2.263461]     ubootsource=mmc
[    2.263470]     sunxi_ve_mem_reserve=0
[    2.263480]     sunxi_g2d_mem_reserve=0
[    2.263489]     sunxi_fb_mem_reserve=16
[    2.263498]     cgroup_enable=memory
[    3.450750] sun5i-a13-gpadc-iio: Failed to locate of_node [id: 0]
[    3.598793] axp20x-gpio axp20x-gpio: DMA mask not set
[    3.608112] axp20x-gpio axp20x-gpio: AXP209 pinctrl and GPIO driver loaded
[    3.616772] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set
[    3.682620] sun7i-dwmac 1c50000.ethernet end0: renamed from eth0
[    4.052074] async_tx: api initialized (async)
[    4.890498] EXT4-fs (mmcblk0p1): mounted filesystem 211e78fe-1246-4853-a1be-b7fe6ff1b7b3 ro with writeback data mode. Quota mode: none.
[    5.763591] systemd[1]: Inserted module 'autofs4'
[    5.846069] systemd[1]: systemd 252.22-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    5.846246] systemd[1]: Detected architecture arm.
[    5.854440] systemd[1]: Hostname set to <bananapi>.
[    5.919871] systemd[1]: Using hardware watchdog 'sunxi-wdt', version 0, device /dev/watchdog0
[    5.919954] systemd[1]: Watchdog running with a timeout of 16s.
[    7.710188] random: crng init done
[    9.001386] systemd[1]: Queued start job for default target graphical.target.
[    9.031412] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    9.037054] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    9.042431] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    9.047500] systemd[1]: Created slice system-wg\x2dquick.slice - Slice /system/wg-quick.
[    9.050761] systemd[1]: Created slice user.slice - User and Session Slice.
[    9.052134] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[    9.053272] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    9.055904] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    9.056777] systemd[1]: Expecting device dev-disk-by\x2duuid-01D52DEBFC68F8C0.device - /dev/disk/by-uuid/01D52DEBFC68F8C0...
[    9.057375] systemd[1]: Expecting device dev-disk-by\x2duuid-01DA25224B526DE0.device - /dev/disk/by-uuid/01DA25224B526DE0...
[    9.057867] systemd[1]: Expecting device dev-disk-by\x2duuid-501AFB851AFB65FE.device - /dev/disk/by-uuid/501AFB851AFB65FE...
[    9.058434] systemd[1]: Expecting device dev-ttyS0.device - /dev/ttyS0...
[    9.059065] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[    9.059966] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    9.061077] systemd[1]: Reached target paths.target - Path Units.
[    9.062022] systemd[1]: Reached target slices.target - Slice Units.
[    9.062967] systemd[1]: Reached target swap.target - Swaps.
[    9.063664] systemd[1]: Reached target time-set.target - System Time Set.
[    9.064902] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    9.066425] systemd[1]: Listening on dm-event.socket - Device-mapper event daemon FIFOs.
[    9.068434] systemd[1]: Listening on lvm2-lvmpolld.socket - LVM2 poll daemon socket.
[    9.125522] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
[    9.128007] systemd[1]: Listening on syslog.socket - Syslog Socket.
[    9.130030] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    9.131612] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    9.134698] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    9.136609] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    9.138955] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    9.141431] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
[    9.143875] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    9.145727] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    9.147809] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    9.170939] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    9.183058] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    9.200328] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    9.206565] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[    9.208194] systemd[1]: Finished blk-availability.service - Availability of block devices.
[    9.227716] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[    9.242021] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    9.256910] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    9.279470] systemd[1]: Starting lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    9.298112] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    9.335243] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    9.391752] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    9.436067] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    9.451401] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    9.473883] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    9.475358] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
[    9.486653] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[    9.507934] device-mapper: uevent: version 1.0.3
[    9.510861] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    9.532418] systemd[1]: Starting systemd-journald.service - Journal Service...
[    9.592036] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    9.642818] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
[    9.699799] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    9.751846] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    9.834042] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    9.852405] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    9.870608] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    9.896101] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[    9.906999] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    9.911869] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    9.913651] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[    9.937134] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    9.939083] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    9.944028] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    9.946330] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[    9.951426] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    9.953404] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    9.957340] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    9.960535] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[    9.966438] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    9.968514] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[    9.973047] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.
[    9.977719] systemd[1]: Reached target network-pre.target - Preparation for Network.
[    9.993868] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    9.993910] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   10.002615] EXT4-fs (mmcblk0p1): re-mounted 211e78fe-1246-4853-a1be-b7fe6ff1b7b3 r/w. Quota mode: none.
[   10.011072] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[   10.063044] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[   10.064715] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[   10.123359] systemd[1]: Finished lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[   10.141074] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[   10.148641] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[   10.155074] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[   10.156747] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[   10.164222] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   10.203732] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[   10.255936] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[   10.323789] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[   10.490627] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed.
[   10.492205] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[   10.542686] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[   10.566255] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[   10.627141] systemd[1]: Started systemd-journald.service - Journal Service.
[   10.826860] systemd-journald[304]: Received client request to flush runtime journal.
[   10.835800] systemd-journald[304]: File /var/log/journal/43361d65f199483aa6bdfbae7979c537/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   13.166337] RPC: Registered named UNIX socket transport module.
[   13.166379] RPC: Registered udp transport module.
[   13.166390] RPC: Registered tcp transport module.
[   13.166399] RPC: Registered tcp-with-tls transport module.
[   13.166407] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   13.991839] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   14.024400] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   14.034715] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   14.191169] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   14.191216] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[   14.367438] mc: Linux media interface: v0.10
[   14.495741] Registered IR keymap rc-empty
[   14.495995] rc rc0: sunxi-ir as /devices/platform/soc/1c21800.ir/rc/rc0
[   14.496500] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[   14.496769] input: sunxi-ir as /devices/platform/soc/1c21800.ir/rc/rc0/input1
[   14.514782] sunxi-ir 1c21800.ir: initialized sunXi IR driver
[   14.537804] videodev: Linux video capture interface: v2.00
[   14.561625] axp20x-adc axp20x-adc: DMA mask not set
[   14.680335] usb_phy_generic usb_phy_generic.0.auto: dummy supplies not allowed for exclusive requests
[   14.681330] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[   14.681381] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[   14.682580] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[   14.713985] ehci-platform 1c14000.usb: EHCI Host Controller
[   14.733876] ehci-platform 1c1c000.usb: EHCI Host Controller
[   14.737815] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[   14.774641] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[   14.774701] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.774718] usb usb1: Product: MUSB HDRC host driver
[   14.774734] usb usb1: Manufacturer: Linux 6.6.29-current-sunxi musb-hcd
[   14.774746] usb usb1: SerialNumber: musb-hdrc.1.auto
[   14.777475] hub 1-0:1.0: USB hub found
[   14.790902] hub 1-0:1.0: 1 port detected
[   14.794267] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 2
[   14.794685] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 3
[   14.805386] ohci-platform 1c1c400.usb: irq 125, io mem 0x01c1c400
[   14.814482] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[   14.814599] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 5
[   14.822604] ehci-platform 1c14000.usb: irq 126, io mem 0x01c14000
[   14.838850] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[   14.839292] ohci-platform 1c14400.usb: irq 128, io mem 0x01c14400
[   14.839682] ehci-platform 1c1c000.usb: irq 127, io mem 0x01c1c000
[   14.839925] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[   14.839948] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.839962] usb usb3: Product: EHCI Host Controller
[   14.839975] usb usb3: Manufacturer: Linux 6.6.29-current-sunxi ehci_hcd
[   14.839987] usb usb3: SerialNumber: 1c14000.usb
[   14.846614] hub 3-0:1.0: USB hub found
[   14.846794] hub 3-0:1.0: 1 port detected
[   14.854325] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[   14.882423] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[   14.882466] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.882480] usb usb4: Product: EHCI Host Controller
[   14.882494] usb usb4: Manufacturer: Linux 6.6.29-current-sunxi ehci_hcd
[   14.882506] usb usb4: SerialNumber: 1c1c000.usb
[   14.919771] hub 4-0:1.0: USB hub found
[   14.920004] hub 4-0:1.0: 1 port detected
[   14.951779] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[   14.951822] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.951837] usb usb2: Product: Generic Platform OHCI controller
[   14.951851] usb usb2: Manufacturer: Linux 6.6.29-current-sunxi ohci_hcd
[   14.951864] usb usb2: SerialNumber: 1c1c400.usb
[   14.954065] hub 2-0:1.0: USB hub found
[   14.954251] hub 2-0:1.0: 1 port detected
[   14.965673] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[   14.965721] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.965736] usb usb5: Product: Generic Platform OHCI controller
[   14.965750] usb usb5: Manufacturer: Linux 6.6.29-current-sunxi ohci_hcd
[   14.965762] usb usb5: SerialNumber: 1c14400.usb
[   14.970638] hub 5-0:1.0: USB hub found
[   14.973379] hub 5-0:1.0: 1 port detected
[   15.115544] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
[   15.115727] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
[   15.115868] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
[   15.115963] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[   15.133055] usb 3-1: new high-speed USB device number 2 using ehci-platform
[   15.139335] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[   15.146767] lima 1c40000.gpu: bus rate = 300000000
[   15.146826] lima 1c40000.gpu: mod rate = 384000000
[   15.162766] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 1
[   15.166529] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[   15.322304] usb 3-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice= 9.01
[   15.322354] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   15.322369] usb 3-1: Product: USB2.0 Hub
[   15.326893] hub 3-1:1.0: USB hub found
[   15.330443] hub 3-1:1.0: 4 ports detected
[   15.690287] usb 3-1.1: new high-speed USB device number 3 using ehci-platform
[   15.838289] usb 3-1.1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice= 9.01
[   15.838336] usb 3-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   15.838352] usb 3-1.1: Product: USB2.0 Hub
[   15.840299] hub 3-1.1:1.0: USB hub found
[   15.841360] hub 3-1.1:1.0: 4 ports detected
[   15.962381] usb 3-1.2: new high-speed USB device number 4 using ehci-platform
[   16.114335] usb 3-1.2: New USB device found, idVendor=1058, idProduct=2626, bcdDevice=10.34
[   16.114382] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   16.114398] usb 3-1.2: Product: My Passport 2626
[   16.114411] usb 3-1.2: Manufacturer: Western Digital
[   16.114424] usb 3-1.2: SerialNumber: 5758323241393331344E3450
[   16.116207] usb-storage 3-1.2:1.0: USB Mass Storage device detected
[   16.142380] usb-storage 3-1.2:1.0: Quirks match for vid 1058 pid 2626: 800000
[   16.162379] scsi host1: usb-storage 3-1.2:1.0
[   16.278360] usb 3-1.4: new high-speed USB device number 5 using ehci-platform
[   16.434326] usb 3-1.4: New USB device found, idVendor=0480, idProduct=a00d, bcdDevice= 4.07
[   16.434376] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   16.434392] usb 3-1.4: Product: External USB 3.0
[   16.434405] usb 3-1.4: Manufacturer: TOSHIBA
[   16.434418] usb 3-1.4: SerialNumber: 2318420318E8
[   16.436160] usb-storage 3-1.4:1.0: USB Mass Storage device detected
[   16.502330] scsi host2: usb-storage 3-1.4:1.0
[   17.182464] scsi 1:0:0:0: Direct-Access     WD       My Passport 2626 1034 PQ: 0 ANSI: 6
[   17.185654] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   17.191718] sd 1:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[   17.195308] scsi 1:0:0:1: Enclosure         WD       SES Device       1034 PQ: 0 ANSI: 6
[   17.488916] scsi 1:0:0:1: Attached scsi generic sg2 type 13
[   17.731690] cfg80211: failed to load regulatory.db
[   18.450926] usbcore: registered new device driver onboard-usb-hub
[   18.454281] usb 3-1.1: USB disconnect, device number 3
[   18.458353] usb 3-1.2: USB disconnect, device number 4
[   18.474507] sd 1:0:0:0: [sdb] 7813969920 512-byte logical blocks: (4.00 TB/3.64 TiB)
[   18.474559] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   18.474741] sd 1:0:0:0: [sdb] Test WP failed, assume Write Enabled
[   18.474835] sd 1:0:0:0: [sdb] Asking for cache data failed
[   18.474851] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   18.478700] sd 1:0:0:0: [sdb] Test Unit Ready failed: Result: hostbyte=0x01 driverbyte=DRIVER_OK
[   18.482720] sd 1:0:0:0: [sdb] Read Capacity(16) failed: Result: hostbyte=0x01 driverbyte=DRIVER_OK
[   18.482762] sd 1:0:0:0: [sdb] Sense not available.
[   18.483052] sd 1:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=DRIVER_OK
[   18.483074] sd 1:0:0:0: [sdb] Sense not available.
[   18.486359] sd 1:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[   18.486403] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   18.486726] sdb: detected capacity change from 7813969920 to 0
[   18.486918] sd 1:0:0:0: [sdb] Attached SCSI disk
[   18.549324] usb 3-1.4: USB disconnect, device number 5
[   18.683312] hub 3-1:1.0: USB hub found
[   18.684368] hub 3-1:1.0: 4 ports detected
[   18.702913] hub 3-1:1.0: USB hub found
[   18.716155] hub 3-1:1.0: 4 ports detected
[   18.878990] usbcore: registered new interface driver uas
[   19.134321] usb 3-1.1: new high-speed USB device number 6 using ehci-platform
[   19.244397] usb 3-1.1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice= 9.01
[   19.244448] usb 3-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   19.244464] usb 3-1.1: Product: USB2.0 Hub
[   19.247428] hub 3-1.1:1.0: USB hub found
[   19.258400] hub 3-1.1:1.0: 4 ports detected
[   19.274921] hub 3-1.1:1.0: USB hub found
[   19.282258] hub 3-1.1:1.0: 4 ports detected
[   19.354337] usb 3-1.2: new high-speed USB device number 7 using ehci-platform
[   19.468600] usb 3-1.2: New USB device found, idVendor=1058, idProduct=2626, bcdDevice=10.34
[   19.468647] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   19.468664] usb 3-1.2: Product: My Passport 2626
[   19.468676] usb 3-1.2: Manufacturer: Western Digital
[   19.468688] usb 3-1.2: SerialNumber: 5758323241393331344E3450
[   19.470007] usb-storage 3-1.2:1.0: USB Mass Storage device detected
[   19.489692] usb-storage 3-1.2:1.0: Quirks match for vid 1058 pid 2626: 800000
[   19.494371] scsi host1: usb-storage 3-1.2:1.0
[   19.578403] usb 3-1.4: new high-speed USB device number 8 using ehci-platform
[   19.698274] usb 3-1.4: New USB device found, idVendor=0480, idProduct=a00d, bcdDevice= 4.07
[   19.698323] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   19.698339] usb 3-1.4: Product: External USB 3.0
[   19.698353] usb 3-1.4: Manufacturer: TOSHIBA
[   19.698365] usb 3-1.4: SerialNumber: 2318420318E8
[   19.699608] usb-storage 3-1.4:1.0: USB Mass Storage device detected
[   19.714316] scsi host2: usb-storage 3-1.4:1.0
[   20.528474] scsi 1:0:0:0: Direct-Access     WD       My Passport 2626 1034 PQ: 0 ANSI: 6
[   20.531505] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   20.549997] scsi 1:0:0:1: Enclosure         WD       SES Device       1034 PQ: 0 ANSI: 6
[   20.757559] scsi 1:0:0:1: Attached scsi generic sg2 type 13
[   20.761776] sd 1:0:0:0: [sdb] Spinning up disk...
[   21.681760] scsi 2:0:0:0: Direct-Access     TOSHIBA  External USB 3.0 5438 PQ: 0 ANSI: 6
[   21.699418] sd 2:0:0:0: Attached scsi generic sg3 type 0
[   21.711539] sd 2:0:0:0: [sdc] 1953525164 512-byte logical blocks: (1.00 TB/932 GiB)
[   21.718663] sd 2:0:0:0: [sdc] Write Protect is off
[   21.718824] sd 2:0:0:0: [sdc] Mode Sense: 23 00 00 00
[   21.723870] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   21.806708] .ready
[   21.809986] sd 1:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[   22.015637]  sdc: sdc1
[   22.026871] sd 1:0:0:0: [sdb] 7813969920 512-byte logical blocks: (4.00 TB/3.64 TiB)
[   22.027021] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   22.032779] sd 2:0:0:0: [sdc] Attached SCSI disk
[   22.039157] sd 1:0:0:0: [sdb] Write Protect is off
[   22.039312] sd 1:0:0:0: [sdb] Mode Sense: 47 00 10 08
[   22.062916] sd 1:0:0:0: [sdb] No Caching mode page found
[   22.063068] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   22.411718]  sdb: sdb1
[   22.425566] sd 1:0:0:0: [sdb] Attached SCSI disk
[   76.704362] sun7i-dwmac 1c50000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   76.771847] sun7i-dwmac 1c50000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   76.772095] sun7i-dwmac 1c50000.ethernet end0: No Safety Features support found
[   76.772186] sun7i-dwmac 1c50000.ethernet end0: RX IPC Checksum Offload disabled
[   76.772281] sun7i-dwmac 1c50000.ethernet end0: No MAC Management Counters available
[   76.772367] sun7i-dwmac 1c50000.ethernet end0: PTP not supported by HW
[   76.790308] sun7i-dwmac 1c50000.ethernet end0: configuring for phy/rgmii-id link mode
[   80.946313] sun7i-dwmac 1c50000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[   91.721174] systemd-journald[304]: Time jumped backwards, rotating.
[  178.624718] systemd[1498]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
ryecoaaron commented 2 months ago

This still seems like a hardware issue. I was just able to add four clients on my test VM and it didn't reboot. Since the system isn't in front of me, I can only guess what is wrong. Look through all log files in /var/log. Plug a monitor in to see if you see on the screen why it is rebooting. Maybe your sd card is failing. If you can't find anything, you just might have to upgrade to a newer board.

jacanestro commented 2 months ago

I changed a value in the "Scheduled Tasks" and applied changes. It took time, but the BananaPi did not reboot... Anyway, I'll check SD card for errors on Monday and I will apply wireguard changes with a monitor connected to it to try to see what's happening. I'll let you know...