Open googanhiem opened 2 years ago
Hi,
could you grab dmesg
when you see it dropping off and pasting it here please? Maybe we can see if it's related to a particular driver and not NM
This is a couple mins before it crashes. Not sure how to get the previous dmesg on balena, but I do have the journalctl -k
which logged a bit more before it crashed.
root@a5671db:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.78-v8 (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP PREEMPT Mon Nov 8 18:19:44 UTC 2021
[ 0.000000] Machine model: Raspberry Pi Zero 2 Rev 1.0
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000000ec00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000001effffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001effffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001effffff]
[ 0.000000] On node 0 totalpages: 126976
[ 0.000000] DMA zone: 1984 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 126976 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 31 pages/cpu s88280 r8192 d30504 u126976
[ 0.000000] pcpu-alloc: s88280 r8192 d30504 u126976 alloc=31*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 124992
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i smsc95xx.macaddr=B8:27:EB:CB:91:C6 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 rootwait vt.global_cursor_default=0 console=null cgroup_enable=memory root=UUID=ba1eadef-b998-49eb-8db4-fdcfae0c8b7e rootwait
[ 0.000000] cgroup: Enabling memory control group subsystem
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 191364K/507904K available (12672K kernel code, 1894K rwdata, 4424K rodata, 15168K init, 1241K bss, 54396K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 40706 entries in 160 pages
[ 0.000000] ftrace: allocated 160 pages with 2 groups
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 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 100 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] random: get_random_bytes called from start_kernel+0x3b0/0x570 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000291] Console: colour dummy device 80x25
[ 0.000366] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[ 0.000408] pid_max: default: 32768 minimum: 301
[ 0.000638] LSM: Security Framework initializing
[ 0.000957] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.000994] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.005433] rcu: Hierarchical SRCU implementation.
[ 0.006666] EFI services will not be available.
[ 0.007427] smp: Bringing up secondary CPUs ...
[ 0.008877] Detected VIPT I-cache on CPU1
[ 0.008963] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.011380] Detected VIPT I-cache on CPU2
[ 0.011445] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.013651] Detected VIPT I-cache on CPU3
[ 0.013712] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.014535] smp: Brought up 1 node, 4 CPUs
[ 0.014602] SMP: Total of 4 processors activated.
[ 0.014628] CPU features: detected: 32-bit EL0 Support
[ 0.014652] CPU features: detected: CRC32 instructions
[ 0.059047] CPU: All CPU(s) started at EL2
[ 0.059155] alternatives: patching kernel code
[ 0.061118] devtmpfs: initialized
[ 0.082212] Enabled cp15_barrier support
[ 0.082272] Enabled setend support
[ 0.082307] KASLR enabled
[ 0.082814] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.082856] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.095783] pinctrl core: initialized pinctrl subsystem
[ 0.096997] DMI not present or invalid.
[ 0.097554] NET: Registered protocol family 16
[ 0.108746] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.109187] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.110753] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.110995] audit: initializing netlink subsys (disabled)
[ 0.111465] audit: type=2000 audit(0.109:1): state=initialized audit_enabled=0 res=1
[ 0.112263] thermal_sys: Registered thermal governor 'step_wise'
[ 0.112619] cpuidle: using governor menu
[ 0.113263] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.113571] ASID allocator initialised with 32768 entries
[ 0.113782] Serial: AMBA PL011 UART driver
[ 0.143206] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.145866] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-04-21T15:49:53, variant start_cd
[ 0.146872] raspberrypi-firmware soc:firmware: Firmware hash is a48d332c35ee1c1c1ab433228e23317f62dcc5fb
[ 0.196767] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.199759] SCSI subsystem initialized
[ 0.200091] usbcore: registered new interface driver usbfs
[ 0.200204] usbcore: registered new interface driver hub
[ 0.200304] usbcore: registered new device driver usb
[ 0.201344] Advanced Linux Sound Architecture Driver Initialized.
[ 0.203300] clocksource: Switched to clocksource arch_sys_counter
[ 1.975949] VFS: Disk quotas dquot_6.6.0
[ 1.976113] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.976384] FS-Cache: Loaded
[ 1.976809] CacheFiles: Loaded
[ 1.977931] simple-framebuffer 1f953000.framebuffer: framebuffer at 0x1f953000, 0xa8c00 bytes, mapped to 0x(____ptrval____)
[ 1.977961] simple-framebuffer 1f953000.framebuffer: format=r5g6b5, mode=720x480x16, linelength=1440
[ 1.981769] Console: switching to colour frame buffer device 90x30
[ 1.984977] simple-framebuffer 1f953000.framebuffer: fb0: simplefb registered!
[ 2.000415] NET: Registered protocol family 2
[ 2.000722] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 2.002042] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.002092] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.002176] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 2.002473] TCP: Hash tables configured (established 4096 bind 4096)
[ 2.002715] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 2.002780] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 2.003152] NET: Registered protocol family 1
[ 2.004508] RPC: Registered named UNIX socket transport module.
[ 2.004533] RPC: Registered udp transport module.
[ 2.004554] RPC: Registered tcp transport module.
[ 2.004575] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.142563] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 2.145356] Initialise system trusted keyrings
[ 2.145801] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 2.156360] zbud: loaded
[ 2.158926] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.159343] FS-Cache: Netfs 'nfs' registered for caching
[ 2.160359] NFS: Registering the id_resolver key type
[ 2.160440] Key type id_resolver registered
[ 2.160463] Key type id_legacy registered
[ 2.160643] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.160670] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 2.162595] Key type asymmetric registered
[ 2.162621] Asymmetric key parser 'x509' registered
[ 2.162697] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 2.162724] io scheduler mq-deadline registered
[ 2.162747] io scheduler kyber registered
[ 2.174140] bcm2835-rng 3f104000.rng: hwrng registered
[ 2.174818] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[ 2.176638] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 2.184772] checking generic (1f953000 a8c00) vs hw (0 ffffffffffffffff)
[ 2.184794] fb0: switching to vc4drmfb from simple
[ 2.185259] Console: switching to colour dummy device 80x25
[ 2.186730] vc4-drm soc:gpu: bound 3f600000.firmwarekms (ops vc4_fkms_ops)
[ 2.186963] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops)
[ 2.188689] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 2.247905] Console: switching to colour frame buffer device 90x30
[ 2.264620] vc4-drm soc:gpu: [drm] fb0: vc4drmfb frame buffer device
[ 2.265415] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.283208] brd: module loaded
[ 2.302172] loop: module loaded
[ 2.303095] zram: Added device: zram0
[ 2.305657] Loading iSCSI transport class v2.0-870.
[ 2.308305] libphy: Fixed MDIO Bus: probed
[ 2.308594] tun: Universal TUN/TAP device driver, 1.6
[ 2.308887] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 2.509888] Core Release: 2.80a
[ 2.509916] Setting default values for core params
[ 2.509957] Finished setting default values for core params
[ 2.710460] Using Buffer DMA mode
[ 2.710485] Periodic Transfer Interrupt Enhancement - disabled
[ 2.710506] Multiprocessor Interrupt Enhancement - disabled
[ 2.710529] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 2.710555] Dedicated Tx FIFOs mode
[ 2.711036] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = ffffffc010461000 dma = 0x00000000cf0ac000 len=9024
[ 2.711085] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 2.711112] dwc_otg: Microframe scheduler enabled
[ 2.711167] WARN::hcd_init_fiq:496: MPHI regs_base at ffffffc01007d000
[ 2.711227] dwc_otg 3f980000.usb: DWC OTG Controller
[ 2.711300] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 2.711373] dwc_otg 3f980000.usb: irq 74, io mem 0x00000000
[ 2.711435] Init: Port Power? op_state=1
[ 2.711456] Init: Power Port (0)
[ 2.711939] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 2.711967] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.711991] usb usb1: Product: DWC OTG Controller
[ 2.712014] usb usb1: Manufacturer: Linux 5.10.78-v8 dwc_otg_hcd
[ 2.712037] usb usb1: SerialNumber: 3f980000.usb
[ 2.713090] hub 1-0:1.0: USB hub found
[ 2.713199] hub 1-0:1.0: 1 port detected
[ 2.714865] dwc_otg: FIQ enabled
[ 2.714882] dwc_otg: NAK holdoff enabled
[ 2.714897] dwc_otg: FIQ split-transaction FSM enabled
[ 2.714919] Module dwc_common_port init
[ 2.715989] usbcore: registered new interface driver usb-storage
[ 2.716173] usbcore: registered new interface driver usbserial_generic
[ 2.716244] usbserial: USB Serial support registered for generic
[ 2.719096] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 2.722830] sdhci: Secure Digital Host Controller Interface driver
[ 2.722855] sdhci: Copyright(c) Pierre Ossman
[ 2.723729] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[ 2.726055] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 2.728595] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.729243] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.729531] hid: raw HID events driver (C) Jiri Kosina
[ 2.729686] usbcore: registered new interface driver usbhid
[ 2.729699] usbhid: USB HID core driver
[ 2.730009] ashmem: initialized
[ 2.737812] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[ 2.737881] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 2.738097] IPVS: ipvs loaded.
[ 2.738455] Initializing XFRM netlink socket
[ 2.739078] NET: Registered protocol family 10
[ 2.740402] Segment Routing with IPv6
[ 2.740518] NET: Registered protocol family 17
[ 2.740578] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.740695] Key type dns_resolver registered
[ 2.741463] registered taskstats version 1
[ 2.741506] Loading compiled-in X.509 certificates
[ 2.742079] Key type ._fscrypt registered
[ 2.742095] Key type .fscrypt registered
[ 2.742110] Key type fscrypt-provisioning registered
[ 2.757650] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 2.757765] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 99, base_baud = 0) is a PL011 rev2
[ 2.760818] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 2.763653] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 2.763674] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 2.790906] sdhost: log_buf @ (____ptrval____) (c4ad5000)
[ 2.814934] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.816580] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.818210] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.821137] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 2.822813] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.839343] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 2.844468] of_cfs_init
[ 2.844626] of_cfs_init: OK
[ 2.860511] ALSA device list:
[ 2.860531] No soundcards found.
[ 2.860622] Warning: unable to open an initial console.
[ 2.870338] random: fast init done
[ 2.884623] Freeing unused kernel memory: 15168K
[ 2.884800] Run /init as init process
[ 2.884813] with arguments:
[ 2.884822] /init
[ 2.884830] with environment:
[ 2.884839] HOME=/
[ 2.884847] TERM=linux
[ 2.940105] mmc1: new high speed SDIO card at address 0001
[ 2.988938] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.992170] mmc0: new high speed SDHC card at address 9bd5
[ 2.993449] mmcblk0: mmc0:9bd5 SD16G 14.9 GiB
[ 2.999392] mmcblk0: p1 p2 p3 p4 < p5 p6 >
[ 3.499889] udevd[349]: Starting version 244.5+
[ 3.507322] udevd[350]: /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
[ 3.507478] udevd[350]: /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring
[ 3.792860] udevd[355]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
[ 3.813045] zram0: detected capacity change from 0 to 239964160
[ 3.858661] udevd[353]: vtcon0: Process '/lib/systemd/systemd-vconsole-setup' failed with exit code 1.
[ 3.859836] udevd[354]: vtcon1: Process '/lib/systemd/systemd-vconsole-setup' failed with exit code 1.
[ 7.455484] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 7.504434] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[ 8.288215] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 10.477033] EXT4-fs (mmcblk0p6): recovery complete
[ 10.493726] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 11.298232] systemd[1]: System time before build time, advancing clock.
[ 11.751176] systemd[1]: /lib/systemd/system/balena-host.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/balena-host.sock \xe2\x86\x92 /run/balena-host.sock; please update the unit file accordingly.
[ 11.784948] systemd[1]: /lib/systemd/system/balena-engine.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/balena-engine.sock \xe2\x86\x92 /run/balena-engine.sock; please update the unit file accordingly.
[ 12.159158] random: systemd: uninitialized urandom read (16 bytes read)
[ 12.164156] random: systemd: uninitialized urandom read (16 bytes read)
[ 12.165980] random: systemd: uninitialized urandom read (16 bytes read)
[ 13.548645] audit: type=1334 audit(1641913203.754:2): prog-id=5 op=LOAD
[ 13.549179] audit: type=1334 audit(1641913203.754:3): prog-id=6 op=LOAD
[ 14.410836] mc: Linux media interface: v0.10
[ 14.415979] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.417712] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.417944] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 14.417964] [vc_sm_connected_init]: start
[ 14.424270] vc_sm_cma_vchi_init: failed to open VCHI service (-1)
[ 14.424359] [vc_sm_connected_init]: failed to initialize shared memory service
[ 14.426584] bcm2835_audio bcm2835_audio: there is not valid maps for state default
[ 14.476714] videodev: Linux video capture interface: v2.00
[ 14.588261] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.588267] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.621911] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.626805] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.629248] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.629475] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[ 14.632854] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[ 14.633188] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[ 14.663210] zram: Can't change algorithm for initialized device
[ 14.684224] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 14.749674] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 14.851351] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 14.852000] usbcore: registered new interface driver brcmfmac
[ 15.039249] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 15.039494] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 15.068358] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/2 wl0: Oct 9 2020 14:44:32 version 9.88.4.65 (test) (f149b32@shgit) (r679549) FWID 01-f40f3270
[ 15.116376] random: crng init done
[ 15.116403] random: 7 urandom warning(s) missed due to ratelimiting
[ 16.273443] Adding 234336k swap on /dev/zram0. Priority:-2 extents:1 across:234336k SSFS
[ 16.716539] audit: type=1334 audit(1641913206.922:4): prog-id=7 op=LOAD
[ 16.727203] audit: type=1334 audit(1641913206.932:5): prog-id=8 op=LOAD
[ 17.073734] uart-pl011 3f201000.serial: no DMA platform data
[ 19.041481] systemd-journald[909]: Received client request to flush runtime journal.
[ 19.609542] systemd-journald[909]: File /var/log/journal/cdb83a41512d4250a34b4f68b94f07b7/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 23.156588] Bluetooth: Core ver 2.22
[ 23.156738] NET: Registered protocol family 31
[ 23.156749] Bluetooth: HCI device and connection manager initialized
[ 23.156781] Bluetooth: HCI socket layer initialized
[ 23.156800] Bluetooth: L2CAP socket layer initialized
[ 23.156846] Bluetooth: SCO socket layer initialized
[ 23.202673] Bluetooth: HCI UART driver ver 2.3
[ 23.202695] Bluetooth: HCI UART protocol H4 registered
[ 23.202822] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 23.203130] Bluetooth: HCI UART protocol Broadcom registered
[ 23.589451] i2c /dev entries driver
[ 23.636528] audit: type=1334 audit(1641913213.843:6): prog-id=9 op=LOAD
[ 23.638083] audit: type=1334 audit(1641913213.844:7): prog-id=10 op=LOAD
[ 24.146181] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 24.146202] Bluetooth: BNEP filters: protocol multicast
[ 24.146307] Bluetooth: BNEP socket layer initialized
[ 24.200047] NET: Registered protocol family 38
[ 24.613791] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 25.126935] ieee80211 phy0: brcmf_netdev_set_mac_address: Setting cur_etheraddr failed, -52
[ 25.130822] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 27.411091] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 44.865822] Bridge firewalling registered
[ 45.209224] audit: type=1325 audit(1642641002.108:8): table=nat family=2 entries=5 op=xt_replace pid=1596 comm="iptables"
[ 45.238719] audit: type=1325 audit(1642641002.138:9): table=filter family=2 entries=4 op=xt_replace pid=1598 comm="iptables"
[ 45.269313] audit: type=1325 audit(1642641002.168:10): table=filter family=2 entries=6 op=xt_replace pid=1600 comm="iptables"
[ 45.299649] audit: type=1325 audit(1642641002.198:11): table=filter family=2 entries=8 op=xt_replace pid=1602 comm="iptables"
[ 45.330780] audit: type=1325 audit(1642641002.230:12): table=filter family=2 entries=10 op=xt_replace pid=1604 comm="iptables"
[ 45.362874] audit: type=1325 audit(1642641002.262:13): table=filter family=2 entries=11 op=xt_replace pid=1606 comm="iptables"
[ 45.379900] audit: type=1325 audit(1642641002.279:14): table=filter family=2 entries=12 op=xt_replace pid=1607 comm="iptables"
[ 45.505199] audit: type=1325 audit(1642641002.404:15): table=nat family=2 entries=7 op=xt_replace pid=1614 comm="iptables"
[ 45.534710] audit: type=1325 audit(1642641002.434:16): table=nat family=2 entries=8 op=xt_replace pid=1616 comm="iptables"
[ 45.581179] audit: type=1325 audit(1642641002.480:17): table=filter family=2 entries=12 op=xt_replace pid=1619 comm="iptables"
[ 51.426551] kauditd_printk_skb: 36 callbacks suppressed
[ 51.426562] audit: type=1325 audit(1642641008.325:54): table=nat family=2 entries=13 op=xt_replace pid=1755 comm="iptables"
[ 51.457276] audit: type=1325 audit(1642641008.356:55): table=nat family=2 entries=14 op=xt_replace pid=1757 comm="iptables"
[ 51.504669] audit: type=1325 audit(1642641008.403:56): table=filter family=2 entries=25 op=xt_replace pid=1760 comm="iptables"
[ 51.537085] audit: type=1325 audit(1642641008.436:57): table=filter family=2 entries=26 op=xt_replace pid=1762 comm="iptables"
[ 51.639944] audit: type=1325 audit(1642641008.539:58): table=filter family=2 entries=27 op=xt_replace pid=1768 comm="iptables"
[ 51.676807] audit: type=1325 audit(1642641008.576:59): table=filter family=2 entries=28 op=xt_replace pid=1770 comm="iptables"
[ 51.707310] audit: type=1325 audit(1642641008.606:60): table=filter family=2 entries=29 op=xt_replace pid=1772 comm="iptables"
[ 51.724582] audit: type=1325 audit(1642641008.623:61): table=filter family=2 entries=28 op=xt_replace pid=1773 comm="iptables"
[ 51.756855] audit: type=1325 audit(1642641008.656:62): table=filter family=2 entries=29 op=xt_replace pid=1775 comm="iptables"
[ 51.788866] audit: type=1325 audit(1642641008.687:63): table=filter family=2 entries=30 op=xt_replace pid=1777 comm="iptables"
[ 59.790991] cgroup: cgroup: disabling cgroup2 socket matching due to net_prio or net_cls activation
[ 59.836013] kauditd_printk_skb: 5 callbacks suppressed
[ 59.836024] audit: type=1334 audit(1642641016.735:69): prog-id=3 op=UNLOAD
[ 59.836237] audit: type=1334 audit(1642641016.735:70): prog-id=4 op=UNLOAD
[ 59.836631] audit: type=1334 audit(1642641016.736:71): prog-id=11 op=LOAD
[ 59.836881] audit: type=1334 audit(1642641016.736:72): prog-id=12 op=LOAD
[ 59.856115] audit: type=1334 audit(1642641016.755:73): prog-id=5 op=UNLOAD
[ 59.856167] audit: type=1334 audit(1642641016.755:74): prog-id=6 op=UNLOAD
[ 59.856527] audit: type=1334 audit(1642641016.756:75): prog-id=13 op=LOAD
[ 59.856747] audit: type=1334 audit(1642641016.756:76): prog-id=14 op=LOAD
[ 59.871795] audit: type=1334 audit(1642641016.771:77): prog-id=7 op=UNLOAD
[ 59.871847] audit: type=1334 audit(1642641016.771:78): prog-id=8 op=UNLOAD
[ 100.524583] kauditd_printk_skb: 2 callbacks suppressed
[ 100.524596] audit: type=1325 audit(1642641057.423:81): table=filter family=2 entries=35 op=xt_replace pid=2172 comm="iptables-restor"
[ 100.560038] audit: type=1325 audit(1642641057.458:82): table=filter family=10 entries=0 op=xt_register pid=2178 comm="modprobe"
[ 100.583677] audit: type=1325 audit(1642641057.482:83): table=filter family=10 entries=4 op=xt_replace pid=2177 comm="ip6tables-resto"
[ 101.705104] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 101.705157] ext4 filesystem being mounted at /mnt/sysroot/inactive supports timestamps until 2038 (0x7fffffff)
[ 188.246226] audit: type=1334 audit(1642641145.146:84): prog-id=17 op=LOAD
[ 188.246422] audit: type=1334 audit(1642641145.146:85): prog-id=18 op=LOAD
[ 218.629887] audit: type=1334 audit(1642641175.530:86): prog-id=18 op=UNLOAD
[ 218.629929] audit: type=1334 audit(1642641175.530:87): prog-id=17 op=UNLOAD
I have the same wifi problem on zero2 "ieee80211 phy0: brcmf_netdev_set_mac_address: Setting cur_etheraddr failed, -52"
Did you manage to solve it?
I switched to docker on RPI OS (32-bit), ha I really couldn't get Balena to work on my wifi. I'd prefer to use it as its very streamlined and slick.
One thing I found was crashing my wifi on RPI OS was the power saving features were being forced on shortly after boot (even though the OS disables them by default), and these were unstable. The new RPI OS 64-bit zero 2 coming out of beta might have some fixes for this, but I bet the dev's here are integrating those already.
I'm not familiar enough with Balena to get the fixes in place to prevent the same problem.
Bumping this again 8.5 months later and this is still an issue.
this can now also result in the device becoming unrecoverable if you reboot to try to fix:
U-Boot 2020.01 (Jan 06 2020 - 20:56:31 +0000)
DRAM: 256 MiB
RPI: Board rev 0x12 outside known range
RPI Unknown model (0x902120)
MMC: mmc@7e202000: 0, mmcnr@7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
In: serial
ut: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is urrent device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
516 bytes read in 1 ms (503.9 KiB/s)
## Executing script at 0400000
Scanning mmc usb devices 0 1 2
24 bytes read in 2 ms (11.7 KiB/s)
Found resin image on mmc 0
Loading resinOS_uEnv.txtfrom mmc device 0 partition 1
Loading extra_uEnv.txt from mmc device 0 partition 1
0 bytes read in 2 ms (0 Bytes/s)
Import extra_uEnv.txt in environment
Loading bootcount.env from mmc device 0 partition 1
No bootcount.env fie. Setting bootcount=0 in environment
** Reading file would overwrite reserved memory **
Error: Bad gzipped ata
Bad Linux ARM64 Image magic!
SCRIPT FAILED: continuing...
Card did not respond to voltage select!
startig USB...
Bus usb@7e980000: scanning bus usb@7e980000 for devices... cannot reset port 1!?
cannot reset port 2!?
4 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
No ethrnet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrievig file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrievin file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrievingfile: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving fie: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: xelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxeliux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: [pxelinux.cf/00](http://pxelinux.cf/00)
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
Noethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-cm283x-rpi
No ethernet found.
missing environment variable: bootfile
Retrieving file: [pxelinux.cf/default-arm-bcm283x](http://pxelinux.cf/default-arm-bcm283x)
No ethernet found.
missing environment variable: bootfile
Retrieving file: pelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file:pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
U-Boot>
@babourn do you still have this issue on latest OS version?
I've been running a Balena Cloud train sign project, but have found the wifi dropping out unexpectedly after around 5 minutes tops on my new Pi Zero 2. The real issue is it not rejoining after it fails (wifi disappears from the devices list). Ethernet via an adapter is stable.
Logs don't really provide much to diagnose with (I'm a bit new to Balena, so might be missing something,
journalctl -u NetworkManager
). I've replicated it in BalenaDash using Wifi-Connect. I've also run through the balena network troubleshooting guide.Running the 64-bit version of Rpi OS the wifi can also have random drops (after hours, not minutes), so its no isolated to balena.
I'm now using the 32-bit rpi os and running the project via docker without wifi issues. Anyone else experiencing this issue?