NanoPi R4S-RK3399 is a great new OpenWrt device

I'm pretty sure that's how my setup behaves on boot. You can define static IP addresses for specific device MAC addresses under the Network>DHCP and DNS> Static Leases menu tab if you want to enforce fixed IP addresses for particular devices. That's what I do for the shared printer on our network.

Aside, you'll get more visibility and help on general "Install and Use" questions in that sub-forum.

think i just have to wait for some to renew there IP

hi,
i have r4s rm3399, and i have tried multiple sd cards and different version snapshot, i always stuck at booting. If i boot into friendlywrt, i have no problem at all, but any or latest version openwrt, even built version for rm3399, booting stuck at loading up, here is the serial logs:

ontroller at irq 28,32 bit host data width,256 deep fifo
2022-05-12 18:42:38 --> [    0.435229] sdhci-pltfm: SDHCI platform and OF driver helper
2022-05-12 18:42:38 --> [    0.437032] ledtrig-cpu: registered to indicate activity on CPUs
2022-05-12 18:42:38 --> [    0.437975] usbcore: registered new interface driver usbhid
2022-05-12 18:42:38 --> [    0.438465] usbhid: USB HID core driver
2022-05-12 18:42:38 --> [    0.440476] NET: Registered protocol family 10
2022-05-12 18:42:38 --> [    0.441670] Segment Routing with IPv6
2022-05-12 18:42:38 --> [    0.442058] NET: Registered protocol family 17
2022-05-12 18:42:38 --> [    0.442480] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
2022-05-12 18:42:38 --> [    0.443611] 8021q: 802.1Q VLAN Support v1.8
2022-05-12 18:42:38 --> [    0.472358] BUG: Bad page state in process swapper/0  pfn:f0965
2022-05-12 18:42:38 --> [    0.472889] page:fffffe0003a25940 refcount:64 mapcount:0 mapping:0000000000000000 index:0x0
2022-05-12 18:42:38 --> [    0.473622] flags: 0x0()
2022-05-12 18:42:38 --> [    0.473856] raw: 0000000000000000 fffffe0003a25948 fffffe0003a25948 0000000000000000
2022-05-12 18:42:38 --> [    0.474538] raw: 0000000000000000 0000000000000000 00000040ffffffff 0000000000000000
2022-05-12 18:42:38 --> [    0.475214] page dumped because: nonzero _refcount
2022-05-12 18:42:38 --> [    0.475637] Modules linked in:
2022-05-12 18:42:38 --> [    0.475919] CPU: 5 PID: 1 Comm: swapper/0 Not tainted 5.4.188 #0
2022-05-12 18:42:38 --> [    0.476447] Hardware name: FriendlyElec NanoPi R4S (DT)
2022-05-12 18:42:38 --> [    0.476907] Call trace:
2022-05-12 18:42:38 --> [    0.477140]  dump_backtrace+0x0/0x110
2022-05-12 18:42:38 --> [    0.477470]  show_stack+0x1479128]  __alloc_pages_nodemask+0x10c/0xc00
2022-05-12 18:42:38 --> [    0.479530]  aate_file+0x70/0x150
2022-05-12 18:42:38 --> [    0.482365]  debugfs_create_file_unsaf0x24
2022-05-12 18:42:38 --> [    0.485282] Disabling lock debugging due to kernel ta
2022-05-12 18:42:38 --> [    0.488609] reg-fixed-voltage vcc3v3-sys: Failed to register regulator: -517
2022-05-12 18:42:38 --> [    0.489502] vcc5v0_sys: supplied by vdd_5v
2022-05-12 18:42:38 --> [    0.490166] reg-fixed-voltage vcc1v8-s3: Failed to register regulator: -517
2022-05-12 18:42:38 --> [    0.491076] reg-fixed-voltage vcc3v0-sd: Failed to register regulator: -517
2022-05-12 18:42:38 --> [    0.492231] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
2022-05-12 18:42:38 --> [    0.493668] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
2022-05-12 18:42:38 --> [    0.494254] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lp
2022-05-12 18:42:38 --> [    0.497513] fan53555-regulator 0-0040: FAN53555 Option[8]
2022-05-12 18:42:38 --> [    0.500279] fan53555-regulator 0-0040: Failed to register 
2022-05-12 18:42:38 --> [    0.502585] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
2022-05-12 18:42:38 --> [    0.504454] fan53555-regulator 0-0041: Failed to register regulator!
2022-05-12 18:42:38 --> [    0.505293] rk808-regulator rk808-regulator: there is no dvs0 gpio
2022-05-12 18:42:38 --> [    0.505855] rk808-regulator rk808-regulator: there is no dvs1 gpio
2022-05-12 18:42:38 --> [    0.506462] rk808 0-001b: failed to register 0 regulator
2022-05-12 18:42:38 --> [    0.508060] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
2022-05-12 18:42:38 --> [    0.508715] dwmmc_rockchip fe320000.dwmmc: Using interied by vcc5v0_sys
2022-05-12 18:42:38 --> [    0.511644] reg-fixed-voltage vcc1v8-s3:114] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
2022-05-12 18:42:38 --> [    0.541363] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
2022-05-12 18:42:38 --> [    0.542007] rockchip-pcie f8000000.pcie:   MEM 0xfa000000..0xfbdfffff -> 0xfa000000
2022-05-12 18:42:38 --> [    0.542698] rockchip-pcie f8000000.pcie:    IO 0xfbe00000..0xfbefffff -> 0xfbe00000
2022-05-12 18:42:38 --> [    0.543675] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
2022-05-12 18:42:38 --> [    0.544263] pci_bus 0000:00: root bus resource [bus 00-1f]
2022-05-12 18:42:38 --> [    0.544750] pci_bus 0000:00: root bus resour000-0xfbdfffff]
2022-05-12 18:42:38 --> [    0.545395] pci_bus 0000:00: root bus reso
2022-05-12 18:42:38 --> [    0.551639] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
2022-05-12 18:42:38 --> [    0.552512] pci 0000:01:00.000]
2022-05-12 18:42:38 --> [    0.554341] pci 0000:01:00.0: reg 0x18: [mem 0x0000000
2022-05-12 18:42:38 --> [    0.557364] pci 0000:01:00.0: supports D1 D2
2022-05-12 18:42:38 --> [    0.55774
2022-05-12 18:42:38 --> [    0.572921] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
2022-05-12 18:42:38 --> [    0.573556] pci 0000:00:00.0: BAR 8: assigned [mem 0xfa000000-0xfa0fffff]
2022-05-12 18:42:38 --> [    0.574162] pci 0000:01:00.0: BAR 4: assigned [mem 0xfa000000-0xfa003fff 64bit]
2022-05-12 18:42:38 --> [    0.574846] pci 0000:01:00.0: BAR 2: assigned [mem 0xfa004000-0xfa004fff 64bit]
2022-05-12 18:42:38 --> [    0.575527] pci 0000:01:00.0: BAR 0: no space pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0100]
2022-05-12 18:42:38 --> [231
2022-05-12 18:42:38 --> [    0.580170] pcieport 0000:00:00.0: AER: enabled with Iound
2022-05-12 18:42:38 --> [    0.582233] rk_gmac-dwmac fe300000.ethernet: IRQ eth_
2022-05-12 18:42:38 --> [    0.585586] fan53555-regulator 0-0040: FAN53555 Option[8] _b: supplied by vcc3v3_sys
2022-05-12 18:42:38 --> [    0.593814] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
2022-05-12 18:42:38 --> [    0.596209] vdd_gpu: supplied by vcc3v3_sys
2022-05-12 18:42:38 --> [    0.600367] rk808-regulator rk808-regulator: there is no dvs0 gpio
2022-05-12 18:42:38 --> [    0.600934] rk808-regulator rk808-regulator: there is no dvs1 gpio
2022-05-12 18:42:38 --> [    0.601580] vdd_center: supplied by vcc3v3_sys
2022-05-12 18:42:38 --> [    0.604115] vdd_cpu_l: supplied by vcc3v3_sys
2022-05-12 18:42:38 --> [    0.604810] vcc_ddr: supplied by vcc3v3_sys
2022-05-12 18:42:38 --> [    0.606398] vcc_1v8: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.608061] vcc1v8_cam: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.610103] vcc3v0_touch: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.612242] vcc1v8_pmupll: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.614739] vcc_sdio: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.616458] vcca3v0_codec: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.618608] vcc_1v5: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.620217] vcca1v8_codec: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.622333] vcc_3v0: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.623464] vcc3v3_s3: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.624053] vcc3v3_s0: supplied by vcc3v3_sys
2022-05-12 18:42:39 --> [    0.626161] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
2022-05-12 18:42:39 --> [    0.630928] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
2022-05-12 18:42:39 --> [    0.631586] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
2022-05-12 18:42:39 --> [    0.632193] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
2022-05-12 18:42:39 --> [    0.632726] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
2022-05-12 18:42:39 --> [    0.633791] dwmmc_rockchip fe320000.dwmmc: Got CD GPIO
2022-05-12 18:42:39 --> [    0.645316] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
2022-05-12 18:42:39 --> [    0.657866] vcc1v8_s3: supplied by vcc_1v8
2022-05-12 18:42:39 --> [    0.658647] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
2022-05-12 18:42:39 --> [    0.659225] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
2022-05-12 18:42:39 --> [    0.659806] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
2022-05-12 18:42:39 --> [    0.660369] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
2022-05-12 18:42:39 --> [    0.661006] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
2022-05-12 18:42:39 --> [    0.661501] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
2022-05-12 18:42:39 --> [    0.661998] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
2022-05-12 18:42:39 --> [    0.662554] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
2022-05-12 18:42:39 --> [    0.663160] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
2022-05-12 18:42:39 --> [    0.668696] rk_gmac-dwmac fe300000.ethernet: init for RGMII
2022-05-12 18:42:39 --> [    0.669798] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
2022-05-12 18:42:39 --> [    0.670456] rk_gmac-dwmac fe300000.ethernet: .DWMAC1000
2022-05-12 18:42:39 --> [    0.670914] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
2022-05-12 18:42:39 --> [    0.671582] rk_gmac-dwmac fe300000.ethernet: RX Chec
2022-05-12 18:42:39 --> [    0.672233] rk_gmac-dwmac fe300000.ethernet: COE Type 2
2022-05-12 18:42:39 --> 0.ethernet: Enable RX Mitigation via HW Watchdog Timer
2022-05-12 18:42:39 --> [    0.738853] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:09 UTC (1358499009)
2022-05-12 18:42:39 --> [    0.741228] ttyS2 - failed to request DMA
2022-05-12 18:42:39 --> [    0.741638] Waiting for root device PARTUUID=5452574f-02...
2022-05-12 18:42:39 --> [    0.936677] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
2022-05-12 18:42:39 --> [    1.270044] dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 159
2022-05-12 18:42:39 --> [    1.270686] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
2022-05-12 18:42:39 --> [    1.272898] mmcblk0: mmc0:aaaa SR64G 59.5 GiB 
2022-05-12 18:42:39 --> [    1.277228]  mmcblk0: p1 p2
2022-05-12 18:42:39 --> [    1.290426] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
2022-05-12 18:42:39 --> [    1.291679] Freeing unused kernel memory: 1664K
2022-05-12 18:42:39 --> [    1.309297] Run /sbin/init as init process
2022-05-12 18:42:39 --> [    1.502918] init: Console is alive
2022-05-12 18:42:39 --> [    1.549737] SQUASHFS error: xz decompression failed, data probably corrupt
2022-05-12 18:42:39 --> [    1.550350] SQUASHFS error: squashfs_read_data failed to read block 0x18cb8a
2022-05-12 18:42:39 --> [    1.550967] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:39 --> [    1.551552] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:39 --> [    1.552159] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:39 --> [    1.552743] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:39 --> [    1.553340] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:39 --> [    1.553924] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:39 --> [    1.554556] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:39 --> [    1.555147] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:39 --> [    1.555738] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:39 --> [    1.556325] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:39 --> [    1.5UASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:39 --> [ error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:39 --> [    1.5652] init: - preinit -
2022-05-12 18:42:40 --> Press the [f] key and hit [enter] to enter failsafe mode
2022-05-12 18:42:40 --> Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
2022-05-12 18:42:43 --> [    5.093943] mount_root: rootdisk overlay filesystem has not been formatted yet
2022-05-12 18:42:43 --> [    5.384173] F2FS-fs (loop0): Found nat_bits in checkpoint
2022-05-12 18:42:43 --> [    5.405669] F2FS-fs (loop0): Mounted with checkpoint version = f17a3b7
2022-05-12 18:42:43 --> [    5.406822] mount_root: overlay filesystem has not been fully initialized yet
2022-05-12 18:42:43 --> [    5.407732] mount_root: switching to f2fs overlay
2022-05-12 18:42:43 --> [    5.558106] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
2022-05-12 18:42:43 --> [    5.585381] urandom-seed: Seed file not found (/etc/urandom.seed)
2022-05-12 18:42:44 --> [    5.642137] procd: - early -
2022-05-12 18:42:44 --> [    6.237580] procd: - ubus -
2022-05-12 18:42:44 --> [    6.308456] procd: - init -
2022-05-12 18:42:44 --> Please press Enter to activate this console.
2022-05-12 18:42:45 --> [    6.660653] urngd: v1.0.2 started.
2022-05-12 18:42:45 --> [    6.874071] SQUASHFS error: xz decompression failed, data probably corrupt
2022-05-12 18:42:45 --> [    6.874675] SQUASHFS error: squashfs_read_data failed to read block 0x18cb8a
2022-05-12 18:42:45 --> [    6.875292] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:45 --> [    6.875877] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:45 --> [    6.876475] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:45 --> [    6.877066] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:46 --> [    8.111373] BUG: Bad page state in process loop0  pfn:ef514
2022-05-12 18:42:46 --> [    8.111871] page:fffffe00039d4500 refcount:64 mapcount:0 mapping:0000000000000000 index:0x2
2022-05-12 18:42:46 --> [    8.112601] flags: 0x0()
2022-05-12 18:42:46 --> [    8.112830] raw: 0000000000000000 dead000000000100 dead000000000122 0000000000000000
2022-05-12 18:42:46 --> [    8.113507] raw: 0000000000000002 0000000000000000 00000040ffffffff 0000000000000000
2022-05-12 18:42:46 --> [    8.114181  8.116810]  dump_stack+0xb4/0x110
2022-05-12 18:42:46 --> [    8.117112]  bad_page+0xfc/0x12c
2022-05-12 18:42:46 --> [    8.117398]  check_new_page_bad+0x68/0x9c
2022-05-12 18:42:46 --> [    2]  __slab_alloc.constprop.0+0x28/0x50
2022-05-12 18:42:46 --> [    8.120040]  kmem_cache_alloc+0x238/0x240
2022-05-12 18:42:46 --> [    8.120395]  alloc_buffer_head+0x1c/0x9c
2022-05-12 18:42:46 --> [    8.120740]  alloc_page_buffers+0xa4/0x1e0
2022-05-12 18:42:46 --> [    8.121102]  create_empty_buffers+0x20/0x1b0
2022-05-12 18:42:46 --> [    8.121478]  create_page_buffers+0x64/0x70
2022-05-12 18:42:46 --> [    8.121840]  __block_write_begin_int+0x80/0x690
2022-05-12 18:42:46 --> [    8.122239]  block_write_begin+0x4c/0xd4
2022-05-12 18:42:46 --> [    8.122586]  blkdev_write_begin+0x28/0x30
2022-05-12 18:42:46 --> [    8.122943]  generic_perform_write+0x98/0x18c
2022-05-12 18:42:46 --> [    8.123326]  __generic_filt_iter+0x12c/0x1b0
2022-05-12 18:42:46 --> [    8.123748]  blkdev_write_iter+0x98/0x1/0x24
2022-05-12 18:42:46 --> [    8.126549]  kthread+0x14c/0x150
2022-05-12 18:42:46 --> [    8.126836]  re
2022-05-12 18:42:47 --> [    8.665258] SQUASHFS error: xz decompression failed, data probably corrupt
2022-05-12 18:42:47 --> [    8.665863] SQUASHFS error: squashfs_read_data failed to read block 0x399fb06
2022-05-12 18:42:47 --> [    8.666486] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.667047] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.667659] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.668220] SQUASHFS error: Unable to read page, blb06]
2022-05-12 18:42:47 --> [    8.670553] SQUASHFS error: Unable to read page, bloc
2022-05-12 18:42:47 --> [    8.673477] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.674038] SQUASHFS error: Unable to read pag page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.676969] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.677530] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.678129] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.678690] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.679290] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.679851] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.680451] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.681017] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.681618] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.682178] SQUASHFS 06, size 306bc
2022-05-12 18:42:47 --> [    8.685108] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.685669] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.686268] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    ble to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.689150] SQUASHFad page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.692071] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.692631]e to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.694958] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.695557] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.696117] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.696717] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.697282] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.697882] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.698442] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.699042] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.699602] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.700202] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.700762] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.701367] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.701928] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.702529] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.703089] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.703690] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.704250] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.704858] SQUASHFS error: Unable to read data cache entry [399fb06]
2022-05-12 18:42:47 --> [    8.705424] SQUASHFS error: Unable to read page, block 399fb06, size 306bc
2022-05-12 18:42:47 --> [    8.955562] BUG: Bad page state in process grep  pfn:ef634
2022-05-12 18:42:47 --> [    8.956051] page:fffffe00039d8d00 refcount:64 mapcount:0 mapping:0000000000000000 index:0x2
2022-05-12 18:42:47 --> [    8.956779] flags: 0x0()
2022-05-12 18:42:47 --> [    8.957010] raw: 0000000000000000 dead000000000100 dead000000000122 0000000000000000
2022-05-12 18:42:47 --> [    8.957686] raw: 0000000000000002 0000000000000000 00000040ffffffff 0000000000000000
2022-05-12 18:42:47 --> [    8.958360] page dumped because: nonzero _refcount
2022-05-12 18:42:47 --> [    8.958779] Modules linked in:
2022-05-12 18:42:47 --> [    8.959055] CPU: 4 PID: 589 Comm: grep Tainted: G    B             5.4.188 #0
2022-05-12 18:42:47 --> [    8.959678] Hardware name: FriendlyElec NanoPi R4S (DT)
2022-05-12 18:42:47 --> [    8.960136] Call trace:
2022-05-12 18:42:47 --> [    8.960364]  dump_backtrace+0x0/0x110
2022-05-12 18:42:47 --> [    8.960689]  show_stack+0x14/0x20
2022-05-12 18:42:47 --> [    8.960987]  dump_stack+0xb4/0x110
2022-05-12 18:42:47 --> [    8.961289]  bad_page+0xfc/0x12c
2022-05-12 18:42:47 --> [    8.961574]  check_new_page_bad+0x68/0x9c
2022-05-12 18:42:47 --> [    8.961928]  get_page_from_freelist+0x4fc/0xf30
2022-05-12 18:42:47 --> [    8.962326]  __alloc_pages_nodemask+0x10c/0xc00
2022-05-12 18:42:47 --> [    8.962724]  alloc_slab_page+0x240/0x324
2022-05-12 18:42:47 --> [    8.963069]  allocate_slab+0x8c/0x3cc
2022-05-12 18:42:47 --> [    8.963391]  ___slab_alloc.constprop.0+0x1b8/0x5fc
2022-05-12 18:42:47 --> [    8.963811]  __slab_alloc.constprop.0+0x28/0x50
2022-05-12 18:42:47 --> [    8.964208]  kmem_cache_alloc+0x238/0x240
2022-05-12 18:42:47 --> [    8.964563]  ovl_alloc_inode+0x20/0x60
2022-05-12 18:42:47 --> [    8.964895]  alloc_inode+0x24/0xd0
2022-05-12 18:42:47 --> [    8.965194]  iget5_locked+0x58/0x90
2022-05-12 18:42:47 --> [    8.965503]  ovl_get_inode+0x1f8/0x550
2022-05-12 18:42:47 --> [    8.965833]  ovl_lookup+0x304/0x8b0
2022-05-12 18:42:47 --> [    8.966141]  path_openat+0x7bc/0xfc0
2022-05-12 18:42:47 --> [    8.966455]  do_filp_open+0x60/0xf0
2022-05-12 18:42:47 --> [    8.966765]  do_sys_open+0x148/0x1ec
2022-05-12 18:42:47 --> [    8.967080]  __arm64_sys_openat+0x20/0x30
2022-05-12 18:42:47 --> [    8.967435c_common.constprop.0+0x60/0x110
2022-05-12 18:42:47 --> [    8.967856]  el0_svc_handl
2022-05-12 18:42:48 --> [   10.170361] SQUASHFS error: xz decompression failed, data probably corrupt
2022-05-12 18:42:48 --> [   10.170968] SQUASHFS error: squashfs_read_data failed to read block 0x423d042
2022-05-12 18:42:48 --> [   10.171593] SQUASHFS error: Unable to read fragment cache entry [423d042]
2022-05-12 18:42:48 --> [   10.172187] SQUASHFS error: Unable to read page, block 423d042, size c054
2022-05-12 18:42:48 --> [   10.172787] SQUASHFS error: Unable to read fragment cache entry [423d042]
2022-05-12 18:42:48 --> [   10.173469] SQUASHFS error: Unable to read page, block 423d042, size c054
2022-05-12 18:42:48 --> [   10.174102] SQUASHFS error: Unable to read fragment cache entry [423d042]
2022-05-12 18:42:48 --> [   10.174710] SQUASHFS error: Unable to read page, block 423d042, size c054
2022-05-12 18:42:48 --> [   10.175330] SQUASHFS error: Unable to read fragment cache entry [423d042]
2022-05-12 18:42:48 --> [   10.175940] SQUASHFS error: Unable to read page, block 423d042, size c054
2022-05-12 18:42:48 --> [   10.220037] SQUASHFS error: Unable to read fragment cache entry [423d042]
2022-05-12 18:42:48 --> [   10.220636] SQUASHFS error: Unable to read page, block 423d042, size c054
2022-05-12 18:42:48 --> [   10.221284] SQUASHFS error: Unable to read fragment cache entry [423d042]
2022-05-12 18:42:48 --> [   10.221945] SQUASHFS error: Unable to read page, block 423d042, size c054
2022-05-12 18:42:48 --> [   10.222559] SQUASHFS error: Unable to read fragment cache entry [423d042]
2022-05-12 18:42:48 --> [   10.223166] SQUASHFS error: Unable to read page, block 423d042, size c054
2022-05-12 18:42:49 --> [   10.835324] BUG: Bad page state in process sh  pfn:eef3c
2022-05-12 18:42:49 --> [   10.835796] page:fffffe00039bcf00 refcount:64 mapcount:0 mapping:0000000000000000 index:0x1
2022-05-12 18:42:49 --> [   10.836524] flags: 0x0()
2022-05-12 18:42:49 --> [   10.836753] raw: 0000000000000000 dead000000000100 dead000000000122 0000000000000000
2022-05-12 18:42:49 --> [   10.837427] raw: 0000000000000001 0000000000000000 00000040ffffffff 0000000000000000
2022-05-12 18:42:49 --> [   10.838101] page dumped because: nonzero _refcount
2022-05-12 18:42:49 --> [   10.838520] Modules linked in:
2022-05-12 18:42:49 --> [   10.838794] CPU: 4 PID: 1100 Comm: sh Tainted: G    B             5.4.188 #0
2022-05-12 18:42:49 --> [   10.839408] Hardware name: FriendlyElec NanoPi R4S (DT)
2022-05-12 18:42:49 --> [   10.839865] Call trace:
2022-05-12 18:42:49 --> [   10.840090]  dump_backtrace+0x0/0x110
2022-05-12 18:42:49 --> [   10.840414]  show_stack+0x14/0x20
2022-05-12 18:42:49 --> [   10.840709]  dump_stack+0xb4/0x110
2022-05-12 18:42:49 --> [   10.841011]  bad_page+0xfc/0x12c
2022-05-12 18:42:49 --> [   10.841295]  check_new_page_bad+0x68/0x9c
2022-05-12 18:42:49 --> [   10.841648]  get_page_from_freelist+0xb44/0xf30
2022-05-12 18:42:49 --> [   10.842046]  __alloc_pages_nodemask+0x10c/0xc00
2022-05-12 18:42:49 --> [   10.842443]  wp_page_copy+0x60/0x830
2022-05-12 18:42:49 --> [   10.842758]  do_wp_page+0x8]  handle_mm_fault+0xb0/0x170
2022-05-12 18:42:49 --> [   10.843753]  do_page_fault+0
2022-05-12 18:42:50 --> [   12.256036] SQUASHFS error: xz decompression failed, data probably corrupt
2022-05-12 18:42:50 --> [   12.256643] SQUASHFS error: squashfs_read_data failed to read block 0x18cb8a
2022-05-12 18:42:50 --> [   12.257352] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:50 --> [   12.257939] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:50 --> [   12.258537] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:50 --> [   12.259122] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:50 --> [   12.263376] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:50 --> [   12.263974] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:50 --> [   12.264568] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:50 --> [   12.265182] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:50 --> [   12.268119] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:50 --> [   12.268708] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:50 --> [   12.269316] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:50 --> [   12.269900] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:50 --> [   12.273329] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:50 --> [   12.273918] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:50 --> [   12.274510] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:50 --> [   12.275093] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:50 --> [   12.281035] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet]
2022-05-12 18:42:50 --> [   12.293187] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
2022-05-12 18:42:50 --> [   12.293877] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
2022-05-12 18:42:50 --> [   12.294479] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
2022-05-12 18:42:51 --> [   13.155438] SQUASHFS error: xz decompression failed, data probably corrupt
2022-05-12 18:42:51 --> [   13.156051] SQUASHFS error: squashfs_read_data failed to read block 0x18cb8a
2022-05-12 18:42:51 --> [   13.156668] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.157288] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.157893] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.158479] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.177317] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.177909] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.178518] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.179900] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.189438] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.190028] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.190615] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.191243] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.203261] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.204449] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.205078] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.205662] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.214945] SQUASHFS error: Unable to read fragment cache entry [18cb8a]
2022-05-12 18:42:51 --> [   13.215546] SQUASHFS error: Unable to read page, block 18cb8a, size d864
2022-05-12 18:42:51 --> [   13.216376] SQUASHFS error: Unable to read fragment cache entry [18cb8a]

