Skip to content

AWG 2.0#88

Merged
ygurov merged 8 commits intomasterfrom
feature/awg2
Oct 2, 2025
Merged

AWG 2.0#88
ygurov merged 8 commits intomasterfrom
feature/awg2

Conversation

@ygurov
Copy link
Copy Markdown
Collaborator

@ygurov ygurov commented Aug 25, 2025

No description provided.

@kaaax0815
Copy link
Copy Markdown

any update on this?

@ygurov
Copy link
Copy Markdown
Collaborator Author

ygurov commented Sep 16, 2025

any update on this?

Hi @kaaax0815,
There was a lot of work for us this month, and we are preparing AWG2.0 to be released
I think it would be released on this or next week

@this-username-has-been-taken
Copy link
Copy Markdown

this-username-has-been-taken commented Sep 17, 2025

Hi!

I have got an error while trying to compile the module for linux kernel v5.15.189:

In file included from /home/user/openwrt_test/openwrt/build_dir/target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250916/src/compat/version/linux/version.h:6,
                 from /home/user/openwrt_test/openwrt/build_dir/target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250916/src/compat/gso/include/net/gso.h:4,
                 from /home/user/openwrt_test/openwrt/build_dir/target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250916/src/device.c:24:
./include/generated/uapi/linux/version.h:1: error: "LINUX_VERSION_CODE" redefined [-Werror]
    1 | #define LINUX_VERSION_CODE 331709
      |
In file included from /home/user/openwrt_test/openwrt/build_dir/target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250916/src/compat/compat.h:10,
                 from <command-line>:
/home/user/openwrt_test/openwrt/build_dir/target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250916/src/compat/version/linux/version.h:10: note: this is the location of the previous definition
   10 | #define LINUX_VERSION_CODE KERNEL_VERSION(COMPAT_VERSION, COMPAT_PATCHLEVEL, COMPAT_SUBLEVEL)
      |
./include/generated/uapi/linux/version.h:2: error: "KERNEL_VERSION" redefined [-Werror]
    2 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))
      |
/home/user/openwrt_test/openwrt/build_dir/target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250916/src/compat/version/linux/version.h:8: note: this is the location of the previous definition
    8 | #define KERNEL_VERSION(a, b, c) (((a) << 24) + ((b) << 16) + (c))
      |
cc1: all warnings being treated as errors

I kindly ask to help identify if this issue is cause by the module sources or something else.

@ygurov
Copy link
Copy Markdown
Collaborator Author

ygurov commented Sep 17, 2025

Hi @this-username-has-been-taken
Thanks for reporting the issue. It's not an issue actually (just a warning) though I understand it could be a compilation problem since a lot of build scripts use pedantic flag, so I pushed fix commit
Please check if the issue is gone

@this-username-has-been-taken
Copy link
Copy Markdown

Hi @ygurov
Thank you very much for the fix! I have just checked - the module compiled without any errors for kernel v5.15.x
I am going to check if it compiles with kernel v6.x
I agree that it is just a warning, but sometimes you can't even control this flag (e.x. when compiling the module as a part of the OpenWRT firmware).

BTW, a user has reported that unfortunately kernel module doesn't work: the traffic won't flow through tunnel. I have added a link to the issue and requested additional information.

@this-username-has-been-taken
Copy link
Copy Markdown

The module compiles without errors for kernel v6.6.93.

@Alexey71
Copy link
Copy Markdown

Alexey71 commented Sep 18, 2025

@ygurov Hi. After updating kmod-amneziawg amneziawg stopped accepting packets from the server. I cannot connect to the server. I reverted the changes in kmod-amneziawg and the connection to the server was successful. Yur tested openwrt snapshots? Kernel 6.12.45

this-username-has-been-taken/amneziawg-openwrt#55 (comment)
this-username-has-been-taken/amneziawg-openwrt#55 (comment)

@ygurov
Copy link
Copy Markdown
Collaborator Author

ygurov commented Sep 18, 2025

Hi @Alexey71,
Thanks for reporting the issue. Looks weird, will check for any compatibility issues soon and report something back here

@Kot-nikot
Copy link
Copy Markdown

Kot-nikot commented Sep 22, 2025

Hi @ygurov. I've also encountered the problem of a non-working kmod on OpenWrt v 24.10.2 on a Xiaomi AX3000T router. The module compiles without errors. When the router boots, there are no errors related to the kmod in the logs either. The awg interface comes up. If I ping through it, the outgoing packet counter increases, while the incoming counter remains at 0, which indicates that there's no connection to the server. The config is working because if I remove the kmods and install the module on golang, everything works as it should. If you need any additional information or tests, let me know, I'll be happy to help in this important endeavor.

Here are the tcpdump captures, which show that when the kmod is running, there's an issue with the h1-h4 headers; specifically, it's not processing them.
dump_tcpdump.zip

@ygurov
Copy link
Copy Markdown
Collaborator Author

ygurov commented Sep 22, 2025

Hi @Alexey71 @Kot-nikot @this-username-has-been-taken,

Just finished the tests and found that it does work on my machine :)
What did I test:

  • Multiple combinations of awg-go/awg-kmod on client/server side
  • Plain WG on the server side (WARP, specifically)
    And it looks like connection (packet data/format) is fine, did not notice any error even while using 3rd party configurations.

I also found that both cases reported inability to receive packets, not to send them. So, I suspect, there could be a problem with routes configuration on the client side.

Could you provide me more details about the issue you encounter with? Is there any chance you can provide me:

  • iptables configuration
  • commands/data you specify in awg-tools
  • awg .conf files
  • kernel logs with dynamic debug enabled (use echo 'module amneziawg +p' > /sys/kernel/debug/dynamic_debug/control to enable them)

@Alexey71
Copy link
Copy Markdown

Alexey71 commented Sep 23, 2025

@ygurov

