Package: nfs-kernel-server Version: 1:1.3.4-2.5 Severity: critical Tags: upstream
I have using development environment for ARM (sama5d3) with root on NFS. Arm donwload kernel and DTB boots and mount root exported by my computer with Debian Buster. I works perfect with Ddebian Stretch but stop with Buster. I tested many kernels on ARM (latest 5.4.41 and 4.19.131) and nothing helps. In Virtual Box I have Debian Stretch (works) upgraded to Buster (desn't work) and upgraded to testing (doesn't work). Booting always end when kernel try mount root on NFS with: macb f802c000.ethernet eth0: link up (100/Full) Sending DHCP requests ., OK IP-Config: Got DHCP answer from 192.168.3.55, my address is 192.168.3.100 IP-Config: Complete: device=eth0, hwaddr=3e:36:65:ba:6f:be, ipaddr=192.168.3.100, mask=255.255.255.0, gw=255.255.255.255 host=192.168.3.100, domain=, nis-domain=(none) bootserver=192.168.3.10, rootserver=192.168.3.10, rootpath=/usr/local/tftpboot/acquaA5/namornik nameserver0=192.168.3.55 cfg80211: Loading compiled-in X.509 certificates for regulatory database cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 cfg80211: failed to load regulatory.db random: crng init done VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6 Please append a correct "root=" boot option; here are the available partitions: 1f00 256 mtdblock0 (driver?) 1f01 512 mtdblock1 (driver?) 1f02 256 mtdblock2 (driver?) 1f03 256 mtdblock3 (driver?) 1f04 256 mtdblock4 (driver?) 1f05 512 mtdblock5 (driver?) 1f06 6144 mtdblock6 (driver?) 1f07 253952 mtdblock7 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.56 #1 Hardware name: Atmel SAMA5 [<c010d000>] (unwind_backtrace) from [<c010af38>] (show_stack+0x10/0x14) [<c010af38>] (show_stack) from [<c0115384>] (panic+0xdc/0x258) [<c0115384>] (panic) from [<c0801288>] (mount_block_root+0x1ec/0x2d0) [<c0801288>] (mount_block_root) from [<c08014b0>] (mount_root+0x144/0x160) [<c08014b0>] (mount_root) from [<c080161c>] (prepare_namespace+0x150/0x198) [<c080161c>] (prepare_namespace) from [<c0800e74>] (kernel_init_freeable+0x1b8/0x1c8) [<c0800e74>] (kernel_init_freeable) from [<c05ad7b0>] (kernel_init+0x8/0x110) [<c05ad7b0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) Exception stack(0xcf425fb0 to 0xcf425ff8) 5fa0: 00000000 00000000 00000000 00000000 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) ]-- And on server: Jul 10 13:37:40 think rpc.mountd[666]: from_local: updating local if addr list Jul 10 13:37:40 think rpc.mountd[666]: from_local: checked 9 local if addrs; incoming address not found Jul 10 13:37:40 think rpc.mountd[666]: check_default: access by 192.168.3.102 ALLOWED Jul 10 13:37:40 think rpc.mountd[666]: Received NULL request from 192.168.3.102 Jul 10 13:37:40 think rpc.mountd[666]: check_default: access by 192.168.3.102 ALLOWED (cached) Jul 10 13:37:40 think rpc.mountd[666]: Received MNT1(/usr/local/tftpboot/acquaA5/namornik) request from 192.168.3.102 Jul 10 13:37:40 think rpc.mountd[666]: authenticated mount request from 192.168.3.102:774 for /usr/local/tftpboot/acquaA5/namornik (/usr/local/tftpboot/acquaA5/namornik) Jul 10 13:37:45 think rpc.mountd[666]: check_default: access by 192.168.3.102 ALLOWED (cached) Jul 10 13:37:45 think rpc.mountd[666]: Received NULL request from 192.168.3.102 Jul 10 13:37:45 think rpc.mountd[666]: check_default: access by 192.168.3.102 ALLOWED (cached) Jul 10 13:37:45 think rpc.mountd[666]: Received MNT1(/usr/local/tftpboot/acquaA5/namornik) request from 192.168.3.102 Jul 10 13:37:45 think rpc.mountd[666]: authenticated mount request from 192.168.3.102:899 for /usr/local/tftpboot/acquaA5/namornik (/usr/local/tftpboot/acquaA5/namornik) Jul 10 13:37:55 think rpc.mountd[666]: check_default: access by 192.168.3.102 ALLOWED (cached) Jul 10 13:37:55 think rpc.mountd[666]: Received NULL request from 192.168.3.102 Jul 10 13:37:55 think rpc.mountd[666]: check_default: access by 192.168.3.102 ALLOWED (cached) Jul 10 13:37:55 think rpc.mountd[666]: Received MNT1(/usr/local/tftpboot/acquaA5/namornik) request from 192.168.3.102 Jul 10 13:37:55 think rpc.mountd[666]: authenticated mount request from 192.168.3.102:980 for /usr/local/tftpboot/acquaA5/namornik (/usr/local/tftpboot/acquaA5/namornik) All is corectly exported but client never mounts. But when I boot Arm with root on Stretch machine a try mount directory exported from Buster machine all works. -- Package-specific info: -- rpcinfo -- program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100005 1 udp 45083 mountd 100005 1 tcp 47575 mountd 100005 2 udp 41324 mountd 100005 2 tcp 44223 mountd 100005 3 udp 55723 mountd 100005 3 tcp 54293 mountd 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100227 3 tcp 2049 100003 3 udp 2049 nfs 100227 3 udp 2049 100021 1 udp 33142 nlockmgr 100021 3 udp 33142 nlockmgr 100021 4 udp 33142 nlockmgr 100021 1 tcp 41729 nlockmgr 100021 3 tcp 41729 nlockmgr 100021 4 tcp 41729 nlockmgr -- /etc/default/nfs-kernel-server -- RPCNFSDCOUNT=8 RPCNFSDPRIORITY=0 RPCMOUNTDOPTS="--no-nfs-version 4" NEED_SVCGSSD="" RPCSVCGSSDOPTS="" -- /etc/exports -- /usr/local/tftpboot/acquaA5/namornik *(async,rw,no_root_squash,nohide,no_subtree_check) /srv 192.168.3.0/24(rw,fsid=0,no_subtree_check,sync) /srv/namornik 192.168.3.0/24(rw,nohide,no_subtree_check,sync) -- /proc/fs/nfs/exports -- # Version 1.1 # Path Client(Flags) # IPs -- System Information: Debian Release: 10.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-9-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=cs (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages nfs-kernel-server depends on: ii keyutils 1.6-6 ii libblkid1 2.33.1-0.1 ii libc6 2.28-10 ii libcap2 1:2.25-2 ii libsqlite3-0 3.27.2-3 ii libtirpc3 1.1.4-0.4 ii libwrap0 7.6.q-28 ii lsb-base 10.2019051400 ii netbase 5.6 ii nfs-common 1:1.3.4-2.5 ii ucf 3.0038+nmu1 nfs-kernel-server recommends no packages. nfs-kernel-server suggests no packages. -- no debconf information