Failed to install nfs-kernel-server on 4.5.16

I would like to use NFSv4 like I always did on previous firmwares (<4.5.0). It seems now I can’t ?

root@GL-MT2500:~# opkg install nfs-kernel-server
Installing nfs-kernel-server (2.5.2-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages/nfs-kernel-server_2.5.2-1_aarch64_cortex-a53.ipk
Installing kmod-fs-nfs-common (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-fs-nfs-common_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-fs-exportfs (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-fs-exportfs_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-crypto-des (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-crypto-des_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-crypto-cbc (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-crypto-cbc_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-crypto-cts (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-crypto-cts_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-crypto-md5 (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-crypto-md5_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-crypto-sha1 (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-crypto-sha1_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-crypto-hmac (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-crypto-hmac_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-crypto-ecb (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-crypto-ecb_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-crypto-arc4 (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-crypto-arc4_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-fs-nfs-common-rpcsec (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-fs-nfs-common-rpcsec_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-fs-nfsd (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-fs-nfsd_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-dnsresolver (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-dnsresolver_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-fs-nfs (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-fs-nfs_5.4.211-1_aarch64_cortex-a53.ipk
Installing kmod-fs-nfs-v4 (5.4.211-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/kmod-fs-nfs-v4_5.4.211-1_aarch64_cortex-a53.ipk
Installing rpcbind (1.2.6-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages/rpcbind_1.2.6-1_aarch64_cortex-a53.ipk
Installing nfs-utils-libs (2.5.2-1) to root...
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages/nfs-utils-libs_2.5.2-1_aarch64_cortex-a53.ipk
Existing conffile /etc/exports is different from the conffile in the new package. The new conffile will be placed at /etc/exports-opkg.
Configuring kmod-crypto-cts.

And then it hangs. When doing it through the web UI, I get logged out with no reason.

Any idea why ?

1 Like

There are also two crash logs since I installed 4.5.16, not sure if theese are related. Here’s one of them (the other is nearly the same):

Log Entry 2 (at position 1)
<11>[    9.135594] kmodloader: dependency not loaded dm-mod
<11>[    9.140679] kmodloader: dependency not loaded dm-log
<11>[    9.145758] kmodloader: - dm-mirror - 3
<11>[    9.149703] kmodloader: - dm-mod - 0
<11>[    9.153375] kmodloader: dependency not loaded dm-log
<11>[    9.158421] kmodloader: - dm-region-hash - 1
<6>[   12.100716] mediatek_soc_hnat 15100000.hnat: wan = eth0
<6>[   12.105956] mediatek_soc_hnat 15100000.hnat: lan = eth1
<6>[   12.111212] mediatek_soc_hnat 15100000.hnat: ppd = eth1
<6>[   12.116467] mediatek_soc_hnat 15100000.hnat: gmac num = 2
<6>[   12.121913] mediatek_soc_hnat 15100000.hnat: ppe num = 1
<6>[   12.127697] mediatek_soc_hnat 15100000.hnat: PPE0 entry number = 8192
<6>[   12.144551] mediatek_soc_hnat 15100000.hnat: PPE0 hwnat start
<6>[   12.150376] hnat roaming work enable
<7>[   12.355002] kmwan: sensitivity and mode are set.
<6>[   12.740421] mtk_soc_eth 15100000.ethernet eth0: Link is Down
<6>[   12.771604] MediaTek MT7981 PHY mdio-bus:00: TX-VCM SW cal result: 0x1
<6>[   12.779084] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:00] driver [MediaTek MT7981 PHY]
<6>[   12.791530] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/gmii link mode
<6>[   12.799557] br-lan: port 1(eth1) entered blocking state
<6>[   12.804855] br-lan: port 1(eth1) entered disabled state
<6>[   12.810323] device eth1 entered promiscuous mode
<6>[   12.817377] br-lan: port 1(eth1) entered blocking state
<6>[   12.822630] br-lan: port 1(eth1) entered forwarding state
<6>[   12.835513] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
<6>[   12.844243] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[   12.852914] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<7>[   13.039948] [add_dev_config 288]add node success. iface:wan, dev:eth0, ifindex:2
<6>[   13.799757] br-lan: port 1(eth1) entered disabled state
<6>[   14.538077] tertf: br-lan registered, add it
<6>[   15.910745] mtk_soc_eth 15100000.ethernet eth0: Link is Down
<6>[   15.930489] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
<6>[   18.779943] EXT4-fs (sda4): recovery complete
<6>[   18.784343] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
<6>[   19.014713] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[   19.023199] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<6>[   20.791642] tertf: eth0 registered, add it
<6>[   20.824060] EXT4-fs (sda3): recovery complete
<6>[   20.828439] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
<6>[   22.141795] hook is going to be disabled !
<6>[   22.860617] EXT4-fs (sda5): recovery complete
<6>[   22.865054] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
<4>[   24.901206] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
<4>[   24.913220] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
<6>[   28.099548] hook is going to be enabled !
<14>[ 5596.613316] kmodloader: loading kernel modules from /etc/modules.d/*
<3>[ 5596.630556] dm_mod: exports duplicate symbol dm_consume_args (owned by kernel)
<5>[ 5596.666615] Key type dns_resolver registered
<1>[ 5596.672078] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000088
<1>[ 5596.680984] Mem abort info:
<1>[ 5596.683782]   ESR = 0x96000006
<1>[ 5596.686839]   EC = 0x25: DABT (current EL), IL = 32 bits
<1>[ 5596.692143]   SET = 0, FnV = 0
<1>[ 5596.695192]   EA = 0, S1PTW = 0
<1>[ 5596.698327] Data abort info:
<1>[ 5596.701195]   ISV = 0, ISS = 0x00000006
<1>[ 5596.705027]   CM = 0, WnR = 0
<1>[ 5596.707991] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000072a4b000
<1>[ 5596.714478] [0000000000000088] pgd=0000000079eba003, pud=0000000079eba003, pmd=0000000000000000
<0>[ 5596.723176] Internal error: Oops: 96000006 [#1] SMP
<7>[ 5596.728039] Modules linked in: grace(+) dns_resolver md5 des_generic libdes cts cbc arc4 mtkhnat pppoe ppp_async option wireguard usb_wwan rndis_host qmi_wwan pppox ppp_generic libchacha20poly1305 ipt_REJECT huawei_cdc_ncm chacha_neon cdc_ncm cdc_ether xt_time xt_tcpudp xt_state xt_recent xt_quota xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_helper xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_FLOWOFFLOAD xt_CT usbserial usbnet slhc poly1305_neon nf_reject_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_netlink nf_conncount mtqos mtfwd libcurve25519_generic libchacha iptable_raw iptable_nat iptable_mangle iptable_filter ipheth ip_tables exfat crc_ccitt cdc_wdm cdc_acm arptable_filter arpt_mangle arp_tables fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact xt_set ip_set_list_set
<7>[ 5596.728132]  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_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 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb ip6_udp_tunnel udp_tunnel tun vfat fat ntfs dax nls_utf8 nls_iso8859_1 nls_cp437 shortcut_fe_ipv6 shortcut_fe mtdoops leds_gpio xhci_plat_hcd uhci_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl kmwan ehci_hcd gpio_button_hotplug gl_sdk4_tertf gl_sdk4_black_white_list f2fs ext4 mbcache jbd2 mii crc32c_generic crc32_generic gl_sdk4_hw_info [last unloaded: shortcut_fe_cm]
<7>[ 5596.890659] CPU: 0 PID: 3420 Comm: kmodloader Not tainted 5.4.211 #0
<7>[ 5596.896995] Hardware name: GL.iNet GL-MT2500 (DT)
<7>[ 5596.901685] pstate: 80000005 (Nzcv daif -PAN -UAO)
<7>[ 5596.906467] pc : locks_in_grace+0x2c/0xa0 [grace]
<7>[ 5596.911161] lr : ops_init+0x3c/0x120
<7>[ 5596.914722] sp : ffffffc014a1baf0
<7>[ 5596.918022] x29: ffffffc014a1baf0 x28: 0000000000000003 
<7>[ 5596.923320] x27: ffffffc0109c84d0 x26: ffffffc008d63080 
<7>[ 5596.928616] x25: ffffffc014a1bd60 x24: ffffffc010a0bbe8 
<7>[ 5596.933914] x23: ffffffc010a0bbc0 x22: 0000000000000011 
<7>[ 5596.939211] x21: ffffffc010a0bcc0 x20: ffffffc008d63000 
<7>[ 5596.944508] x19: ffffff8032a8dc80 x18: 0000000000000000 
<7>[ 5596.949804] x17: 0000000000000000 x16: 0000000000000000 
<7>[ 5596.955101] x15: 0a1a15041b111705 x14: ffffff803b254680 
<7>[ 5596.960397] x13: ffffff803b15ef80 x12: ffffff803d6e6200 
<7>[ 5596.965694] x11: ffffff803e263500 x10: ffffff803e0c0580 
<7>[ 5596.970990] x9 : ffffff803e3d6b00 x8 : ffffff803b2cf180 
<7>[ 5596.976287] x7 : ffffff803aca7a80 x6 : ffffff803ae6fb88 
<7>[ 5596.981583] x5 : 0000000000000040 x4 : 0000000000000008 
<7>[ 5596.986880] x3 : 0000000000000011 x2 : 0000000000002710 
<7>[ 5596.992177] x1 : 0000000000000011 x0 : 0000000000000000 
<7>[ 5596.997474] Call trace:
<7>[ 5596.999910]  locks_in_grace+0x2c/0xa0 [grace]
<7>[ 5597.004254]  register_pernet_operations+0xdc/0x1e8
<7>[ 5597.009030]  register_pernet_subsys+0x2c/0x48
<7>[ 5597.013374]  init_module+0x14/0x1000 [grace]
<7>[ 5597.017632]  do_one_initcall+0x74/0x1c8
<7>[ 5597.021456]  do_init_module+0x40/0x1e0
<7>[ 5597.025191]  load_module+0x1ac0/0x1d08
<7>[ 5597.028928]  __do_sys_init_module+0x140/0x1d0
<7>[ 5597.033270]  __arm64_sys_init_module+0x18/0x20
<7>[ 5597.037703]  el0_svc_common.constprop.2+0x7c/0x110
<7>[ 5597.042480]  el0_svc_handler+0x20/0x80
<7>[ 5597.046216]  el0_svc+0x8/0x680
<0>[ 5597.049262] Code: d65f03c0 d0000001 b9430021 f946d000 (f8615801) 
<4>[ 5597.055339] ---[ end trace 2e7c2fa0d36139db ]---
<0>[ 5597.060881] Kernel panic - not syncing: Fatal exception
<2>[ 5597.066091] SMP: stopping secondary CPUs
<0>[ 5597.070000] Kernel Offset: disabled
<0>[ 5597.073476] CPU features: 0x00002,20002008
<0>[ 5597.077558] Memory Limit: none

I was wondering why the repositories in /etc/opkg/distfeeds.conf do not match the kernel version of 4.5.16. Is that intentional ?

root@GL-MT2500:~# cat /etc/os-release
NAME="OpenWrt"
VERSION="21.02-SNAPSHOT"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 21.02-SNAPSHOT"
VERSION_ID="21.02-snapshot"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r15812+885-46b6ee7ffc"
OPENWRT_BOARD="mediatek/mt7981"
OPENWRT_ARCH="aarch64_cortex-a53"
OPENWRT_TAINTS="no-all busybox"
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 21.02-SNAPSHOT r15812+885-46b6ee7ffc"
root@GL-MT2500:~# cat /etc/opkg/distfeeds.conf
src/gz glinet_kmod https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981
src/gz glinet_gli_pub https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/glinet
src/gz glinet_gli_packages https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages
root@GL-MT2500:~# uname -a
Linux GL-MT2500 5.4.211 #0 SMP Sat Mar 30 06:24:54 2024 aarch64 GNU/Linux

I am downgrading to 4.4.6