net/netfilter/nf_nat_helper.c:48 [nf_nat]mangle_contents =_ "nf_nat_mangle_packet: Extending packet by %u from %u bytes\n"
net/netfilter/nf_nat_core.c:972 [nf_nat]nf_nat_inet_fn =_ "Already setup manip %s for ct %p (status bits 0x%lx)\n"
net/netfilter/nf_nat_core.c:742 [nf_nat]get_unique_tuple =_ "get_unique_tuple: Found current src map\n"
drivers/net/wireguard/cookie.c:230 [wireguard]wg_cookie_message_consume =_ "%s: Could not decrypt invalid cookie response\n"
drivers/net/wireguard/socket.c:143 [wireguard]send6 =_ "%s: No route to %pISpfsc, error %d\n"
drivers/net/wireguard/socket.c:76 [wireguard]send4 =_ "%s: No route to %pISpfsc, error %d\n"
drivers/net/wireguard/receive.c:563 [wireguard]wg_packet_receive =_ "%s: Dropping handshake packet from %pISpfsc\n"
drivers/net/wireguard/receive.c:429 [wireguard]wg_packet_consume_data_done =_ "%s: Packet has incorrect size from peer %llu (%pISpfsc)\n"
drivers/net/wireguard/receive.c:423 [wireguard]wg_packet_consume_data_done =_ "%s: Packet is neither ipv4 nor ipv6 from peer %llu (%pISpfsc)\n"
drivers/net/wireguard/receive.c:416 [wireguard]wg_packet_consume_data_done =_ "%s: Packet has unallowed src IP (%pISc) from peer %llu (%pISpfsc)\n"
drivers/net/wireguard/receive.c:359 [wireguard]wg_packet_consume_data_done =_ "%s: Receiving keepalive packet from peer %llu (%pISpfsc)\n"
drivers/net/wireguard/receive.c:463 [wireguard]wg_packet_rx_poll =_ "%s: Packet has invalid nonce %llu (max %llu)\n"
drivers/net/wireguard/receive.c:173 [wireguard]wg_receive_handshake_packet =_ "%s: Receiving handshake response from peer %llu (%pISpfsc)\n"
drivers/net/wireguard/receive.c:168 [wireguard]wg_receive_handshake_packet =_ "%s: Invalid handshake response from %pISpfsc\n"
drivers/net/wireguard/receive.c:151 [wireguard]wg_receive_handshake_packet =_ "%s: Receiving handshake initiation from peer %llu (%pISpfsc)\n"
drivers/net/wireguard/receive.c:146 [wireguard]wg_receive_handshake_packet =_ "%s: Invalid handshake initiation from %pISpfsc\n"
drivers/net/wireguard/receive.c:129 [wireguard]wg_receive_handshake_packet =_ "%s: Invalid MAC of handshake, dropping packet from %pISpfsc\n"
drivers/net/wireguard/receive.c:105 [wireguard]wg_receive_handshake_packet =_ "%s: Receiving cookie response from %pISpfsc\n"
drivers/net/wireguard/send.c:234 [wireguard]wg_packet_send_keepalive =_ "%s: Sending keepalive packet to peer %llu (%pISpfsc)\n"
drivers/net/wireguard/send.c:116 [wireguard]wg_packet_send_handshake_cookie =_ "%s: Sending cookie response for denied handshake message for %pISpfsc\n"
drivers/net/wireguard/send.c:90 [wireguard]wg_packet_send_handshake_response =_ "%s: Sending handshake response to peer %llu (%pISpfsc)\n"
drivers/net/wireguard/send.c:30 [wireguard]wg_packet_send_handshake_initiation =_ "%s: Sending handshake initiation to peer %llu (%pISpfsc)\n"
drivers/net/wireguard/timers.c:65 [wireguard]wg_expired_retransmit_handshake =_ "%s: Handshake for peer %llu (%pISpfsc) did not complete after %d seconds, retrying (try %d)\n"
drivers/net/wireguard/timers.c:47 [wireguard]wg_expired_retransmit_handshake =_ "%s: Handshake for peer %llu (%pISpfsc) did not complete after %d attempts, giving up\n"
drivers/net/wireguard/timers.c:95 [wireguard]wg_expired_new_handshake =_ "%s: Retrying handshake with peer %llu (%pISpfsc) because we stopped hearing back after %d seconds\n"
drivers/net/wireguard/timers.c:127 [wireguard]wg_queued_expired_zero_key_material =_ "%s: Zeroing out all keys for peer %llu (%pISpfsc), since we haven't received a new one in %d seconds\n"
drivers/net/wireguard/peer.c:63 [wireguard]wg_peer_create =_ "%s: Peer %llu created\n"
drivers/net/wireguard/peer.c:204 [wireguard]kref_release =_ "%s: Peer %llu (%pISpfsc) destroyed\n"
drivers/net/wireguard/device.c:379 [wireguard]wg_newlink =_ "%s: Interface created\n"
drivers/net/wireguard/device.c:168 [wireguard]wg_xmit =_ "%s: No valid endpoint has been configured or discovered for peer %llu\n"
drivers/net/wireguard/device.c:160 [wireguard]wg_xmit =_ "%s: No peer has allowed IPs matching %pI6\n"
drivers/net/wireguard/device.c:157 [wireguard]wg_xmit =_ "%s: No peer has allowed IPs matching %pI4\n"
drivers/net/wireguard/device.c:149 [wireguard]wg_xmit =_ "%s: Invalid IP packet\n"
drivers/net/wireguard/device.c:418 [wireguard]wg_netns_pre_exit =_ "%s: Creating namespace exiting\n"
drivers/net/wireguard/device.c:268 [wireguard]wg_destruct =_ "%s: Interface destroyed\n"
drivers/net/wireguard/noise.c:846 [wireguard]wg_noise_handshake_begin_session =_ "%s: Keypair %llu created for peer %llu\n"
drivers/net/wireguard/noise.c:122 [wireguard]keypair_free_kref =_ "%s: Keypair %llu destroyed for peer %llu\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/cookie.c:230 [amneziawg]wg_cookie_message_consume =_ "%s: Could not decrypt invalid cookie response\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/socket.c:143 [amneziawg]send6 =_ "%s: No route to %pISpfsc, error %d\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/socket.c:76 [amneziawg]send4 =_ "%s: No route to %pISpfsc, error %d\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:594 [amneziawg]wg_packet_receive =_ "%s: Dropping handshake packet from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:68 [amneziawg]prepare_awg_message =_ "%s: Unknown message from %pISpfsc encountered, packet dropped\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:31 [amneziawg]prepare_awg_message =_ "%s: non-linear sk_buff from %pISpfsc could not be linearized, dropping packet\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:456 [amneziawg]wg_packet_consume_data_done =_ "%s: Packet has incorrect size from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:450 [amneziawg]wg_packet_consume_data_done =_ "%s: Packet is neither ipv4 nor ipv6 from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:443 [amneziawg]wg_packet_consume_data_done =_ "%s: Packet has unallowed src IP (%pISc) from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:384 [amneziawg]wg_packet_consume_data_done =_ "%s: Receiving keepalive packet from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:490 [amneziawg]wg_packet_rx_poll =_ "%s: Packet has invalid nonce %llu (max %llu)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:198 [amneziawg]wg_receive_handshake_packet =_ "%s: Receiving handshake response from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:193 [amneziawg]wg_receive_handshake_packet =_ "%s: Invalid handshake response from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:177 [amneziawg]wg_receive_handshake_packet =_ "%s: Receiving handshake initiation from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:172 [amneziawg]wg_receive_handshake_packet =_ "%s: Invalid handshake initiation from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:156 [amneziawg]wg_receive_handshake_packet =_ "%s: Invalid MAC of handshake, dropping packet from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:132 [amneziawg]wg_receive_handshake_packet =_ "%s: Receiving cookie response from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/send.c:275 [amneziawg]wg_packet_send_keepalive =_ "%s: Sending keepalive packet to peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/send.c:154 [amneziawg]wg_packet_send_handshake_cookie =_ "%s: Sending cookie response for denied handshake message for %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/send.c:130 [amneziawg]wg_packet_send_handshake_response =_ "%s: Sending handshake response to peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/send.c:41 [amneziawg]wg_packet_send_handshake_initiation =_ "%s: Sending handshake initiation to peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/timers.c:65 [amneziawg]wg_expired_retransmit_handshake =_ "%s: Handshake for peer %llu (%pISpfsc) did not complete after %d seconds, retrying (try %d)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/timers.c:47 [amneziawg]wg_expired_retransmit_handshake =_ "%s: Handshake for peer %llu (%pISpfsc) did not complete after %d attempts, giving up\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/timers.c:95 [amneziawg]wg_expired_new_handshake =_ "%s: Retrying handshake with peer %llu (%pISpfsc) because we stopped hearing back after %d seconds\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/timers.c:127 [amneziawg]wg_queued_expired_zero_key_material =_ "%s: Zeroing out all keys for peer %llu (%pISpfsc), since we haven't received a new one in %d seconds\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/peer.c:67 [amneziawg]wg_peer_create =_ "%s: Peer %llu created\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/peer.c:208 [amneziawg]kref_release =_ "%s: Peer %llu (%pISpfsc) destroyed\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:565 [amneziawg]wg_device_handle_post_config =_ "%s: I%d-packet invalid format\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:556 [amneziawg]wg_device_handle_post_config =_ "%s: H%d and H%d ranges must not overlap\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:548 [amneziawg]wg_device_handle_post_config =_ "%s: S4 is too large\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:543 [amneziawg]wg_device_handle_post_config =_ "%s: S3 is too large\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:538 [amneziawg]wg_device_handle_post_config =_ "%s: S2 is too large\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:533 [amneziawg]wg_device_handle_post_config =_ "%s: S1 is too large\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:527 [amneziawg]wg_device_handle_post_config =_ "%s: maxSize: %d; should be greater than minSize: %d\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:521 [amneziawg]wg_device_handle_post_config =_ "%s: JunkPacketMaxSize: %d; should be smaller than maxSegmentSize: %d\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:407 [amneziawg]wg_newlink =_ "%s: Interface created\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:161 [amneziawg]wg_xmit =_ "%s: No valid endpoint has been configured or discovered for peer %llu\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:153 [amneziawg]wg_xmit =_ "%s: No peer has allowed IPs matching %pI6\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:150 [amneziawg]wg_xmit =_ "%s: No peer has allowed IPs matching %pI4\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:142 [amneziawg]wg_xmit =_ "%s: Invalid IP packet\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:448 [amneziawg]wg_netns_pre_exit =_ "%s: Creating namespace exiting\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:267 [amneziawg]wg_destruct =_ "%s: Interface destroyed\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/noise.c:862 [amneziawg]wg_noise_handshake_begin_session =_ "%s: Keypair %llu created for peer %llu\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/noise.c:628 [amneziawg]wg_noise_handshake_consume_initiation =_ "%s: unknown peer from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/noise.c:125 [amneziawg]keypair_free_kref =_ "%s: Keypair %llu destroyed for peer %llu\n"

@ygurov
Copy link
Copy Markdown
Collaborator Author

ygurov commented Sep 23, 2025

Hi @Alexey71,
OMG, I have made a typo in that command to enable dynamic debug
The valid one is
echo 'module amneziawg +p' > /sys/kernel/debug/dynamic_debug/control, must be the plus
Is there any chance you can retest it? Sorry about that

@Alexey71
Copy link
Copy Markdown

cat /sys/kernel/debug/dynamic_debug/control

target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/cookie.c:230 [amneziawg]wg_cookie_message_consume =p "%s: Could not decrypt invalid cookie response\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/socket.c:143 [amneziawg]send6 =p "%s: No route to %pISpfsc, error %d\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/socket.c:76 [amneziawg]send4 =p "%s: No route to %pISpfsc, error %d\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:594 [amneziawg]wg_packet_receive =p "%s: Dropping handshake packet from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:68 [amneziawg]prepare_awg_message =p "%s: Unknown message from %pISpfsc encountered, packet dropped\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:31 [amneziawg]prepare_awg_message =p "%s: non-linear sk_buff from %pISpfsc could not be linearized, dropping packet\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:456 [amneziawg]wg_packet_consume_data_done =p "%s: Packet has incorrect size from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:450 [amneziawg]wg_packet_consume_data_done =p "%s: Packet is neither ipv4 nor ipv6 from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:443 [amneziawg]wg_packet_consume_data_done =p "%s: Packet has unallowed src IP (%pISc) from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:384 [amneziawg]wg_packet_consume_data_done =p "%s: Receiving keepalive packet from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:490 [amneziawg]wg_packet_rx_poll =p "%s: Packet has invalid nonce %llu (max %llu)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:198 [amneziawg]wg_receive_handshake_packet =p "%s: Receiving handshake response from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:193 [amneziawg]wg_receive_handshake_packet =p "%s: Invalid handshake response from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:177 [amneziawg]wg_receive_handshake_packet =p "%s: Receiving handshake initiation from peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:172 [amneziawg]wg_receive_handshake_packet =p "%s: Invalid handshake initiation from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:156 [amneziawg]wg_receive_handshake_packet =p "%s: Invalid MAC of handshake, dropping packet from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/receive.c:132 [amneziawg]wg_receive_handshake_packet =p "%s: Receiving cookie response from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/send.c:275 [amneziawg]wg_packet_send_keepalive =p "%s: Sending keepalive packet to peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/send.c:154 [amneziawg]wg_packet_send_handshake_cookie =p "%s: Sending cookie response for denied handshake message for %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/send.c:130 [amneziawg]wg_packet_send_handshake_response =p "%s: Sending handshake response to peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/send.c:41 [amneziawg]wg_packet_send_handshake_initiation =p "%s: Sending handshake initiation to peer %llu (%pISpfsc)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/timers.c:65 [amneziawg]wg_expired_retransmit_handshake =p "%s: Handshake for peer %llu (%pISpfsc) did not complete after %d seconds, retrying (try %d)\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/timers.c:47 [amneziawg]wg_expired_retransmit_handshake =p "%s: Handshake for peer %llu (%pISpfsc) did not complete after %d attempts, giving up\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/timers.c:95 [amneziawg]wg_expired_new_handshake =p "%s: Retrying handshake with peer %llu (%pISpfsc) because we stopped hearing back after %d seconds\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/timers.c:127 [amneziawg]wg_queued_expired_zero_key_material =p "%s: Zeroing out all keys for peer %llu (%pISpfsc), since we haven't received a new one in %d seconds\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/peer.c:67 [amneziawg]wg_peer_create =p "%s: Peer %llu created\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/peer.c:208 [amneziawg]kref_release =p "%s: Peer %llu (%pISpfsc) destroyed\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:565 [amneziawg]wg_device_handle_post_config =p "%s: I%d-packet invalid format\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:556 [amneziawg]wg_device_handle_post_config =p "%s: H%d and H%d ranges must not overlap\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:548 [amneziawg]wg_device_handle_post_config =p "%s: S4 is too large\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:543 [amneziawg]wg_device_handle_post_config =p "%s: S3 is too large\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:538 [amneziawg]wg_device_handle_post_config =p "%s: S2 is too large\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:533 [amneziawg]wg_device_handle_post_config =p "%s: S1 is too large\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:527 [amneziawg]wg_device_handle_post_config =p "%s: maxSize: %d; should be greater than minSize: %d\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:521 [amneziawg]wg_device_handle_post_config =p "%s: JunkPacketMaxSize: %d; should be smaller than maxSegmentSize: %d\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:407 [amneziawg]wg_newlink =p "%s: Interface created\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:161 [amneziawg]wg_xmit =p "%s: No valid endpoint has been configured or discovered for peer %llu\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:153 [amneziawg]wg_xmit =p "%s: No peer has allowed IPs matching %pI6\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:150 [amneziawg]wg_xmit =p "%s: No peer has allowed IPs matching %pI4\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:142 [amneziawg]wg_xmit =p "%s: Invalid IP packet\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:448 [amneziawg]wg_netns_pre_exit =p "%s: Creating namespace exiting\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/device.c:267 [amneziawg]wg_destruct =p "%s: Interface destroyed\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/noise.c:862 [amneziawg]wg_noise_handshake_begin_session =p "%s: Keypair %llu created for peer %llu\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/noise.c:628 [amneziawg]wg_noise_handshake_consume_initiation =p "%s: unknown peer from %pISpfsc\n"
target-aarch64_cortex-a53_musl/kmod-amneziawg-2.0.20250917/src/noise.c:125 [amneziawg]keypair_free_kref =p "%s: Keypair %llu destroyed for peer %llu\n"

