Random mac address

Hello,

I have something strange with my VIM3. Sometimes, the mac address of the eth interface changes.
It seems not related to reboot but the last time i saw it was after kernel upgrade.
I’m using Ubuntu 20.04 built with fenix.
For example my previous mac address was c8:63:14:70:d0:4c (kernel 5.12 built with fenix)
And after a kernel upgrade (5.14), my mac address became 20:00:00:00:00:00 (Welcome to Fenix 1.0.7 Ubuntu 20.04.3 LTS Linux 5.14.0)

It’s annoying because i’m using a dhcp reservation for all my arm cards.
Do you know why i have this behavior ? Can i do something to fix this ?
Thank you.

Regards,

You can follow this documentation to setup a fixed MAC address.

Nice but it seems i have an another issue:
ifconfig and /proc/cmdline don’t show the same value…

ifconfig eth0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.67 netmask 255.255.255.128 broadcast 192.168.1.127
inet6 fe80::ea22:3f29:697d:33f6 prefixlen 64 scopeid 0x20
ether 20:00:00:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 2456 bytes 242792 (242.7 KB)
RX errors 0 dropped 1276 overruns 0 frame 0
TX packets 400 bytes 41986 (41.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 14

root@khadas:~# cat /proc/cmdline
root=UUID=4bf30372-76ab-44f0-8e30-5ad852864b30 rootfstype=ext4 rootflags=data=writeback rw ubootpart=a0538816-01 console=ttyAML0,115200n8 no_console_suspend consoleblank=0 loglevel=0 osd12 fbcon=rotate:0 fsck.repair=yes net.ifnames=0 jtag=disable mac=c8:63:14:70:d0:4c fan=auto khadas_board=VIM3 hwver=VIM3.V12 coherent_pool=2M pci=pcie_bus_perf imagetype=EMMC_MBR uboottype=mainline splash quiet plymouth.ignore-serial-consoles vt.handoff=7

And the file /boot/env.txt already contains the ‘good’ mac address:

grep ethmac /boot/env.txt

custom_ethmac=c8:63:14:70:d0:4c

Any ideas ?

Can you provide the dmesg here?

Yes sure.

# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.14.0 (root@392b411625fa) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1.0.7 SMP Tue Sep 7 10:57:37 CEST 2021
[    0.000000] Machine model: Khadas VIM3
[    0.000000] Machine model: Khadas VIM3
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000bc800000, size 896 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000bb800000, size 16 MiB
[    0.000000] OF: reserved mem: initialized node linux,galcore, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000f4806fff]
[    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-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005000000-0x00000000052fffff]
[    0.000000]   node   0: [mem 0x0000000005300000-0x00000000f4806fff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000f4806fff]
[    0.000000] On node 0, zone DMA: 1017 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s58328 r8192 d31784 u98304
[    0.000000] pcpu-alloc: s58328 r8192 d31784 u98304 alloc=24*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 985830
[    0.000000] Kernel command line: root=UUID=4bf30372-76ab-44f0-8e30-5ad852864b30 rootfstype=ext4 rootflags=data=writeback rw ubootpart=a0538816-01 console=ttyAML0,115200n8  no_console_suspend consoleblank=0 loglevel=0 osd12  fbcon=rotate:0 fsck.repair=yes net.ifnames=0    jtag=disable mac=c8:63:14:70:d0:4c  fan=auto khadas_board=VIM3 hwver=VIM3.V12 coherent_pool=2M pci=pcie_bus_perf  imagetype=EMMC_MBR uboottype=mainline splash quiet plymouth.ignore-serial-consoles vt.handoff=7
[    0.000000] uboot setup mac-addr: c8:63:14:70:d0:4c
[    0.000000] Unknown command line parameters: osd12 splash ubootpart=a0538816-01 jtag=disable mac=c8:63:14:70:d0:4c fan=auto khadas_board=VIM3 hwver=VIM3.V12 imagetype=EMMC_MBR uboottype=mainline
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 2955212K/4005916K available (12608K kernel code, 1850K rwdata, 5080K rodata, 2624K init, 759K bss, 116816K reserved, 933888K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x80/0x178 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    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=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
[    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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000189] Console: colour dummy device 80x25
[    0.000227] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000238] pid_max: default: 32768 minimum: 301
[    0.000387] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000408] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002111] rcu: Hierarchical SRCU implementation.
[    0.003495] smp: Bringing up secondary CPUs ...
[    0.004153] Detected VIPT I-cache on CPU1
[    0.004213] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005357] CPU features: detected: Spectre-v2
[    0.005369] CPU features: detected: Spectre-v4
[    0.005376] Detected VIPT I-cache on CPU2
[    0.005421] CPU2: Booted secondary processor 0x0000000100 [0x410fd092]
[    0.006006] Detected VIPT I-cache on CPU3
[    0.006032] CPU3: Booted secondary processor 0x0000000101 [0x410fd092]
[    0.006590] Detected VIPT I-cache on CPU4
[    0.006617] CPU4: Booted secondary processor 0x0000000102 [0x410fd092]
[    0.007183] Detected VIPT I-cache on CPU5
[    0.007210] CPU5: Booted secondary processor 0x0000000103 [0x410fd092]
[    0.007280] smp: Brought up 1 node, 6 CPUs
[    0.007300] SMP: Total of 6 processors activated.
[    0.007306] CPU features: detected: 32-bit EL0 Support
[    0.007309] CPU features: detected: 32-bit EL1 Support
[    0.007314] CPU features: detected: CRC32 instructions
[    0.021311] CPU: All CPU(s) started at EL2
[    0.021397] alternatives: patching kernel code
[    0.022952] devtmpfs: initialized
[    0.030164] Registered cp15_barrier emulation handler
[    0.030183] Registered setend emulation handler
[    0.030189] KASLR disabled due to lack of seed
[    0.030328] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.030343] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.030420] wait_for_initramfs() called before rootfs_initcalls
[    0.047644] pinctrl core: initialized pinctrl subsystem
[    0.048707] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.050375] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.051090] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.051914] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.051982] audit: initializing netlink subsys (disabled)
[    0.052088] audit: type=2000 audit(0.052:1): state=initialized audit_enabled=0 res=1
[    0.052676] thermal_sys: Registered thermal governor 'step_wise'
[    0.053059] cpuidle: using governor ladder
[    0.053087] cpuidle: using governor menu
[    0.053421] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.053535] ASID allocator initialised with 65536 entries
[    0.065343] platform ff900000.vpu: Fixing up cyclic dependency with ff600000.hdmi-tx
[    0.071996] platform hdmi-connector: Fixing up cyclic dependency with ff600000.hdmi-tx
[    0.084108] cryptd: max_cpu_qlen set to 1000
[    0.086613] VSYS_3V3: supplied by DC_IN
[    0.086893] iommu: Default domain type: Translated
[    0.087009] vgaarb: loaded
[    0.087191] SCSI subsystem initialized
[    0.087352] usbcore: registered new interface driver usbfs
[    0.087392] usbcore: registered new interface driver hub
[    0.087427] usbcore: registered new device driver usb
[    0.087735] mc: Linux media interface: v0.10
[    0.087756] videodev: Linux video capture interface: v2.00
[    0.087808] pps_core: LinuxPPS API ver. 1 registered
[    0.087814] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.088315] Advanced Linux Sound Architecture Driver Initialized.
[    0.089128] clocksource: Switched to clocksource arch_sys_counter
[    0.089303] FS-Cache: Loaded
[    0.096008] NET: Registered PF_INET protocol family
[    0.096182] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.098309] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.098366] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.098508] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.098696] TCP: Hash tables configured (established 32768 bind 32768)
[    0.098845] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    0.098904] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.098940] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.099078] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.099383] RPC: Registered named UNIX socket transport module.
[    0.099390] RPC: Registered udp transport module.
[    0.099393] RPC: Registered tcp transport module.
[    0.099396] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.099401] NET: Registered PF_XDP protocol family
[    0.099410] PCI: CLS 0 bytes, default 64
[    0.099542] Trying to unpack rootfs image as initramfs...
[    0.117559] kvm [1]: IPA Size Limit: 40 bits
[    0.118290] kvm [1]: vgic interrupt IRQ9
[    0.118396] kvm: pmu event creation failed -2
[    0.118431] kvm [1]: Hyp mode initialized successfully
[    0.122034] Initialise system trusted keyrings
[    0.122134] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.124931] zbud: loaded
[    0.125866] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.126045] FS-Cache: Netfs 'nfs' registered for caching
[    0.126489] NFS: Registering the id_resolver key type
[    0.126526] Key type id_resolver registered
[    0.126530] Key type id_legacy registered
[    0.126595] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.126601] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.127074] FS-Cache: Netfs 'cifs' registered for caching
[    0.127267] Key type cifs.idmap registered
[    0.156181] NET: Registered PF_ALG protocol family
[    0.156206] Key type asymmetric registered
[    0.156210] Asymmetric key parser 'x509' registered
[    0.156273] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.156370] io scheduler mq-deadline registered
[    0.156376] io scheduler kyber registered
[    0.156516] io scheduler bfq registered
[    0.182024] soc soc0: Amlogic Meson G12B (A311D) Revision 29:b (10:2) Detected
[    0.182961] VDDCPU_A: supplied by regulator-dummy
[    0.183256] VDDCPU_B: supplied by regulator-dummy
[    0.184457] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 22, base_baud = 1500000) is a meson_uart
[    0.184553] printk: console [ttyAML0] enabled
[    0.185045] ffd22000.serial: ttyAML3 at MMIO 0xffd22000 (irq = 30, base_baud = 1500000) is a meson_uart
[    0.185450] ffd24000.serial: ttyAML1 at MMIO 0xffd24000 (irq = 31, base_baud = 1500000) is a meson_uart
[    0.185548] serial serial0: tty port ttyAML1 registered
[    0.186340] gpiomem-aml ff634000.gpiomem: Initialised: Registers at 0xff634000
[    0.186466] gpiomem-aml ff800000.gpiomem_ao: Initialised: Registers at 0xff800000
[    0.187218] Freeing initrd memory: 12072K
[    0.195115] brd: module loaded
[    0.200237] loop: module loaded
[    0.211160] Loading iSCSI transport class v2.0-870.
[    0.211718] iscsi: registered transport (tcp)
[    0.213322] libphy: Fixed MDIO Bus: probed
[    0.214417] tun: Universal TUN/TAP device driver, 1.6
[    0.215042] usbcore: registered new interface driver rtl8150
[    0.215728] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.215741] ehci-pci: EHCI PCI platform driver
[    0.215776] ehci-platform: EHCI generic platform driver
[    0.215887] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.215896] ohci-pci: OHCI PCI platform driver
[    0.215925] ohci-platform: OHCI generic platform driver
[    0.216373] mousedev: PS/2 mouse device common for all mice
[    0.216636] i2c /dev entries driver
[    0.221959] cpufreq: cpufreq_online: CPU2: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz
[    0.225085] meson-gx-mmc ffe05000.sd: Got CD GPIO
[    0.225812] ledtrig-cpu: registered to indicate activity on CPUs
[    0.226429] meson-sm: secure-monitor enabled
[    0.228070] hid: raw HID events driver (C) Jiri Kosina
[    0.229393] usbcore: registered new interface driver usbhid
[    0.229425] usbhid: USB HID core driver
[    0.234994] NET: Registered PF_INET6 protocol family
[    0.243675] Segment Routing with IPv6
[    0.243750] NET: Registered PF_PACKET protocol family
[    0.243860] Key type dns_resolver registered
[    0.244244] registered taskstats version 1
[    0.244253] Loading compiled-in X.509 certificates
[    0.244398] zswap: loaded using pool lzo/zbud
[    0.252572] VCC_5V: supplied by DC_IN
[    0.252722] VCC_3V3: supplied by VSYS_3V3
[    0.252885] VDDIO_AO1V8: supplied by VSYS_3V3
[    0.253045] EMMC_AO1V8: supplied by VCC_3V3
[    0.253299] USB_PWR: supplied by VCC_5V
[    0.307422] meson-drm ff900000.vpu: Queued 2 outputs on vpu
[    0.307909] meson-drm ff900000.vpu: CVBS Output connector not available
[    0.337226] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    0.338079] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    0.338950] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi_ops)
[    0.339867] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0
[    0.340465] meson-drm ff900000.vpu: [drm] Cannot find any crtc or sizes
[    0.345083] meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found
[    0.345201] meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found
[    0.345513] meson8b-dwmac ff3f0000.ethernet: PTP uses main clock
[    0.347078] meson8b-dwmac ff3f0000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    0.347116] meson8b-dwmac ff3f0000.ethernet: 	DWMAC1000
[    0.347134] meson8b-dwmac ff3f0000.ethernet: DMA HW capability register supported
[    0.347152] meson8b-dwmac ff3f0000.ethernet: RX Checksum Offload Engine supported
[    0.347167] meson8b-dwmac ff3f0000.ethernet: COE Type 2
[    0.347185] meson8b-dwmac ff3f0000.ethernet: TX Checksum insertion supported
[    0.347201] meson8b-dwmac ff3f0000.ethernet: Wake-Up On Lan supported
[    0.347397] meson8b-dwmac ff3f0000.ethernet: Normal descriptors
[    0.347418] meson8b-dwmac ff3f0000.ethernet: Ring mode enabled
[    0.347435] meson8b-dwmac ff3f0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.348530] libphy: stmmac: probed
[    0.349350] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2
[    0.349361] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1
[    0.351979] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator
[    0.352024] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator
[    0.352113] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    0.352564] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    0.352575] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[    0.352665] xhci-hcd xhci-hcd.2.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010
[    0.352682] xhci-hcd xhci-hcd.2.auto: irq 41, io mem 0xff500000
[    0.352791] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    0.352795] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.352798] usb usb1: Product: xHCI Host Controller
[    0.352801] usb usb1: Manufacturer: Linux 5.14.0 xhci-hcd
[    0.352803] usb usb1: SerialNumber: xhci-hcd.2.auto
[    0.352968] hub 1-0:1.0: USB hub found
[    0.352980] hub 1-0:1.0: 2 ports detected
[    0.353107] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    0.353113] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[    0.353131] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[    0.353149] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.353179] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.14
[    0.353183] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.353186] usb usb2: Product: xHCI Host Controller
[    0.353188] usb usb2: Manufacturer: Linux 5.14.0 xhci-hcd
[    0.353190] usb usb2: SerialNumber: xhci-hcd.2.auto
[    0.353314] hub 2-0:1.0: USB hub found
[    0.353323] hub 2-0:1.0: 1 port detected
[    0.354416] meson-gx-mmc ffe03000.sd: allocated mmc-pwrseq
[    0.356128] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq
[    0.357057] VCC_1V8: supplied by VCC_3V3
[    0.357282] simple-framebuffer f4807000.framebuffer: framebuffer at 0xf4807000, 0x7e9000 bytes
[    0.357288] simple-framebuffer f4807000.framebuffer: format=x8r8g8b8, mode=1920x1080x32, linelength=7680
[    0.357460] Console: switching to colour frame buffer device 240x67
[    0.363988] simple-framebuffer f4807000.framebuffer: fb0: simplefb registered!
[    0.364573] libphy: mdio_mux: probed
[    0.369891] libphy: mdio_mux: probed
[    0.377069] printk: console [netcon0] enabled
[    0.377077] netconsole: network logging started
[    0.377469] ALSA device list:
[    0.377475]   #0: KHADAS-VIM3
[    0.390180] Freeing unused kernel memory: 2624K
[    0.410368] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.412495] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.414595] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.418457] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.423055] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[    0.426110] Run /init as init process
[    0.426159]   with arguments:
[    0.426197]     /init
[    0.426233]     osd12
[    0.426264]     splash
[    0.426293]   with environment:
[    0.426321]     HOME=/
[    0.426350]     TERM=linux
[    0.426378]     ubootpart=a0538816-01
[    0.426408]     jtag=disable
[    0.426436]     mac=c8:63:14:70:d0:4c
[    0.426466]     fan=auto
[    0.426493]     khadas_board=VIM3
[    0.426521]     hwver=VIM3.V12
[    0.426549]     imagetype=EMMC_MBR
[    0.426577]     uboottype=mainline
[    0.494429] random: fast init done
[    0.499691] mmc2: new high speed SDIO card at address 0001
[    0.553377] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    0.558665] mmc1: new HS200 MMC card at address 0001
[    0.562623] mmcblk1: mmc1:0001 BJTD4R 29.1 GiB
[    0.562973] mmcblk1boot0: mmc1:0001 BJTD4R 4.00 MiB
[    0.563303] mmcblk1boot1: mmc1:0001 BJTD4R 4.00 MiB
[    0.563517] mmcblk1rpmb: mmc1:0001 BJTD4R 4.00 MiB, chardev (240:0)
[    0.565907]  mmcblk1: p1 p2
[    0.568002] meson-vrtc ff8000a8.rtc: registered as rtc1
[    0.568991] pca953x 4-0020: using no AI
[    0.578218] rtc-hym8563 4-0051: registered as rtc0
[    0.579258] rtc-hym8563 4-0051: setting system clock to 2021-09-07T12:07:13 UTC (1631016433)
[    0.609146] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    0.759944] usb 1-1: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
[    0.760071] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.760133] usb 1-1: Product: USB 2.0 Hub
[    0.801537] hub 1-1:1.0: USB hub found
[    0.801659] hub 1-1:1.0: 4 ports detected
[    0.865775] raid6: skip pq benchmark and using algorithm neonx8
[    0.865789] raid6: using neon recovery algorithm
[    0.867801] xor: measuring software checksum speed
[    0.870664]    8regs           :  3476 MB/sec
[    0.873113]    32regs          :  4024 MB/sec
[    0.874644]    arm64_neon      :  8087 MB/sec
[    0.874647] xor: using function: arm64_neon (8087 MB/sec)
[    0.889322] Btrfs loaded, crc32c=crc32c-generic, zoned=no
[    1.013155] EXT4-fs (mmcblk1p2): mounted filesystem with writeback data mode. Opts: data=writeback. Quota mode: disabled.
[    1.260740] systemd[1]: systemd 245.4-4ubuntu3.11 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    1.261358] systemd[1]: Detected architecture arm64.
[    1.286455] systemd[1]: Set hostname to <khadas.raveland.priv>.
[    1.587138] random: systemd: uninitialized urandom read (16 bytes read)
[    1.588359] systemd[1]: Created slice system-modprobe.slice.
[    1.588456] random: systemd: uninitialized urandom read (16 bytes read)
[    1.588815] systemd[1]: Created slice system-postfix.slice.
[    1.588837] random: systemd: uninitialized urandom read (16 bytes read)
[    1.589953] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    1.590448] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    1.590854] systemd[1]: Created slice User and Session Slice.
[    1.590985] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    1.591071] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    1.591198] systemd[1]: Reached target Remote File Systems.
[    1.591224] systemd[1]: Reached target Slices.
[    1.591263] systemd[1]: Reached target Swap.
[    1.591292] systemd[1]: Reached target System Time Set.
[    1.591519] systemd[1]: Listening on Syslog Socket.
[    1.591675] systemd[1]: Listening on fsck to fsckd communication Socket.
[    1.591782] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    1.592097] systemd[1]: Listening on Journal Audit Socket.
[    1.592238] systemd[1]: Listening on Journal Socket (/dev/log).
[    1.592433] systemd[1]: Listening on Journal Socket.
[    1.592611] systemd[1]: Listening on udev Control Socket.
[    1.592726] systemd[1]: Listening on udev Kernel Socket.
[    1.592898] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    1.594547] systemd[1]: Mounting POSIX Message Queue File System...
[    1.596499] systemd[1]: Mounting Kernel Debug File System...
[    1.596778] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    1.600163] systemd[1]: Starting Journal Service...
[    1.602474] systemd[1]: Starting Restore / save the current clock...
[    1.604535] systemd[1]: Starting Set the console keyboard layout...
[    1.606595] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    1.606721] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    1.608832] systemd[1]: Started Nameserver information manager.
[    1.609298] systemd[1]: Reached target Network (Pre).
[    1.610925] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    1.611016] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    1.616189] systemd[1]: Starting Load Kernel Modules...
[    1.618217] systemd[1]: Starting Remount Root and Kernel File Systems...
[    1.620274] systemd[1]: Starting udev Coldplug all Devices...
[    1.624298] systemd[1]: Mounted POSIX Message Queue File System.
[    1.624670] systemd[1]: Mounted Kernel Debug File System.
[    1.625790] systemd[1]: Finished Restore / save the current clock.
[    1.627025] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    1.634978] EXT4-fs (mmcblk1p2): re-mounted. Opts: commit=600,errors=remount-ro. Quota mode: disabled.
[    1.638170] systemd[1]: Finished Remount Root and Kernel File Systems.
[    1.643093] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    1.643183] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    1.645377] systemd[1]: Starting Load/Save Random Seed...
[    1.646413] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.647560] systemd[1]: Starting Create System Users...
[    1.656606] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.663264] systemd[1]: Started Journal Service.
[    1.677839] brcmfmac: F1 signature read @0x18000000=0x17294359
[    1.680945] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4359-sdio for chip BCM4359/9
[    1.684929] systemd-journald[1600]: Received client request to flush runtime journal.
[    1.690898] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4359-sdio.khadas,vim3.txt failed with error -2
[    1.695102] galcore: module is from the staging directory, the quality is unknown, you have been warned.
[    1.699077] npu_version: 2
[    1.699546] Galcore version 6.4.4.3.310723AAA
[    1.910036] panfrost ffe40000.gpu: clock rate = 24000000
[    1.910124] panfrost ffe40000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19
[    1.920308] panfrost ffe40000.gpu: [drm:panfrost_devfreq_init [panfrost]] Failed to register cooling device
[    1.920508] meson_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[    1.920581] panfrost ffe40000.gpu: mali-g52 id 0x7212 major 0x0 minor 0x0 status 0x0
[    1.920592] panfrost ffe40000.gpu: features: 00000000,13de77ff, issues: 00000000,00000400
[    1.920597] panfrost ffe40000.gpu: Features: L2:0x07110206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    1.920602] panfrost ffe40000.gpu: shader_present=0x3 l2_present=0x1
[    1.934586] Bluetooth: Core ver 2.22
[    1.934639] NET: Registered PF_BLUETOOTH protocol family
[    1.934643] Bluetooth: HCI device and connection manager initialized
[    1.934656] Bluetooth: HCI socket layer initialized
[    1.934661] Bluetooth: L2CAP socket layer initialized
[    1.934670] Bluetooth: SCO socket layer initialized
[    1.936521] [drm] Initialized panfrost 1.2.0 20180908 for ffe40000.gpu on minor 1
[    1.948903] Bluetooth: HCI UART driver ver 2.3
[    1.948918] Bluetooth: HCI UART protocol H4 registered
[    1.949091] Bluetooth: HCI UART protocol Broadcom registered
[    1.949107] Bluetooth: HCI UART protocol QCA registered
[    1.949305] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[    1.950013] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[    1.969155] Registered IR keymap rc-khadas
[    1.973844] IR NEC protocol handler initialized
[    2.001228] rc rc0: meson-ir as /devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0
[    2.001324] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter
[    2.001389] input: meson-ir as /devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0/input1
[    2.001860] meson-ir ff808000.ir: receiver initialized
[    2.042201] random: crng init done
[    2.042224] random: 7 urandom warning(s) missed due to ratelimiting
[    2.239594] zram: Added device: zram0
[    2.241615] zram: Added device: zram1
[    2.245449] zram: Added device: zram2
[    2.247547] zram: Added device: zram3
[    2.249068] zram: Added device: zram4
[    2.251346] zram: Added device: zram5
[    2.284421] zram1: detected capacity change from 0 to 524288
[    2.301830] Bluetooth: hci1: BCM: chip id 121
[    2.302154] Bluetooth: hci1: BCM: features 0x0e
[    2.303703] Bluetooth: hci1: BCM4359C0
[    2.303719] Bluetooth: hci1: BCM4359C0 (003.001.006) build 0000
[    2.305253] Bluetooth: hci1: BCM4359C0 'brcm/BCM4359C0.hcd' Patch
[    2.310191] Adding 262140k swap on /dev/zram1.  Priority:5 extents:1 across:262140k SSFS
[    2.316372] zram2: detected capacity change from 0 to 524288
[    2.331113] Adding 262140k swap on /dev/zram2.  Priority:5 extents:1 across:262140k SSFS
[    2.332766] zram3: detected capacity change from 0 to 524288
[    2.350488] Adding 262140k swap on /dev/zram3.  Priority:5 extents:1 across:262140k SSFS
[    2.352616] zram4: detected capacity change from 0 to 524288
[    2.371926] Adding 262140k swap on /dev/zram4.  Priority:5 extents:1 across:262140k SSFS
[    3.009165] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=42)
[    3.010776] meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[    3.021510] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
[    3.021518] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
[    3.021716] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode
[    3.183669] Bluetooth: hci1: BCM43596 UART 37.4MHz AMPAK AP6359S2 CL1.5[Baseline: 0134]
[    3.183684] Bluetooth: hci1: BCM4359C0 (003.001.006) build 0268
[    4.189289] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4359-sdio for chip BCM4359/9
[    4.192210] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    4.205261] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4359/9 wl0: Sep 20 2019 20:22:36 version 9.87.51.11.34 (edb7293@shgit) (r711217) FWID 01-c7feb1ee
[    4.605192] ieee80211 phy0: brcmf_dongle_roam: WLC_SET_ROAM_TRIGGER error (-52)
[    6.658935] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.658976] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Hello @pea13

You use the original source code from GitHub Fenix?

Yes. And i built the debian package with Docker:

% git remote show origin
* remote origin
  Fetch URL: https://github.com/khadas/fenix.git
  Push  URL: https://github.com/khadas/fenix.git
  HEAD branch: master
  Remote branches:
    dev          tracked
    master       tracked
    ubuntu-21.04 tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (up to date)

% git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

OK. @Frank please check this issue.

@pea13 Hello, We had fixed this error , you can update you fenix to least release code and rebuild you image.

$ make debs && make

Hello,

Sorry for the late answer. Thank you !!
Regards,