here is my disk list:

/dev/disk4 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *63.9 GB    disk4
   1:                      Linux <U+2068><U+2069>                        41.9 MB    disk4s1
   2:                      Linux <U+2068><U+2069>                        1.1 GB     disk4s2
                    (free space)                         62.7 GB    -

tried these snapshot all the same.

openwrt-22.03-snapshot-r19338-ae64d0624c-rockchip-armv8-friendlyarm_nanopi-r4s-squashfs-sysupgrade.img

openwrt-22.03.0-rc1-rockchip-armv8-friendlyarm_nanopi-r4s-ext4-sysupgrade.img

OpenWrt-AO-NanoPiR4S-full-21.02-20220501-squashfs.img

yes i have tried them all,
the power supply is 4A, no problem on ras pi4b,
yes im using balana etcher on mac, never use windows.
i also tried 4,5 sd cards different kinds, but again they dont have problem on friendlywrt on rk3399 or ras pi4. So its not the sdcards, almost all of them has same error messages.
I tried sandisk and samsung, class 10 at least, v30/a2

try a ext4 image and use balana etcher to write it out if u using windows.

SQUASHFS error: xz decompression failed, data probably corrupt

:edit: Just out of interest. Have you tried a different power supply? Just in case yours is borderline and its glitching due to poor power supply?