Kernel log

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[    0.000000] Linux version 6.12.48 (alexey@DESKTOP-BBIIR03) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r30758-3ded6d2716) 14.3.0, GNU ld (GNU Binutils) 2.44) #0 SMP Mon Sep 22 12:22:01 2025
[    0.000000] Machine model: Banana Pi BPI-R4 (2x SFP+)
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004304ffff (320 KiB) nomap non-reusable secmon@43000000
[    0.000000] OF: reserved mem: 0x0000000047cc0000..0x0000000047dbffff (1024 KiB) nomap non-reusable wmcpu-reserved@47cc0000
[    0.000000] OF: reserved mem: 0x000000004f600000..0x000000004f63ffff (256 KiB) nomap non-reusable wo-emi@4f600000
[    0.000000] OF: reserved mem: 0x000000004f640000..0x000000004f67ffff (256 KiB) nomap non-reusable wo-emi@4f640000
[    0.000000] OF: reserved mem: 0x000000004f680000..0x000000004f6bffff (256 KiB) nomap non-reusable wo-emi@4f680000
[    0.000000] OF: reserved mem: 0x000000004f700000..0x000000004fefffff (8192 KiB) nomap non-reusable wo-data@4f700000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004304ffff]
[    0.000000]   node   0: [mem 0x0000000043050000-0x0000000047cbffff]
[    0.000000]   node   0: [mem 0x0000000047cc0000-0x0000000047dbffff]
[    0.000000]   node   0: [mem 0x0000000047dc0000-0x000000004f5fffff]
[    0.000000]   node   0: [mem 0x000000004f600000-0x000000004f6bffff]
[    0.000000]   node   0: [mem 0x000000004f6c0000-0x000000004f6fffff]
[    0.000000]   node   0: [mem 0x000000004f700000-0x000000004fefffff]
[    0.000000]   node   0: [mem 0x000000004ff00000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 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.5
[    0.000000] percpu: Embedded 20 pages/cpu s42520 r8192 d31208 u81920
[    0.000000] pcpu-alloc: s42520 r8192 d31208 u81920 alloc=20*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: GIC system register CPU interface
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200n1 pci=pcie_bus_perf root=/dev/fit0 rootwait
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 1048576
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fa7d3000-0x00000000fe7d3000] (64MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 416 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=0
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000066] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000074] pid_max: default: 32768 minimum: 301
[    0.002158] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002171] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003677] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.004151] rcu: Hierarchical SRCU implementation.
[    0.004153] rcu: 	Max phase no-delay instances is 1000.
[    0.004248] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.004541] smp: Bringing up secondary CPUs ...
[    0.004762] Detected VIPT I-cache on CPU1
[    0.004800] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.004823] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[    0.005097] Detected VIPT I-cache on CPU2
[    0.005117] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.005127] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[    0.005365] Detected VIPT I-cache on CPU3
[    0.005386] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.005396] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[    0.005430] smp: Brought up 1 node, 4 CPUs
[    0.005434] SMP: Total of 4 processors activated.
[    0.005436] CPU: All CPU(s) started at EL2
[    0.005438] CPU features: detected: 32-bit EL0 Support
[    0.005440] CPU features: detected: CRC32 instructions
[    0.005469] alternatives: applying system-wide alternatives
[    0.005547] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005641] Memory: 4019340K/4194304K available (9344K kernel code, 1086K rwdata, 2900K rodata, 448K init, 298K bss, 171396K reserved, 0K cma-reserved)
[    0.008567] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008579] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.008618] 29200 pages in range for non-PLT usage
[    0.008620] 520720 pages in range for PLT usage
[    0.009723] pinctrl core: initialized pinctrl subsystem
[    0.010646] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.010941] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.011042] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.011136] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.011401] thermal_sys: Registered thermal governor 'fair_share'
[    0.011404] thermal_sys: Registered thermal governor 'bang_bang'
[    0.011406] thermal_sys: Registered thermal governor 'step_wise'
[    0.011408] thermal_sys: Registered thermal governor 'user_space'
[    0.011447] ASID allocator initialised with 65536 entries
[    0.011959] pstore: Using crash dump compression: deflate
[    0.011965] printk: legacy console [ramoops-1] enabled
[    0.012230] pstore: Registered ramoops as persistent store backend
[    0.012235] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.014117] /soc/interrupt-controller@c000000: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
[    0.017418] /soc/pcie@11280000: Fixed dependency cycle(s) with /soc/pcie@11280000/interrupt-controller
[    0.017532] /soc/pcie@11290000: Fixed dependency cycle(s) with /soc/pcie@11290000/interrupt-controller
[    0.017620] /soc/pcie@11300000: Fixed dependency cycle(s) with /soc/pcie@11300000/interrupt-controller
[    0.017709] /soc/pcie@11310000: Fixed dependency cycle(s) with /soc/pcie@11310000/interrupt-controller
[    0.027602] cryptd: max_cpu_qlen set to 1000
[    0.029307] SCSI subsystem initialized
[    0.029396] libata version 3.00 loaded.
[    0.030424] clocksource: Switched to clocksource arch_sys_counter
[    0.032118] NET: Registered PF_INET protocol family
[    0.032254] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.034543] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.034566] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.034577] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.034687] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.035110] TCP: Hash tables configured (established 32768 bind 32768)
[    0.035459] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    0.035583] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.035633] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.035842] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.035880] PCI: CLS 0 bytes, default 64
[    0.036724] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.040510] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.040517] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.072289] mtk-xsphy soc:xs-phy@11e10000: failed to get ref_clk(id-1)
[    0.072891] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.072907] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.072921] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    0.072935] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    0.073033] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    0.073044] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    0.073054] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    0.073064] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    0.073083] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517
[    0.073093] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[    0.073156] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    0.073166] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    0.073176] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    0.073186] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    0.073203] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517
[    0.073210] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[    0.073283] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    0.073292] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    0.073303] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    0.073313] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    0.073329] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517
[    0.073337] mtk-pcie-gen3 11310000.pcie: failed to get clocks
[    0.077689] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.078433] printk: legacy console [ttyS0] disabled
[    0.098685] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2
[    0.098722] printk: legacy console [ttyS0] enabled
[    1.140534] random: crng init done
[    1.145336] loop: module loaded
[    1.149764] spi-nand spi0.0: Winbond SPI NAND was found.
[    1.155090] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    1.163318] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.169676] OF: Bad cell count for /soc/spi@11007000/flash@0/partitions
[    1.176295] OF: Bad cell count for /soc/spi@11007000/flash@0/partitions
[    1.183073] Creating 2 MTD partitions on "spi0.0":
[    1.187856] 0x000000000000-0x000000200000 : "bl2"
[    1.193962] 0x000000200000-0x000008000000 : "ubi"
[    1.266627] ubi0: default fastmap pool size: 50
[    1.271159] ubi0: default fastmap WL pool size: 25
[    1.275938] ubi0: attaching mtd1
[    1.681924] ubi0: scanning is finished
[    1.690285] ubi0: attached mtd1 (name "ubi", size 126 MiB)
[    1.695775] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.702641] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.709417] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.716367] ubi0: good PEBs: 1008, bad PEBs: 0, corrupted PEBs: 0
[    1.722450] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
[    1.729659] ubi0: max/mean erase counter: 8/3, WL threshold: 4096, image sequence number: 0
[    1.737997] ubi0: available PEBs: 0, total reserved PEBs: 1008, PEBs reserved for bad PEB handling: 20
[    1.747295] ubi0: background thread "ubi_bgt0d" started, PID 216
[    1.747357] OF: Bad cell count for /soc/spi@11007000/flash@0/partitions
[    1.759983] OF: Bad cell count for /soc/spi@11007000/flash@0/partitions
[    1.767089] block ubiblock0_4: created from ubi0:4(fit)
[    1.891912] i2c_dev: i2c /dev entries driver
[    1.896623] /soc/i2c@11003000/rt5190a@64: Fixed dependency cycle(s) with /soc/i2c@11003000/rt5190a@64/regulators/buck1
[    1.908374] mtk-lvts-thermal 1100a000.lvts: golden temp=60
[    1.915288] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.923963] NET: Registered PF_INET6 protocol family
[    1.929386] Segment Routing with IPv6
[    1.933072] In-situ OAM (IOAM) with IPv6
[    1.937021] NET: Registered PF_PACKET protocol family
[    1.942132] 8021q: 802.1Q VLAN Support v1.8
[    1.958671] phy phy-soc:xs-phy@11e10000.3: type_sw - reg 0x194, index 0
[    1.965999] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    1.973334] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    1.979597] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    1.988053] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    2.039054] mtk-msdc 11230000.mmc: Final PAD_DS_TUNE: 0x13414
[    2.044924] mmc0: new HS400 MMC card at address 0001
[    2.050517] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    2.056420]  mmcblk0: p1 p2 p3 p4 p5 p128
[    2.061082] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[    2.066540] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[    2.071674] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (249:0)
[    2.310447] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    2.319242] mtk-pcie-gen3 11280000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[    2.328256] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    2.335569] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    2.341839] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    2.350272] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    2.628531] mtk-pcie-gen3 11290000.pcie: set IO trans window[0]: cpu_addr = 0x28000000, pci_addr = 0x28000000, size = 0x200000
[    2.639915] mtk-pcie-gen3 11290000.pcie: set MEM trans window[1]: cpu_addr = 0x28200000, pci_addr = 0x28200000, size = 0x200000
[    2.651380] mtk-pcie-gen3 11290000.pcie: set MEM trans window[2]: cpu_addr = 0x28400000, pci_addr = 0x28400000, size = 0x400000
[    2.662845] mtk-pcie-gen3 11290000.pcie: set MEM trans window[3]: cpu_addr = 0x28800000, pci_addr = 0x28800000, size = 0x800000
[    2.674308] mtk-pcie-gen3 11290000.pcie: set MEM trans window[4]: cpu_addr = 0x29000000, pci_addr = 0x29000000, size = 0x1000000
[    2.685859] mtk-pcie-gen3 11290000.pcie: set MEM trans window[5]: cpu_addr = 0x2a000000, pci_addr = 0x2a000000, size = 0x2000000
[    2.697409] mtk-pcie-gen3 11290000.pcie: set MEM trans window[6]: cpu_addr = 0x2c000000, pci_addr = 0x2c000000, size = 0x4000000
[    2.709208] mtk-pcie-gen3 11290000.pcie: PCI host bridge to bus 0002:00
[    2.715821] pci_bus 0002:00: root bus resource [bus 00-ff]
[    2.721305] pci_bus 0002:00: root bus resource [io  0x200000-0x3fffff] (bus address [0x28000000-0x281fffff])
[    2.731124] pci_bus 0002:00: root bus resource [mem 0x28200000-0x2fffffff]
[    2.737987] pci_bus 0002:00: scanning bus
[    2.742016] pci 0002:00:00.0: [14c3:7988] type 01 class 0x060400 PCIe Root Port
[    2.749326] pci 0002:00:00.0: BAR 0 [mem 0x00000000-0x00007fff 64bit]
[    2.755767] pci 0002:00:00.0: PCI bridge to [bus 00]
[    2.760726] pci 0002:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.766809] pci 0002:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    2.773595] pci 0002:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    2.781381] pci 0002:00:00.0: PME# supported from D0 D3hot D3cold
[    2.787465] pci 0002:00:00.0: PME# disabled
[    2.792785] pci_bus 0002:00: fixups for bus
[    2.796959] pci 0002:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    2.803655] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.811654] pci 0002:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    2.818386] pci_bus 0002:01: scanning bus
[    2.822414] pci 0002:01:00.0: [1e4b:1202] type 00 class 0x010802 PCIe Endpoint
[    2.829642] pci 0002:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
[    2.836210] pci 0002:01:00.0: PME# supported from D0 D3hot D3cold
[    2.842301] pci 0002:01:00.0: PME# disabled
[    2.846507] pci 0002:01:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0002:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[    2.880457] pci_bus 0002:01: fixups for bus
[    2.884630] pci_bus 0002:01: bus scan returning with max=01
[    2.890193] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[    2.896806] pci_bus 0002:00: bus scan returning with max=01
[    2.902380] pci 0002:00:00.0: bridge window [mem 0x28200000-0x282fffff]: assigned
[    2.909851] pci 0002:00:00.0: BAR 0 [mem 0x28300000-0x28307fff 64bit]: assigned
[    2.917160] pci 0002:01:00.0: BAR 0 [mem 0x28200000-0x28203fff 64bit]: assigned
[    2.924470] pci 0002:00:00.0: PCI bridge to [bus 01]
[    2.929426] pci 0002:00:00.0:   bridge window [mem 0x28200000-0x282fffff]
[    2.936211] pci_bus 0002:00: resource 4 [io  0x200000-0x3fffff]
[    2.942122] pci_bus 0002:00: resource 5 [mem 0x28200000-0x2fffffff]
[    2.948378] pci_bus 0002:01: resource 1 [mem 0x28200000-0x282fffff]
[    2.954644] pci 0002:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    2.963085] pci 0002:01:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  256
[    2.971596] pcieport 0002:00:00.0: assign IRQ: got 114
[    2.976729] pcieport 0002:00:00.0: enabling device (0000 -> 0002)
[    2.982824] pcieport 0002:00:00.0: enabling bus mastering
[    2.988558] mtk-pcie-gen3 11290000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11290c00 data 0
[    2.996998] mtk-pcie-gen3 11290000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11290c00 data 1
[    3.005431] mtk-pcie-gen3 11290000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11290c00 data 2
[    3.013861] mtk-pcie-gen3 11290000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11290c00 data 3
[    3.022289] mtk-pcie-gen3 11290000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11290c00 data 4
[    3.030722] mtk-pcie-gen3 11290000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11290c00 data 5
[    3.039147] mtk-pcie-gen3 11290000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11290c00 data 6
[    3.047576] mtk-pcie-gen3 11290000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11290c00 data 7
[    3.056005] mtk-pcie-gen3 11290000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11290c00 data 8
[    3.064433] mtk-pcie-gen3 11290000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11290c00 data 9
[    3.072865] mtk-pcie-gen3 11290000.pcie: msi#0xa address_hi 0x0 address_lo 0x11290c00 data 10
[    3.081380] mtk-pcie-gen3 11290000.pcie: msi#0xb address_hi 0x0 address_lo 0x11290c00 data 11
[    3.089891] mtk-pcie-gen3 11290000.pcie: msi#0xc address_hi 0x0 address_lo 0x11290c00 data 12
[    3.098406] mtk-pcie-gen3 11290000.pcie: msi#0xd address_hi 0x0 address_lo 0x11290c00 data 13
[    3.106920] mtk-pcie-gen3 11290000.pcie: msi#0xe address_hi 0x0 address_lo 0x11290c00 data 14
[    3.115436] mtk-pcie-gen3 11290000.pcie: msi#0xf address_hi 0x0 address_lo 0x11290c00 data 15
[    3.123952] mtk-pcie-gen3 11290000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11290c00 data 16
[    3.132555] mtk-pcie-gen3 11290000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11290c00 data 17
[    3.141155] mtk-pcie-gen3 11290000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11290c00 data 18
[    3.149752] mtk-pcie-gen3 11290000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11290c00 data 19
[    3.158355] mtk-pcie-gen3 11290000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11290c00 data 20
[    3.166956] mtk-pcie-gen3 11290000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11290c00 data 21
[    3.175559] mtk-pcie-gen3 11290000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11290c00 data 22
[    3.184159] mtk-pcie-gen3 11290000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11290c00 data 23
[    3.192767] mtk-pcie-gen3 11290000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11290c00 data 24
[    3.201367] mtk-pcie-gen3 11290000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11290c00 data 25
[    3.209965] mtk-pcie-gen3 11290000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11290c00 data 26
[    3.218565] mtk-pcie-gen3 11290000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11290c00 data 27
[    3.227165] mtk-pcie-gen3 11290000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11290c00 data 28
[    3.235766] mtk-pcie-gen3 11290000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11290c00 data 29
[    3.244368] mtk-pcie-gen3 11290000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11290c00 data 30
[    3.252969] mtk-pcie-gen3 11290000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11290c00 data 31
[    3.261975] mtk-pcie-gen3 11290000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11290c00 data 0
[    3.270475] pcieport 0002:00:00.0: PME: Signaling with IRQ 115
[    3.276409] pcieport 0002:00:00.0: AER: enabled with IRQ 115
[    3.282115] pcieport 0002:00:00.0: save config 0x00: 0x798814c3
[    3.288027] pcieport 0002:00:00.0: save config 0x04: 0x00100406
[    3.293941] pcieport 0002:00:00.0: save config 0x08: 0x06040001
[    3.299849] pcieport 0002:00:00.0: save config 0x0c: 0x00010000
[    3.305761] pcieport 0002:00:00.0: save config 0x10: 0x28300004
[    3.311672] pcieport 0002:00:00.0: save config 0x14: 0x00000000
[    3.317580] pcieport 0002:00:00.0: save config 0x18: 0x00010100
[    3.323491] pcieport 0002:00:00.0: save config 0x1c: 0x000001f1
[    3.329399] pcieport 0002:00:00.0: save config 0x20: 0x28202820
[    3.335313] pcieport 0002:00:00.0: save config 0x24: 0x0001fff1
[    3.341224] pcieport 0002:00:00.0: save config 0x28: 0x00000000
[    3.347132] pcieport 0002:00:00.0: save config 0x2c: 0x00000000
[    3.353042] pcieport 0002:00:00.0: save config 0x30: 0x00000000
[    3.358950] pcieport 0002:00:00.0: save config 0x34: 0x00000080
[    3.364859] pcieport 0002:00:00.0: save config 0x38: 0x00000000
[    3.370770] pcieport 0002:00:00.0: save config 0x3c: 0x00020172
[    3.376939] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    3.384249] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    3.390514] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    3.398946] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    3.624011] mtk-pcie-gen3 11300000.pcie: set IO trans window[0]: cpu_addr = 0x30000000, pci_addr = 0x30000000, size = 0x200000
[    3.635397] mtk-pcie-gen3 11300000.pcie: set MEM trans window[1]: cpu_addr = 0x30200000, pci_addr = 0x30200000, size = 0x200000
[    3.646862] mtk-pcie-gen3 11300000.pcie: set MEM trans window[2]: cpu_addr = 0x30400000, pci_addr = 0x30400000, size = 0x400000
[    3.658326] mtk-pcie-gen3 11300000.pcie: set MEM trans window[3]: cpu_addr = 0x30800000, pci_addr = 0x30800000, size = 0x800000
[    3.669789] mtk-pcie-gen3 11300000.pcie: set MEM trans window[4]: cpu_addr = 0x31000000, pci_addr = 0x31000000, size = 0x1000000
[    3.681339] mtk-pcie-gen3 11300000.pcie: set MEM trans window[5]: cpu_addr = 0x32000000, pci_addr = 0x32000000, size = 0x2000000
[    3.692890] mtk-pcie-gen3 11300000.pcie: set MEM trans window[6]: cpu_addr = 0x34000000, pci_addr = 0x34000000, size = 0x4000000
[    3.704562] mtk-pcie-gen3 11300000.pcie: PCI host bridge to bus 0000:00
[    3.711175] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.716652] pci_bus 0000:00: root bus resource [io  0x400000-0x5fffff] (bus address [0x30000000-0x301fffff])
[    3.726468] pci_bus 0000:00: root bus resource [mem 0x30200000-0x37ffffff]
[    3.733337] pci_bus 0000:00: scanning bus
[    3.737358] pci 0000:00:00.0: [14c3:7988] type 01 class 0x060400 PCIe Root Port
[    3.744675] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x00007fff 64bit]
[    3.751115] pci 0000:00:00.0: PCI bridge to [bus 00]
[    3.756072] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.762158] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.768939] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    3.776728] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    3.782815] pci 0000:00:00.0: PME# disabled
[    3.788180] pci_bus 0000:00: fixups for bus
[    3.792362] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    3.799051] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.807050] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    3.813789] pci_bus 0000:01: scanning bus
[    3.817812] pci 0000:01:00.0: [14c3:7990] type 00 class 0x028000 PCIe Endpoint
[    3.825048] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x001fffff 64bit pref]
[    3.831927] pci 0000:01:00.0: BAR 2 [mem 0x00000000-0x00007fff 64bit]
[    3.838468] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    3.844556] pci 0000:01:00.0: PME# disabled
[    3.860457] pci_bus 0000:01: fixups for bus
[    3.864631] pci_bus 0000:01: bus scan returning with max=01
[    3.870193] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.876807] pci_bus 0000:00: bus scan returning with max=01
[    3.882382] pci 0000:00:00.0: bridge window [mem 0x30200000-0x303fffff 64bit pref]: assigned
[    3.890813] pci 0000:00:00.0: bridge window [mem 0x30400000-0x304fffff]: assigned
[    3.898283] pci 0000:00:00.0: BAR 0 [mem 0x30500000-0x30507fff 64bit]: assigned
[    3.905591] pci 0000:01:00.0: BAR 0 [mem 0x30200000-0x303fffff 64bit pref]: assigned
[    3.913336] pci 0000:01:00.0: BAR 2 [mem 0x30400000-0x30407fff 64bit]: assigned
[    3.920645] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.925600] pci 0000:00:00.0:   bridge window [mem 0x30400000-0x304fffff]
[    3.932382] pci 0000:00:00.0:   bridge window [mem 0x30200000-0x303fffff 64bit pref]
[    3.940114] pci_bus 0000:00: resource 4 [io  0x400000-0x5fffff]
[    3.946025] pci_bus 0000:00: resource 5 [mem 0x30200000-0x37ffffff]
[    3.952284] pci_bus 0000:01: resource 1 [mem 0x30400000-0x304fffff]
[    3.958540] pci_bus 0000:01: resource 2 [mem 0x30200000-0x303fffff 64bit pref]
[    3.965760] pci 0000:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    3.974204] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    3.982706] pcieport 0000:00:00.0: assign IRQ: got 117
[    3.987838] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    3.993936] pcieport 0000:00:00.0: enabling bus mastering
[    3.999664] mtk-pcie-gen3 11300000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11300c00 data 0
[    4.008103] mtk-pcie-gen3 11300000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11300c00 data 1
[    4.016534] mtk-pcie-gen3 11300000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11300c00 data 2
[    4.024963] mtk-pcie-gen3 11300000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11300c00 data 3
[    4.033393] mtk-pcie-gen3 11300000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11300c00 data 4
[    4.041820] mtk-pcie-gen3 11300000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11300c00 data 5
[    4.050244] mtk-pcie-gen3 11300000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11300c00 data 6
[    4.058672] mtk-pcie-gen3 11300000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11300c00 data 7
[    4.067099] mtk-pcie-gen3 11300000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11300c00 data 8
[    4.075527] mtk-pcie-gen3 11300000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11300c00 data 9
[    4.083955] mtk-pcie-gen3 11300000.pcie: msi#0xa address_hi 0x0 address_lo 0x11300c00 data 10
[    4.092473] mtk-pcie-gen3 11300000.pcie: msi#0xb address_hi 0x0 address_lo 0x11300c00 data 11
[    4.100991] mtk-pcie-gen3 11300000.pcie: msi#0xc address_hi 0x0 address_lo 0x11300c00 data 12
[    4.109501] mtk-pcie-gen3 11300000.pcie: msi#0xd address_hi 0x0 address_lo 0x11300c00 data 13
[    4.118017] mtk-pcie-gen3 11300000.pcie: msi#0xe address_hi 0x0 address_lo 0x11300c00 data 14
[    4.126531] mtk-pcie-gen3 11300000.pcie: msi#0xf address_hi 0x0 address_lo 0x11300c00 data 15
[    4.135047] mtk-pcie-gen3 11300000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11300c00 data 16
[    4.143647] mtk-pcie-gen3 11300000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11300c00 data 17
[    4.152249] mtk-pcie-gen3 11300000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11300c00 data 18
[    4.160849] mtk-pcie-gen3 11300000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11300c00 data 19
[    4.169446] mtk-pcie-gen3 11300000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11300c00 data 20
[    4.178049] mtk-pcie-gen3 11300000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11300c00 data 21
[    4.186650] mtk-pcie-gen3 11300000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11300c00 data 22
[    4.195252] mtk-pcie-gen3 11300000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11300c00 data 23
[    4.203853] mtk-pcie-gen3 11300000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11300c00 data 24
[    4.212454] mtk-pcie-gen3 11300000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11300c00 data 25
[    4.221056] mtk-pcie-gen3 11300000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11300c00 data 26
[    4.229654] mtk-pcie-gen3 11300000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11300c00 data 27
[    4.238260] mtk-pcie-gen3 11300000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11300c00 data 28
[    4.246859] mtk-pcie-gen3 11300000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11300c00 data 29
[    4.255462] mtk-pcie-gen3 11300000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11300c00 data 30
[    4.264061] mtk-pcie-gen3 11300000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11300c00 data 31
[    4.273054] mtk-pcie-gen3 11300000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11300c00 data 0
[    4.281552] pcieport 0000:00:00.0: PME: Signaling with IRQ 118
[    4.287481] pcieport 0000:00:00.0: AER: enabled with IRQ 118
[    4.293174] pcieport 0000:00:00.0: save config 0x00: 0x798814c3
[    4.299085] pcieport 0000:00:00.0: save config 0x04: 0x00100406
[    4.304999] pcieport 0000:00:00.0: save config 0x08: 0x06040001
[    4.310911] pcieport 0000:00:00.0: save config 0x0c: 0x00010000
[    4.316819] pcieport 0000:00:00.0: save config 0x10: 0x30500004
[    4.322730] pcieport 0000:00:00.0: save config 0x14: 0x00000000
[    4.328639] pcieport 0000:00:00.0: save config 0x18: 0x00010100
[    4.334550] pcieport 0000:00:00.0: save config 0x1c: 0x000001f1
[    4.340463] pcieport 0000:00:00.0: save config 0x20: 0x30403040
[    4.346372] pcieport 0000:00:00.0: save config 0x24: 0x30313021
[    4.352283] pcieport 0000:00:00.0: save config 0x28: 0x00000000
[    4.358191] pcieport 0000:00:00.0: save config 0x2c: 0x00000000
[    4.364102] pcieport 0000:00:00.0: save config 0x30: 0x00000000
[    4.370010] pcieport 0000:00:00.0: save config 0x34: 0x00000080
[    4.375920] pcieport 0000:00:00.0: save config 0x38: 0x00000000
[    4.381831] pcieport 0000:00:00.0: save config 0x3c: 0x00020175
[    4.388024] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    4.395335] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    4.401602] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    4.410035] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    4.634499] mtk-pcie-gen3 11310000.pcie: set IO trans window[0]: cpu_addr = 0x38000000, pci_addr = 0x38000000, size = 0x200000
[    4.645885] mtk-pcie-gen3 11310000.pcie: set MEM trans window[1]: cpu_addr = 0x38200000, pci_addr = 0x38200000, size = 0x200000
[    4.657351] mtk-pcie-gen3 11310000.pcie: set MEM trans window[2]: cpu_addr = 0x38400000, pci_addr = 0x38400000, size = 0x400000
[    4.668815] mtk-pcie-gen3 11310000.pcie: set MEM trans window[3]: cpu_addr = 0x38800000, pci_addr = 0x38800000, size = 0x800000
[    4.680279] mtk-pcie-gen3 11310000.pcie: set MEM trans window[4]: cpu_addr = 0x39000000, pci_addr = 0x39000000, size = 0x1000000
[    4.691830] mtk-pcie-gen3 11310000.pcie: set MEM trans window[5]: cpu_addr = 0x3a000000, pci_addr = 0x3a000000, size = 0x2000000
[    4.703380] mtk-pcie-gen3 11310000.pcie: set MEM trans window[6]: cpu_addr = 0x3c000000, pci_addr = 0x3c000000, size = 0x4000000
[    4.715049] mtk-pcie-gen3 11310000.pcie: PCI host bridge to bus 0001:00
[    4.721662] pci_bus 0001:00: root bus resource [bus 00-ff]
[    4.727138] pci_bus 0001:00: root bus resource [io  0x600000-0x7fffff] (bus address [0x38000000-0x381fffff])
[    4.736954] pci_bus 0001:00: root bus resource [mem 0x38200000-0x3fffffff]
[    4.743822] pci_bus 0001:00: scanning bus
[    4.747844] pci 0001:00:00.0: [14c3:7988] type 01 class 0x060400 PCIe Root Port
[    4.755159] pci 0001:00:00.0: BAR 0 [mem 0x00000000-0x00007fff 64bit]
[    4.761596] pci 0001:00:00.0: PCI bridge to [bus 00]
[    4.766554] pci 0001:00:00.0:   bridge window [io  0x0000-0x0fff]
[    4.772639] pci 0001:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    4.779421] pci 0001:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    4.787208] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    4.793294] pci 0001:00:00.0: PME# disabled
[    4.798639] pci_bus 0001:00: fixups for bus
[    4.802818] pci 0001:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    4.809507] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.817505] pci 0001:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    4.824241] pci_bus 0001:01: scanning bus
[    4.828272] pci 0001:01:00.0: [14c3:7991] type 00 class 0x028000 PCIe Endpoint
[    4.835508] pci 0001:01:00.0: BAR 0 [mem 0x00000000-0x001fffff 64bit pref]
[    4.842386] pci 0001:01:00.0: BAR 2 [mem 0x00000000-0x00007fff 64bit]
[    4.848926] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    4.855015] pci 0001:01:00.0: PME# disabled
[    4.870457] pci_bus 0001:01: fixups for bus
[    4.874631] pci_bus 0001:01: bus scan returning with max=01
[    4.880192] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    4.886804] pci_bus 0001:00: bus scan returning with max=01
[    4.892380] pci 0001:00:00.0: bridge window [mem 0x38200000-0x383fffff 64bit pref]: assigned
[    4.900809] pci 0001:00:00.0: bridge window [mem 0x38400000-0x384fffff]: assigned
[    4.908279] pci 0001:00:00.0: BAR 0 [mem 0x38500000-0x38507fff 64bit]: assigned
[    4.915586] pci 0001:01:00.0: BAR 0 [mem 0x38200000-0x383fffff 64bit pref]: assigned
[    4.923328] pci 0001:01:00.0: BAR 2 [mem 0x38400000-0x38407fff 64bit]: assigned
[    4.930637] pci 0001:00:00.0: PCI bridge to [bus 01]
[    4.935592] pci 0001:00:00.0:   bridge window [mem 0x38400000-0x384fffff]
[    4.942372] pci 0001:00:00.0:   bridge window [mem 0x38200000-0x383fffff 64bit pref]
[    4.950104] pci_bus 0001:00: resource 4 [io  0x600000-0x7fffff]
[    4.956015] pci_bus 0001:00: resource 5 [mem 0x38200000-0x3fffffff]
[    4.962274] pci_bus 0001:01: resource 1 [mem 0x38400000-0x384fffff]
[    4.968529] pci_bus 0001:01: resource 2 [mem 0x38200000-0x383fffff 64bit pref]
[    4.975749] pci 0001:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    4.984192] pci 0001:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    4.992705] pcieport 0001:00:00.0: assign IRQ: got 120
[    4.997838] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
[    5.003935] pcieport 0001:00:00.0: enabling bus mastering
[    5.009643] mtk-pcie-gen3 11310000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11310c00 data 0
[    5.018081] mtk-pcie-gen3 11310000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11310c00 data 1
[    5.026510] mtk-pcie-gen3 11310000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11310c00 data 2
[    5.034942] mtk-pcie-gen3 11310000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11310c00 data 3
[    5.043371] mtk-pcie-gen3 11310000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11310c00 data 4
[    5.051798] mtk-pcie-gen3 11310000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11310c00 data 5
[    5.060223] mtk-pcie-gen3 11310000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11310c00 data 6
[    5.068650] mtk-pcie-gen3 11310000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11310c00 data 7
[    5.077079] mtk-pcie-gen3 11310000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11310c00 data 8
[    5.085507] mtk-pcie-gen3 11310000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11310c00 data 9
[    5.093935] mtk-pcie-gen3 11310000.pcie: msi#0xa address_hi 0x0 address_lo 0x11310c00 data 10
[    5.102448] mtk-pcie-gen3 11310000.pcie: msi#0xb address_hi 0x0 address_lo 0x11310c00 data 11
[    5.110967] mtk-pcie-gen3 11310000.pcie: msi#0xc address_hi 0x0 address_lo 0x11310c00 data 12
[    5.119478] mtk-pcie-gen3 11310000.pcie: msi#0xd address_hi 0x0 address_lo 0x11310c00 data 13
[    5.127993] mtk-pcie-gen3 11310000.pcie: msi#0xe address_hi 0x0 address_lo 0x11310c00 data 14
[    5.136506] mtk-pcie-gen3 11310000.pcie: msi#0xf address_hi 0x0 address_lo 0x11310c00 data 15
[    5.145020] mtk-pcie-gen3 11310000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11310c00 data 16
[    5.153621] mtk-pcie-gen3 11310000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11310c00 data 17
[    5.162221] mtk-pcie-gen3 11310000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11310c00 data 18
[    5.170821] mtk-pcie-gen3 11310000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11310c00 data 19
[    5.179419] mtk-pcie-gen3 11310000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11310c00 data 20
[    5.188020] mtk-pcie-gen3 11310000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11310c00 data 21
[    5.196621] mtk-pcie-gen3 11310000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11310c00 data 22
[    5.205221] mtk-pcie-gen3 11310000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11310c00 data 23
[    5.213821] mtk-pcie-gen3 11310000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11310c00 data 24
[    5.222421] mtk-pcie-gen3 11310000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11310c00 data 25
[    5.231023] mtk-pcie-gen3 11310000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11310c00 data 26
[    5.239621] mtk-pcie-gen3 11310000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11310c00 data 27
[    5.248221] mtk-pcie-gen3 11310000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11310c00 data 28
[    5.256822] mtk-pcie-gen3 11310000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11310c00 data 29
[    5.265422] mtk-pcie-gen3 11310000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11310c00 data 30
[    5.274025] mtk-pcie-gen3 11310000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11310c00 data 31
[    5.283000] mtk-pcie-gen3 11310000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11310c00 data 0
[    5.291499] pcieport 0001:00:00.0: PME: Signaling with IRQ 121
[    5.297435] pcieport 0001:00:00.0: AER: enabled with IRQ 121
[    5.303131] pcieport 0001:00:00.0: save config 0x00: 0x798814c3
[    5.309042] pcieport 0001:00:00.0: save config 0x04: 0x00100406
[    5.314956] pcieport 0001:00:00.0: save config 0x08: 0x06040001
[    5.320868] pcieport 0001:00:00.0: save config 0x0c: 0x00010000
[    5.326775] pcieport 0001:00:00.0: save config 0x10: 0x38500004
[    5.332686] pcieport 0001:00:00.0: save config 0x14: 0x00000000
[    5.338594] pcieport 0001:00:00.0: save config 0x18: 0x00010100
[    5.344505] pcieport 0001:00:00.0: save config 0x1c: 0x000001f1
[    5.350413] pcieport 0001:00:00.0: save config 0x20: 0x38403840
[    5.356326] pcieport 0001:00:00.0: save config 0x24: 0x38313821
[    5.362238] pcieport 0001:00:00.0: save config 0x28: 0x00000000
[    5.368145] pcieport 0001:00:00.0: save config 0x2c: 0x00000000
[    5.374055] pcieport 0001:00:00.0: save config 0x30: 0x00000000
[    5.379963] pcieport 0001:00:00.0: save config 0x34: 0x00000080
[    5.385874] pcieport 0001:00:00.0: save config 0x38: 0x00000000
[    5.391784] pcieport 0001:00:00.0: save config 0x3c: 0x00020178
[    5.398732] FIT: Detected U-Boot 2025.07-OpenWrt-r30804-d72157f4e3
[    5.404949] FIT: Selected configuration: "config-mt7988a-bananapi-bpi-r4" (OpenWrt bananapi_bpi-r4)
[    5.413997] FIT:           kernel sub-image 0x00001000..0x005eb882 "kernel-1" (ARM64 OpenWrt Linux-6.12.48) 
[    5.423826] FIT:          flat_dt sub-image 0x005ec000..0x005f6b07 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r4 device tree blob) 
[    5.435042] FIT:          flat_dt sub-image 0x005f7000..0x005f75fd "fdt-mt7988a-bananapi-bpi-r4-emmc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-emmc) 
[    5.451377] FIT:          flat_dt sub-image 0x005f8000..0x005f811c "fdt-mt7988a-bananapi-bpi-r4-rtc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-rtc) 
[    5.467537] FIT:          flat_dt sub-image 0x005f9000..0x005f95b5 "fdt-mt7988a-bananapi-bpi-r4-sd" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-sd) 
[    5.483523] FIT:       filesystem sub-image 0x005fa000..0x03d46fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r4 rootfs) 
[    5.494360] block mmcblk0p5: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    5.502094] block mmcblk0p5: mapped remaining space as /dev/fitrw
[    5.631894] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    5.645089] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc082800000, irq 105
[    5.654728] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc082800000, irq 105
[    5.664360] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc082800000, irq 105
[    5.763440] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode
[    5.770955] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx
[    5.798238] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7988 PHY] (irq=123)
[    5.837046] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7988 PHY] (irq=124)
[    5.875806] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7988 PHY] (irq=125)
[    5.914528] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7988 PHY] (irq=126)
[    5.925482] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[    5.932193] DSA: tree 0 setup
[    5.935421] clk: Disabling unused clocks
[    5.939752] PM: genpd: Disabling unused power domains
[    5.946830] VFS: Mounted root (squashfs filesystem) readonly on device 259:1.
[    5.954065] Freeing unused kernel memory: 448K
[    5.958532] Run /sbin/init as init process
[    5.962624]   with arguments:
[    5.965581]     /sbin/init
[    5.968277]   with environment:
[    5.971411]     HOME=/
[    5.973761]     TERM=linux
[    6.074669] init: Console is alive
[    6.078161] init: - watchdog -
[    6.413577] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.436567] usbcore: registered new interface driver usbfs
[    6.442116] usbcore: registered new interface driver hub
[    6.447442] usbcore: registered new device driver usb
[    6.453158] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    6.463594] nvme 0002:01:00.0: assign IRQ: got 114
[    6.468514] nvme nvme0: pci function 0002:01:00.0
[    6.473252] nvme 0002:01:00.0: enabling device (0000 -> 0002)
[    6.479064] nvme 0002:01:00.0: enabling bus mastering
[    6.484239] mtk-pcie-gen3 11290000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11290c00 data 1
[    6.492758] nvme 0002:01:00.0: save config 0x00: 0x12021e4b
[    6.498393] nvme 0002:01:00.0: save config 0x04: 0x00100406
[    6.504030] nvme 0002:01:00.0: save config 0x08: 0x01080201
[    6.509663] nvme 0002:01:00.0: save config 0x0c: 0x00000000
[    6.515299] nvme 0002:01:00.0: save config 0x10: 0x28200004
[    6.520938] nvme 0002:01:00.0: save config 0x14: 0x00000000
[    6.526572] nvme 0002:01:00.0: save config 0x18: 0x00000000
[    6.532207] nvme 0002:01:00.0: save config 0x1c: 0x00000000
[    6.537840] nvme 0002:01:00.0: save config 0x20: 0x00000000
[    6.543475] nvme 0002:01:00.0: save config 0x24: 0x00000000
[    6.549108] nvme 0002:01:00.0: save config 0x28: 0x00000000
[    6.554744] nvme 0002:01:00.0: save config 0x2c: 0x12021e4b
[    6.560376] nvme 0002:01:00.0: save config 0x30: 0x00000000
[    6.566012] nvme 0002:01:00.0: save config 0x34: 0x00000040
[    6.571648] nvme 0002:01:00.0: save config 0x38: 0x00000000
[    6.577280] nvme 0002:01:00.0: save config 0x3c: 0x00000172
[    6.587166] hwmon hwmon1: temp1_input not attached to any thermal zone
[    6.593772] hwmon hwmon1: temp2_input not attached to any thermal zone
[    6.600308] hwmon hwmon1: temp3_input not attached to any thermal zone
[    6.609467] nvme nvme0: allocated 16 MiB host memory buffer.
[    6.616195] mtk-pcie-gen3 11290000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11290c00 data 1
[    6.624650] mtk-pcie-gen3 11290000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11290c00 data 2
[    6.633119] mtk-pcie-gen3 11290000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11290c00 data 3
[    6.641573] mtk-pcie-gen3 11290000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11290c00 data 4
[    6.650086] mtk-pcie-gen3 11290000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11290c00 data 5
[    6.659567] nvme nvme0: 4/0/0 default/read/poll queues
[    6.665856] nvme nvme0: Ignoring bogus Namespace Identifiers
[    6.675447] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    6.682864] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[    6.690778] xhci-mtk 11200000.usb: xHCI Host Controller
[    6.696003] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    6.706453] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    6.715608] xhci-mtk 11200000.usb: irq 132, io mem 0x11200000
[    6.721415] xhci-mtk 11200000.usb: xHCI Host Controller
[    6.726632] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    6.734026] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    6.741299] hub 1-0:1.0: USB hub found
[    6.745052] hub 1-0:1.0: 1 port detected
[    6.749134] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.757371] hub 2-0:1.0: USB hub found
[    6.761124] hub 2-0:1.0: 1 port detected
[    6.768927] usbcore: registered new interface driver usb-storage
[    6.775119] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.783591] init: - preinit -
[    6.992807] mtk_soc_eth 15100000.ethernet sfp-lan: renamed from eth1
[    7.000938] mtk_soc_eth 15100000.ethernet sfp-wan: renamed from eth2
[    7.019057] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[    7.027260] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[    7.120535] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    7.143076] hub 2-1:1.0: USB hub found
[    7.147010] hub 2-1:1.0: 4 ports detected
[    7.270428] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    7.397044] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[    7.422827] hub 1-1:1.0: USB hub found
[    7.426779] hub 1-1:1.0: 5 ports detected
[    7.740467] usb 2-1.4: new SuperSpeed USB device number 3 using xhci-mtk
[    7.761892] usb-storage 2-1.4:1.0: USB Mass Storage device detected
[    7.768336] scsi host0: usb-storage 2-1.4:1.0
[    8.100429] usb 1-1.5: new high-speed USB device number 3 using xhci-mtk
[    8.790948] scsi 0:0:0:0: Direct-Access     JMicron  Tech             8136 PQ: 0 ANSI: 6
[    8.799635] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[    8.799797] scsi 0:0:0:1: Direct-Access     JMicron  Tech             8136 PQ: 0 ANSI: 6
[    8.823172] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    8.823386] sd 0:0:0:1: [sdb] Very big device. Trying to use READ CAPACITY(16).
[    8.831242] sd 0:0:0:0: [sda] Write Protect is off
[    8.842992] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[    8.861777] sd 0:0:0:1: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    8.862109] sd 0:0:0:0: [sda] No Caching mode page found
[    8.869837] sd 0:0:0:1: [sdb] Write Protect is off
[    8.874804] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.879580] sd 0:0:0:1: [sdb] Mode Sense: 47 00 10 08
[    8.891054] sd 0:0:0:1: [sdb] No Caching mode page found
[    8.896355] sd 0:0:0:1: [sdb] Assuming drive cache: write through
[    8.995816]  sda: sda1
[    8.998257] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.037257]  sdb: sdb1
[    9.039695] sd 0:0:0:1: [sdb] Attached SCSI disk
[   11.594621] mount_root: loading kmods from internal overlay
[   11.606067] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   11.613863] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   12.123271] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[   12.130835] block: unable to load configuration (fstab: Entry not found)
[   12.137565] block: attempting to load /tmp/overlay/etc/config/fstab
[   12.143885] block: unable to load configuration (fstab: Entry not found)
[   12.150657] block: attempting to load /etc/config/fstab
[   12.157479] block: unable to load configuration (fstab: Entry not found)
[   12.164217] block: no usable configuration
[   12.171021] UBIFS (ubi0:6): Mounting in unauthenticated mode
[   12.176735] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 1013
[   12.219347] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data"
[   12.227174] UBIFS (ubi0:6): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.237077] UBIFS (ubi0:6): FS size: 66789376 bytes (63 MiB, 526 LEBs), max 536 LEBs, journal size 3301376 bytes (3 MiB, 26 LEBs)
[   12.248715] UBIFS (ubi0:6): reserved for root: 3154626 bytes (3080 KiB)
[   12.255318] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 7AB96110-9214-4820-8EF0-CCBCFABE54CB, small LPT model
[   12.267794] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   12.276783] block: unable to load configuration (fstab: Entry not found)
[   12.283539] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   12.290029] block: unable to load configuration (fstab: Entry not found)
[   12.296766] block: attempting to load /etc/config/fstab
[   12.302040] block: unable to load configuration (fstab: Entry not found)
[   12.308764] block: no usable configuration
[   12.315275] UBIFS (ubi0:6): un-mount UBI device 0
[   12.319978] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" stops
[   12.359768] F2FS-fs (fitrw): Mounted with checkpoint version = 11ebb92d
[   12.570238] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[   12.577817] block: extroot: not configured
[   12.584347] UBIFS (ubi0:6): Mounting in unauthenticated mode
[   12.590066] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 1021
[   12.632521] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data"
[   12.640343] UBIFS (ubi0:6): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.650256] UBIFS (ubi0:6): FS size: 66789376 bytes (63 MiB, 526 LEBs), max 536 LEBs, journal size 3301376 bytes (3 MiB, 26 LEBs)
[   12.661900] UBIFS (ubi0:6): reserved for root: 3154626 bytes (3080 KiB)
[   12.668503] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 7AB96110-9214-4820-8EF0-CCBCFABE54CB, small LPT model
[   12.681021] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   12.689961] block: unable to load configuration (fstab: Entry not found)
[   12.696737] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   12.703238] block: unable to load configuration (fstab: Entry not found)
[   12.709963] block: attempting to load /etc/config/fstab
[   12.715242] block: unable to load configuration (fstab: Entry not found)
[   12.721970] block: no usable configuration
[   12.728415] UBIFS (ubi0:6): un-mount UBI device 0
[   12.733127] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" stops
[   12.741358] mount_root: switching to f2fs overlay
[   12.747846] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[   12.759014] urandom-seed: Seeding with /etc/urandom.seed
[   12.781963] procd: - early -
[   12.784899] procd: - watchdog -
[   13.299609] EXT4-fs (nvme0n1): recovery complete
[   13.304671] EXT4-fs (nvme0n1): mounted filesystem eac39ae7-bfd5-42f8-a8ea-ee9e344023d8 r/w with ordered data mode. Quota mode: disabled.
[   13.314043] procd: - watchdog -
[   13.320653] procd: - ubus -
[   13.382081] procd: - init -
[   13.603122] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.628996] netfs: FS-Cache loaded
[   13.633524] Key type dns_resolver registered
[   13.644964] Key type cifs.idmap registered
[   13.650806] tun: Universal TUN/TAP device driver, 1.6
[   13.656890] urngd: v1.0.2 started.
[   13.664662] pca954x 1-0070: supply vdd not found, using dummy regulator
[   13.671933] i2c i2c-1: Added multiplexed i2c bus 2
[   13.676783] i2c i2c-1: Added multiplexed i2c bus 3
[   13.681651] i2c i2c-1: Added multiplexed i2c bus 4
[   13.686501] i2c i2c-1: Added multiplexed i2c bus 5
[   13.691303] pca954x 1-0070: registered 4 multiplexed busses for I2C switch pca9545
[   13.702544] crypto-safexcel 15600000.crypto: EIP197:331(7,1,8,4)-HIA:272(2,5,5),PE:151/450(alg:7fe1fc00)/240/240/450
[   13.718719] crypto-safexcel 15600000.crypto: TRC init: 8704d,48a (32r,128h)
[   16.613866] EXT4-fs (sdb1): recovery complete
[   16.618313] EXT4-fs (sdb1): mounted filesystem 98827909-6cfa-413f-9ac6-9d45544c0283 r/w with ordered data mode. Quota mode: disabled.
[   17.069224] EXT4-fs (sda1): recovery complete
[   17.073705] EXT4-fs (sda1): mounted filesystem c80b0268-4fe3-46d1-b402-d3b65bb17bf7 r/w with ordered data mode. Quota mode: disabled.
[   19.093792] at24 2-0057: supply vcc not found, using dummy regulator
[   19.101086] at24 2-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[   19.108391] Loading modules backported from Linux version v6.16-0-g038d61fd6422
[   19.115769] Backport generated by backports.git v6.1.145-1-47-g6194bf852a3e
[   19.130891] rtc-pcf8563 2-0051: registered as rtc0
[   19.136889] rtc-pcf8563 2-0051: setting system clock to 2025-09-23T08:59:43 UTC (1758617983)
[   19.147354] sfp sfp1: Host maximum power 3.0W
[   19.152277] sfp sfp2: Host maximum power 3.0W
[   19.175986] mt7996e_hif 0001:01:00.0: assign IRQ: got 120
[   19.181492] mt7996e_hif 0001:01:00.0: enabling device (0000 -> 0002)
[   19.187880] mt7996e_hif 0001:01:00.0: enabling bus mastering
[   19.193543] mt7996e_hif 0001:01:00.0: disabling ASPM L0s L1
[   19.199262] mt7996e 0000:01:00.0: assign IRQ: got 117
[   19.204356] mt7996e 0000:01:00.0: enabling device (0000 -> 0002)
[   19.210382] mt7996e 0000:01:00.0: enabling bus mastering
[   19.215700] mt7996e 0000:01:00.0: disabling ASPM L0s L1
[   19.290509] mtk-pcie-gen3 11300000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11300c00 data 1
[   19.299020] mtk-pcie-gen3 11310000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11310c00 data 1
[   19.350792] mt7996e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20250904203308a
[   19.350792] 
[   19.455374] mt7996e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20250904203304
[   19.475315] sfp sfp2: module OEM              SFP-2.5G-T       rev 1.0  sn CO2506030001     dc 250603  
[   19.484761] mtk_soc_eth 15100000.ethernet sfp-lan: switched to inband/2500base-x link mode
[   19.503300] mt7996e 0000:01:00.0: DSP Firmware Version: ____000000, Build Time: 20250904202814
[   19.523715] mt7996e 0000:01:00.0: WA Firmware Version: ____000000, Build Time: 20250904203218
[   19.989049] PPP generic driver version 2.4.2
[   19.994184] NET: Registered PF_PPPOX protocol family
[   20.000792] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   20.008631] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   20.020431] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.224601] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   22.458357] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[   22.466703] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[   22.471331] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[   22.484641] br-lan: port 1(lan1) entered blocking state
[   22.489882] br-lan: port 1(lan1) entered disabled state
[   22.495210] mt7530-mmio 15020000.switch lan1: entered allmulticast mode
[   22.501866] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   22.508903] mt7530-mmio 15020000.switch lan1: entered promiscuous mode
[   22.517918] mt7530-mmio 15020000.switch lan2: configuring for phy/internal link mode
[   22.526458] br-lan: port 2(lan2) entered blocking state
[   22.531758] br-lan: port 2(lan2) entered disabled state
[   22.537029] mt7530-mmio 15020000.switch lan2: entered allmulticast mode
[   22.543936] mt7530-mmio 15020000.switch lan2: entered promiscuous mode
[   22.552860] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode
[   22.561937] br-lan: port 3(lan3) entered blocking state
[   22.567170] br-lan: port 3(lan3) entered disabled state
[   22.572478] mt7530-mmio 15020000.switch lan3: entered allmulticast mode
[   22.579341] mt7530-mmio 15020000.switch lan3: entered promiscuous mode
[   22.587362] mtk_soc_eth 15100000.ethernet sfp-lan: configuring for inband/2500base-x link mode
[   22.601006] br-lan: port 4(sfp-lan) entered blocking state
[   22.606515] br-lan: port 4(sfp-lan) entered disabled state
[   22.612063] mtk_soc_eth 15100000.ethernet sfp-lan: entered allmulticast mode
[   22.619269] mtk_soc_eth 15100000.ethernet sfp-lan: entered promiscuous mode
[   22.636091] mt7530-mmio 15020000.switch wan: configuring for phy/internal link mode
[   22.712786] amneziawg: AmneziaWG 1.0.0 loaded. See amnezia.org for information.
[   22.720214] amneziawg: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   22.729871] amneziawg: Copyright (C) 2024-2025 AmneziaVPN <admin@amnezia.org>. All Rights Reserved.
[   24.416634] mt7530-mmio 15020000.switch wan: Link is Up - 100Mbps/Full - flow control off
[   25.752714] mtk_soc_eth 15100000.ethernet sfp-lan: Link is Up - 2.5Gbps/Full - flow control off
[   35.468456] br-lan: port 4(sfp-lan) entered blocking state
[   35.473961] br-lan: port 4(sfp-lan) entered forwarding state
[   35.708588] br-lan: port 5(phy0.0-ap0) entered blocking state
[   35.714393] br-lan: port 5(phy0.0-ap0) entered disabled state
[   35.720172] mt7996e 0000:01:00.0 phy0.0-ap0: entered allmulticast mode
[   35.726910] mt7996e 0000:01:00.0 phy0.0-ap0: entered promiscuous mode
[   36.159876] br-lan: port 6(phy0.1-ap0) entered blocking state
[   36.165887] br-lan: port 6(phy0.1-ap0) entered disabled state
[   36.171771] mt7996e 0000:01:00.0 phy0.1-ap0: entered allmulticast mode
[   36.178498] mt7996e 0000:01:00.0 phy0.1-ap0: entered promiscuous mode
[   36.192207] br-lan: port 6(phy0.1-ap0) entered blocking state
[   36.197964] br-lan: port 6(phy0.1-ap0) entered forwarding state
[   36.204137] br-lan: port 6(phy0.1-ap0) entered disabled state
[   37.237435] br-lan: port 5(phy0.0-ap0) entered blocking state
[   37.243205] br-lan: port 5(phy0.0-ap0) entered forwarding state
[   38.146086] br-lan: port 6(phy0.1-ap0) entered blocking state
[   38.151866] br-lan: port 6(phy0.1-ap0) entered forwarding state
[   53.072544] CIFS: Attempting to mount //192.168.1.2/D
[   55.369552] loop0: detected capacity change from 0 to 164816
[   69.712049] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[   75.493794] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[   75.504997] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[   80.644710] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[   80.655869] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[   86.436622] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[   86.447813] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[   92.225746] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[   92.236911] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[   98.021177] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[   98.032330] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  103.816948] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  103.828107] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  108.866762] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  114.113007] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  114.124204] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  119.900770] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  119.911933] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  125.686125] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[  125.697286] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  131.461727] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  131.472891] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  137.246101] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  137.257292] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  143.008567] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[  143.019728] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  148.716286] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  153.906110] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  153.917290] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  159.033871] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[  159.045034] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  164.802224] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  164.813384] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  170.570214] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  170.581388] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  176.337849] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[  176.349019] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  182.105145] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 4)
[  182.116305] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  187.872120] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  187.883309] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  193.638793] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  193.649955] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  199.405158] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[  199.416329] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  204.735218] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  210.293869] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  210.305042] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  215.416404] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  215.427561] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  221.179209] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  221.190378] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  226.941948] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[  226.953126] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  232.064334] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 4)
[  232.075508] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  237.826960] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  237.838115] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  242.949246] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 2)
[  242.960414] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  248.071491] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 3)
[  248.082650] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)
[  253.833958] amneziawg: wgWARP: Handshake for peer 1 (162.159.192.1:2408) did not complete after 5 seconds, retrying (try 4)
[  253.845139] amneziawg: wgWARP: Sending handshake initiation to peer 1 (162.159.192.1:2408)

