0
Termo

nfs-kernel-server failure on 5.4.43-sunxi64

Recommended Posts

(edited)
Armbianmonitor:

update works on 5.4.28-sunxi64, so for sure kernel issue...

 

I fail to start the nfs-kernel-server on my neo2:
 

● nfs-server.service - NFS server and services
   Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-06-19 22:50:35 CEST; 57s ago
 Main PID: 28168 (code=exited, status=1/FAILURE)

Jun 19 22:50:35 neo2 systemd[1]: Starting NFS server and services...
Jun 19 22:50:35 neo2 rpc.nfsd[28168]: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
Jun 19 22:50:35 neo2 rpc.nfsd[28168]: rpc.nfsd: unable to set any sockets for nfsd
Jun 19 22:50:35 neo2 systemd[1]: nfs-server.service: Main process exited, code=exited, status=1/FAILURE
Jun 19 22:50:35 neo2 systemd[1]: nfs-server.service: Failed with result 'exit-code'.
Jun 19 22:50:35 neo2 systemd[1]: Stopped NFS server and services.

and from dmesg:

 

[621412.035437] rpc.nfsd: page allocation failure: order:5, mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
[621412.035472] CPU: 2 PID: 25458 Comm: rpc.nfsd Not tainted 5.4.43-sunxi64 #20.05.2
[621412.035476] Hardware name: FriendlyARM NanoPi NEO 2 (DT)
[621412.035481] Call trace:
[621412.035498]  dump_backtrace+0x0/0x180
[621412.035505]  show_stack+0x14/0x20
[621412.035516]  dump_stack+0xb0/0xd8
[621412.035528]  warn_alloc+0xfc/0x168
[621412.035535]  __alloc_pages_slowpath+0x9c4/0x9f0
[621412.035543]  __alloc_pages_nodemask+0x214/0x298
[621412.035551]  alloc_pages_current+0x80/0xf0
[621412.035561]  kmalloc_order+0x1c/0x88
[621412.035624]  nfsd_file_cache_init+0x64/0x248 [nfsd]
[621412.035660]  nfsd_svc+0x198/0x288 [nfsd]
[621412.035695]  write_threads+0x94/0x110 [nfsd]
[621412.035729]  nfsctl_transaction_write+0x54/0x98 [nfsd]
[621412.035739]  __vfs_write+0x18/0x40
[621412.035745]  vfs_write+0xb0/0x1d0
[621412.035752]  ksys_write+0x64/0xe8
[621412.035759]  __arm64_sys_write+0x18/0x20
[621412.035770]  el0_svc_common.constprop.2+0x88/0x150
[621412.035777]  el0_svc_handler+0x20/0x80
[621412.035785]  el0_svc+0x8/0xc
[621412.035789] Mem-Info:
[621412.035810] active_anon:14680 inactive_anon:13376 isolated_anon:0
                 active_file:3920 inactive_file:3223 isolated_file:0
                 unevictable:0 dirty:8 writeback:0 unstable:0
                 slab_reclaimable:13144 slab_unreclaimable:17259
                 mapped:4842 shmem:176 pagetables:1074 bounce:0
                 free:29614 free_pcp:0 free_cma:26079
[621412.035827] Node 0 active_anon:58720kB inactive_anon:53504kB active_file:15680kB inactive_file:12892kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:19368kB dirty:32kB writeback:0kB shmem:704kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[621412.035831] Node 0 DMA32 free:118456kB min:4396kB low:4980kB high:5564kB active_anon:58768kB inactive_anon:53512kB active_file:15644kB inactive_file:13036kB unevictable:0kB writepending:32kB present:524288kB managed:489208kB mlocked:0kB kernel_stack:3632kB pagetables:4296kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:104316kB
[621412.035852] lowmem_reserve[]: 0 0 0
[621412.035861] Node 0 DMA32: 2311*4kB (UMEHC) 571*8kB (UMEHC) 1032*16kB (UMEHC) 740*32kB (HC) 434*64kB (HC) 184*128kB (C) 40*256kB (C) 6*512kB (C) 0*1024kB 0*2048kB 0*4096kB = 118644kB
[621412.035910] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[621412.035917] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=32768kB
[621412.035923] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[621412.035929] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=64kB
[621412.035932] 7530 total pagecache pages
[621412.035939] 194 pages in swap cache
[621412.035945] Swap cache stats: add 24936974, delete 24936777, find 248269/24985229
[621412.035949] Free swap  = 48244kB
[621412.035952] Total swap = 244600kB
[621412.035955] 131072 pages RAM
[621412.035958] 0 pages HighMem/MovableOnly
[621412.035962] 8770 pages reserved
[621412.035965] 32768 pages cma reserved
[621412.035972] nfsd: unable to allocate nfsd_file_hashtbl

I will try to downgrade kernel and see if this solves the issue

 

Regards

Termo

Edited by Termo
found working kernel

Share this post


Link to post
Share on other sites

From a quick search through sources and commits I assume it is an upstream regression since on Armbian's side nothing has changed since 5.4.28.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0