i know https://github.com/anaelorlinski/OpenWrt-NanoPi-R2S-R4S-Builds builds work with mine. (i use his as he patches in the network drivers and docker)

anaelorlinski add/replace acme/adblock with uacme/adguardhome

He's also using AGH in his builds now too.

I can confirm this method works fine on my Nano Pi R4S 4GB. Most recently I am running OpenWrt SNAPSHOT19614-d9fae43202 on my NanoPiR4s and using it as my home network gateway.

Is it a problem to use it as a router running from the sd card?

yeah thats what i used this week, using a official pi4 PSU, all working well, SD card is a sandisk something or other 64gb :laughing:

Openwrt by default does not write anything to "hard disk" when just routing/serving dns/dhcp

yes i have tried them all,
the power supply is 4A, no problem on ras pi4b,
yes im using balana etcher on mac, never use windows.
i also tried 4,5 sd cards different kinds, but again they dont have problem on friendlywrt on rk3399 or ras pi4. So its not the sdcards, almost all of them has same error messages.
I tried sandisk and samsung, class 10 at least, v30/a2

Did you verify the sha256sum of the img.gz files downloaded? I didn't see that mentioned - sorry if I missed it. Multiple incomplete image/bad images seems unlikely and probably problematic for zip extraction but worth a checksum check.
I am running the 22.03 rc1 squashfs image and my early boot log from after an upgrade of a working setup looks considerably different from the one you posted above, even considering matching some specific lines and timestamps. Many events that do match do happen at about the same times. I have openwrt-22.03.0-rc1-rockchip-armv8-friendlyarm_nanopi-r4s-squashfs-sysupgrade.img.gz and I am willing to load it onto a spare sd card and grab a boot log of the first boot later today or this weekend. I could grab another image if downloads are an issue for you and you don't have this one. Let me know.