@ygurov
Copy link
Copy Markdown
Collaborator Author

ygurov commented Sep 23, 2025

@Alexey71,
Could you try the latest update?

I think the original issue could be fixed with the recent push, changed the logic of j-pakcets check.
The actual reason could be in lack of initial junk packets lead to the blockings from censor side

@this-username-has-been-taken
Copy link
Copy Markdown

@Alexey71 @ygurov ,
I have updated the Makefile with the recent commit hash (f5cce72). You can use it or issue/55-fix-kernel-module branch to build a new kernel module and test it: https://github.com/this-username-has-been-taken/amneziawg-openwrt/tree/issue/55-fix-kernel-module

@Alexey71
Copy link
Copy Markdown

@Alexey71, Could you try the latest update?

I think the original issue could be fixed with the recent push, changed the logic of j-pakcets check. The actual reason could be in lack of initial junk packets lead to the blockings from censor side

Working thx

interface: wgWARP
  public key: xxxxxxxxxxxxxxxxxxxxxxxx=
  private key: (hidden)
  listening port: 35057
  jc: 4
  jmin: 40
  jmax: 70
  h1: 1
  h2: 2
  h3: 3
  h4: 4

peer: xxxxxxxxxxxxxxxxxxxxxxx
  endpoint: xxxxxxxxxxx:2408
  allowed ips: 0.0.0.0/0
  latest handshake: 1 minute, 7 seconds ago
  transfer: 2.93 MiB received, 137.75 KiB sent
  persistent keepalive: every 25 seconds
root@OpenWrt:~#

@ygurov
Copy link
Copy Markdown
Collaborator Author

ygurov commented Sep 23, 2025

Happy to hear that and greatly appreciate the contribution
@Alexey71 @this-username-has-been-taken @Kot-nikot

    * change approach from patch-based to a common build
    * get rid of all patch files
    * remove "modern kernel" definition from the project
* apply changes from recent kernel
* extended compatibility layer
* rework junked headers sending
* get rid of redundant allocations
* get rid of advanced_security struct, merge all child to wg
* naming reworks
* get rid of redundant allocations
* general cleanup
@gargullia
Copy link
Copy Markdown

@ygurov Hey! Just checking in - do you have a rough timeline for this, or is it still a work in progress?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants