By checking other threads, I spotted such comment dunno if that can help you.
Did anyone try to install a device different from a SSD in one the m.2-slots?
I tried different mPCIe cards (AW7916-NPD and AW7915-NP1) and now also a m.2 A/E card (AW7916-AED) with different adapters and in three different boards (1 with the resistors R228 and R230, two that were produced without them), and they are not recognized by the system (no entries in dmesg
, no device shown by lspci
).
Any ideas on how to proceed?
Edit (for clarification): I have installed and running two mPCIe-cards (one AW7916-NPD and one AW7915-NP1) in the mPCIe-slots. This is to get a third card (a second DBDC-card) installed in the m.2 key m slot.
Anyone got this paired with a UniFi switch and AP? Any problems?
I updated the post above - my installed cards are working just fine, so kernel modules are installed.
What does not work so far is using an adapter-card to install as a third card a mPCIe or a m.2 key a+e in the m.2 key m slot.
edit: I solved it with a special adapter: Delock 65699 + AW7916-AED in slot m.2 key m
edit 2: just as note for others - even though the connectivity works, this adapter still requires diy-activities, as it does not fit directly to the mounting points of the m.2 key m slot and the AW7916-AED cannot be directly mounted. I will use it together with a m.2 key m riser cable in a custom enclosure.
The size of the openwrt firmware is limited to 44 MB. How can I break through it? I need to compile and install more software and drivers. When I compile, it is stuck at sdcad.img and cannot break through 44 MB.
The size of the openwrt firmware is limited to 44 MB. How can I break through it? I need to compile and install more software and drivers. When I compile, it is stuck at sdcad.img and cannot break through 44 MB.
The size limit is due to the recovery partition size limiting the size
of the initramfs image used for recovery.
Simply building without CONFIG_TARGET_ROOTFS_INITRAMFS
will fix it.
unsure if anyone came across this. when doing a sysupgrade i get a crash during stage2
Oops#1 Part1
<6>[ 1283.012314] br-lan: port 6(phy1-ap0) entered disabled state
<6>[ 1295.053186] stage2 (7249): drop_caches: 3
<6>[ 1295.998944] EXT4-fs (nvme0n1p1): unmounting filesystem 96e7dffd-54e1-4520-8839-58e2002f031e.
<1>[ 1296.023171] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070
<1>[ 1296.031961] Mem abort info:
<1>[ 1296.034743] ESR = 0x0000000096000006
<1>[ 1296.038480] EC = 0x25: DABT (current EL), IL = 32 bits
<1>[ 1296.043779] SET = 0, FnV = 0
<1>[ 1296.046821] EA = 0, S1PTW = 0
<1>[ 1296.049950] FSC = 0x06: level 2 translation fault
<1>[ 1296.054815] Data abort info:
<1>[ 1296.057684] ISV = 0, ISS = 0x00000006, ISS2 = 0x00000000
<1>[ 1296.063156] CM = 0, WnR = 0, TnD = 0, TagAccess = 0
<1>[ 1296.068193] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
<1>[ 1296.073492] user pgtable: 4k pages, 39-bit VAs, pgdp=000000010d643000
<1>[ 1296.079919] [0000000000000070] pgd=080000010f6d1003, p4d=080000010f6d1003, pud=080000010f6d1003, pmd=0000000000000000
<0>[ 1296.090517] Internal error: Oops: 0000000096000006 [#1] SMP
<7>[ 1296.096077] Modules linked in: pppoe ppp_async pppox ppp_generic nft_fib_inet nf_flow_table_inet mt7996e(O) mt76_connac_lib(O) mt76(O) mac80211(O) cfg80211(O) xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2(O) xt_quota xt_psd(O) xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan(O) xt_limit xt_length2(O) xt_length xt_ipv4options(O) xt_iprange xt_ipp2p(O) xt_iface(O) xt_hl xt_helper xt_hashlimit xt_geoip(O) xt_fuzzy(O) xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connlabel xt_connbytes xt_condition(O) xt_comment xt_cluster xt_cgroup xt_bpf xt_asn(O) xt_addrtype xt_TRACE xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ(O) xt_REDIRECT xt_PROTO(O) xt_NFQUEUE xt_NFLOG xt_NETMAP xt_MASQUERADE xt_LUA(O) xt_LOGMARK(O) xt_LOG xt_LED xt_IPMARK(O) xt_HL xt_FLOWOFFLOAD xt_DSCP xt_DHCPMAC(O) xt_CT xt_CLASSIFY xt_CHECKSUM xt_DELUDE(O) xt_TARPIT(O) ipt_REJECT xt_tcpudp xt_CHAOS(O) xt_ACCOUNT(O) ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200
<7>[ 1296.096222] ums_freecom ums_datafab ums_cypress ums_alauda slhc sfp rtc_pcf8563 nft_tproxy nft_socket nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject_bridge nft_reject nft_redir nft_quota nft_queue nft_numgen nft_nat nft_meta_bridge nft_masq nft_log nft_limit nft_hash nft_fwd_netdev nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_dup_netdev nft_dup_ipv6 nft_dup_ipv4 nft_ct nft_connlimit nft_compat nft_chain_nat nfnetlink_queue nfnetlink_log nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_syslog nf_flow_table nf_dup_netdev nf_dup_ipv6 nf_dup_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_sane nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast nf_conntrack_bridge nf_conntrack_amanda nf_conncount netatop(O) mptcp_diag mdio_i2c iptable_raw iptable_nat
<7>[ 1296.185779] iptable_mangle iptable_filter ipt_rpfilter ipt_ah ipt_ECN ip6table_raw ip6t_rpfilter ip_tables compat_xtables(O) compat(O) br_netfilter at24 asn1_decoder arptable_filter arpt_mangle arp_tables crypto_safexcel sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact pwm_fan i2c_mux_pca954x i2c_mux cryptodev(O) xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT ip6t_rt ip6t_mh ip6t_ipv6header ip6t_hbh ip6t_frag ip6t_eui64 ip6t_ah ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 netlink_diag udp_diag tcp_diag raw_diag inet_diag crypto_user algif_skcipher algif_rng
<7>[ 1296.275863] algif_hash algif_aead af_alg sha512_arm64 sha1_ce sha1_generic seqiv md5 geniv des_generic libdes authencesn authenc usb_storage leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd nvme nvme_core gpio_button_hotplug(O) usbcore usb_common aquantia
<7>[ 1296.389122] CPU: 3 PID: 7249 Comm: busybox Tainted: G O 6.6.58 #0
<7>[ 1296.396592] Hardware name: Bananapi BPI-R4 (DT)
<7>[ 1296.401109] pstate: 200000c5 (nzCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
<7>[ 1296.408058] pc : percpu_counter_add_batch+0x1c/0xd8
<7>[ 1296.412930] lr : folio_account_cleaned+0xa0/0xbc
<7>[ 1296.417537] sp : ffffffc083e038d0
<7>[ 1296.420839] x29: ffffffc083e038d0 x28: ffffffffffffffff x27: fffffffffffffffe
<7>[ 1296.427964] x26: 0000000000000000 x25: ffffffc0808d6690 x24: ffffffc083e039f0
<7>[ 1296.435088] x23: ffffffffffffffff x22: 0000000000000000 x21: 0000000000000000
<7>[ 1296.442211] x20: ffffffffffffffff x19: 0000000000000060 x18: 0000000000000014
<7>[ 1296.449334] x17: 0000000024497422 x16: ffffffc080980998 x15: ffffff80c0a47678
<7>[ 1296.456457] x14: 0000000000000004 x13: ffffffc080c47f80 x12: 0000000000000000
<7>[ 1296.463579] x11: ffffffc080baa91e x10: 0000000000000000 x9 : 0000000000000000
<7>[ 1296.470702] x8 : 0000000000000000 x7 : ffffffc080baa91a x6 : ffffff80fff9d91a
<7>[ 1296.477824] x5 : ffffffffffffffff x4 : 000000000000001d x3 : 0000000000000004
<7>[ 1296.484947] x2 : 0000000000000018 x1 : ffffffffffffffff x0 : 0000000000000060
<7>[ 1296.492071] Call trace:
<7>[ 1296.494506] percpu_counter_add_batch+0x1c/0xd8
<7>[ 1296.499024] folio_account_cleaned+0xa0/0xbc
<7>[ 1296.503281] __folio_cancel_dirty+0xb8/0x10c
<7>[ 1296.507539] truncate_cleanup_folio+0xac/0xd4
<7>[ 1296.511884] truncate_inode_pages_range+0xc8/0x3d8
<7>[ 1296.516662] truncate_inode_pages_final+0x78/0x8c
<7>[ 1296.521354] evict+0x248/0x28c
<7>[ 1296.524400] dispose_list+0x5c/0x88
<7>[ 1296.527876] evict_inodes+0x144/0x19c
<7>[ 1296.531526] generic_shutdown_super+0x40/0x154
<7>[ 1296.535958] kill_block_super+0x18/0x38
<7>[ 1296.539782] deactivate_locked_super+0x50/0x164
<7>[ 1296.544301] deactivate_super+0x68/0x7c
<7>[ 1296.548125] cleanup_mnt+0x94/0x124
<7>[ 1296.551603] __cleanup_mnt+0x10/0x18
<7>[ 1296.555168] task_work_run+0x9c/0xdc
<7>[ 1296.558734] do_notify_resume+0x318/0x12a0
<7>[ 1296.562821] el0_svc+0xa0/0xac
<7>[ 1296.565866] el0t_64_sync_handler+0x118/0x124
<7>[ 1296.570211] el0t_64_sync+0x14c/0x150
<0>[ 1296.573863] Code: aa0003f3 a9025bf5 d53b4235 d50343df (f9400803)
<4>[ 1296.579943] ---[ end trace 0000000000000000 ]---
the workaround I have is to delete the pstore files, and do the sysupgrade from recovery. I remember there was issue with qualcommax a while ago where there wasn't enough delay to umount all filesystems etc.
This is a NULL pointer dereference in the Linux kernel which sould be
reported upstream to the linux-block mailing list.
To understand in more detail what is happening here, please try:
- umount your NVMe SSD before starting sysuprade.
- try sysupgrade while having an ext4 formatted USB pendrive mounted.
- try with a driver using another filesystem type mounted.
umounting the nvme doesn't fix the crash ... i will try the other two tests
Has anyone here had the issue that the BE14 suddenly stopped working? It was not even recognized in dmesg at powerup for me anymore. I tried multiple different firmwares (despite the one I had on it worked until it suddenly did not anymore).
In the end, re-seating the WiFi card solved my issue. It is correctly recognized again and works as it should. Very odd, I have never heard of mini PCIe connectors suddenly getting bad contact after months of use.
I am now back on the official snapshot and everything works fine.
Edit: I just realized, while I did reboots and tried flashing a diff FW, I never powercycled the whole thing until I took it apart. Might be that a simple unplug-plug cycle of the PSU would already have resolved my issues. Could it be that the firmware on the card itself crashed, and needed a proper power cycle?
I am having trouble installing packages on the latest snapshot r28091:
root@OpenWrt:~#
root@OpenWrt:~# opkg update
-ash: opkg: not found
root@OpenWrt:~# ping -c 3 openwrt.org
PING openwrt.org (2a03:b0c0:3:d0::1a51:c001): 56 data bytes
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=0 ttl=47 time=7.782 ms
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=1 ttl=47 time=7.018 ms
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=2 ttl=47 time=7.135 ms
--- openwrt.org ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 7.018/7.311/7.782 ms
root@OpenWrt:~# wget https://downloads.openwrt.org/snapshots/targets/mediatek/fi
logic/packages/opkg_2022-12-07-1_aarch64_cortex-a53.ipk -O /tmp/opkg.ipk
Downloading 'https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/opkg_2022-12-07-1_aarch64_cortex-a53.ipk'
Connecting to 2a04:4e42:8e::644:443
HTTP error 404
root@OpenWrt:~# wget https://downloads.openwrt.org/snapshots/targets/mediatek/fi
logic/packages/Packages.gz -O /tmp/Packages.gz
Downloading 'https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz'
Connecting to 2a04:4e42:8d::644:443
HTTP error 404
root@OpenWrt:~#
which image do you guys use and would recommend?
Read the new pinned info about new packet manager apk.
Did somebody test RC1 or RC2 already - is WiFi 7 working ootb?
I am not aware of any wifi 7 device drivers in the kernel yet. Which device are you looking at?
I am not aware of any wifi 7 device drivers in the kernel yet. Which device are you looking at?
BananaPi BPi-R4 is built for tri-band BE14000 or BE19000 WiFi-7 modules featuring MT7996A. They are supported by the mt7996e driver which is built in OpenWrt as part of the mt76 package.
So these are the files installed automatically with rc2:
base-files busybox ca-bundle dnsmasq dropbear firewall4 fitblk fstools kmod-crypto-hw-safexcel kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-phy-aquantia libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-mbedtls kmod-hwmon-pwmfan kmod-i2c-mux-pca954x kmod-eeprom-at24 kmod-mt7996-firmware kmod-mt7996-233-firmware kmod-rtc-pcf8563 kmod-sfp kmod-usb3 e2fsprogs f2fsck mkf2fs mt7988-wo-firmware luci
I am missing the mt76-package here, shouldn't this be integrated?
original post
Did you include all the packages/kernel modules that are currently reported to be essential for getting WiFi 7 running with BE14 in the BPI-R4 release candidate-image?
Edit: asking the other way around - will BE14 work ootb with release candidate image?
Hi,
Whats the IPV4 nat performance of the R4 like on OpenWRT ?
Im looking to upgrade to a 2.3Gbps service and am wondering if this would fully make use of that connection.
Edit : also do the cheap 2.5G copper SFP modules from aliexpress work on these ?
Easily. I can't really saturate the 10G for lack of a 10G host but I've seen it handle >6gbps (with hardware assistance) without any sweat. Pretty sure I've seen people reporting maxed out 10G
Or a different take: with a 2.5gbit host, I totally max out 2.5gbit without any slow down for the rest of the network.