Friendlywrt uses ext4 and not squashfs.

I guess that either is something happening when you write the image to the sd card, or the images themselves have some kind of issue or your nanopi has some issues like ram issues, since squashfs runs on ram.

Where did you download those squashfs images from?

Also, what are you talking about when you say rm3399? The nanopi r4s uses a RK3399.

my bad, autokey,
yes its rk3399
and i downloaded them here:

936027ac57e092d911bfb18aef2128d39fe6783050c3355247c3bc736fea5ea0 /Users/jimmyle-m16/Downloads/OpenWrt-AO-NanoPiR4S-full-21.02-20220501-ext4.img

bdb5ac3800c3ac0756a946f34d821db6866c522dfe4cb37b1873d3cb9078a501 /Users/jimmyle-m16/Downloads/OpenWrt-AO-NanoPiR4S-full-21.02-20220501-squashfs.img

weird thing is that sometime im able to boot, sometime i cant, like 1 out of 10 reboot cycling, i got 1 success, and my R4S is 4G, also friendlywrt booted just fine so i doubt it is a hardware defective or anything like that. Im willing to try any other snapshot you guys think is stable and post a serial console here.

I just got mine from here

https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=rockchip%2Farmv8&id=friendlyarm_nanopi-r4s

seem like this one is working but not other one :

Do you have a 4GB or 1GB version?

So I`ve a strange problem, which i used to have with TPlink router standard firmare, but putting openwrt on it solved it and never had a issue

but now its back when using the r4s :frowning:

one nas drive on network windows cant access it via \nasdrive it asks for passowrd < this is already saved in windows, entering the password then gets me

image

the only way to get windows back access to it, is to reboot router and nas drive, am i missing some setting some where

and i can access it via ip/dns name on web browser

found issue, it adds ".lan" onto the end of the DNS names, but only affects the old NAS drive

looks like from that thread there potentially is an issue with SquashFS.

The new friendlywrt build is working really well for me. Has all the latest packages like qosify etc plus docker