I builded a net boot of a diskless node with PXE and NFS, when a part of locals directories (/bin,/sbin,/lib,/lib64) mounting to directories of a diskless node with mode --bind. The diskless node run and work succesfully , but if reboot a main host, then get a kernel crash on a main host: Sep 15 15:38:00 lenovo shutdown[2778]: shutting down for system reboot Sep 15 15:38:00 lenovo init: Switching to runlevel: 6 Sep 15 15:38:00 lenovo init: Trying to re-exec init Sep 15 15:37:59 lenovo kernel: BUG: kernel NULL pointer dereference, address: 0000000000000010 Sep 15 15:37:59 lenovo kernel: #PF: supervisor read access in kernel mode Sep 15 15:37:59 lenovo kernel: #PF: error_code(0x0000) - not-present page Sep 15 15:37:59 lenovo kernel: PGD 0 P4D 0 Sep 15 15:37:59 lenovo kernel: Oops: 0000 [#1] SMP NOPTI Sep 15 15:37:59 lenovo kernel: CPU: 7 PID: 2805 Comm: kworker/u16:5 Not tainted 5.10.61-gentoo-x86_64 #2 (See the full tracelog in a attachment) Reproducible: Always Steps to Reproduce: Steps: 1. Installing a main node(kernel-5.10.62,nfs-utils-2.5.4,dnsmasq) 2. Configuring PXE boot of the diskless node (see the pxelinux.cfg file in a attachment ) 3. Preparing the file system structure for a diskless node 4. Mount --bind of directories for the diskless node (/bin,/sbin,/lib,/lib64) on the main host (see the fstab file in a attachment) 5. Configuring exportfs on the main host (see the exports file in a attachment ) 6. Booting and running of the diskless node is sucessfully 7. If i reboot of the main host then get message on the main host about rip kernel: Sep 15 15:37:59 lenovo kernel: BUG: kernel NULL pointer dereference, address: 0000000000000010 Sep 15 15:37:59 lenovo kernel: #PF: supervisor read access in kernel mode Sep 15 15:37:59 lenovo kernel: #PF: error_code(0x0000) - not-present page (see the full tracelog in a attachment) On kernel 4.19.97 this problem not existed
Created attachment 739389 [details] Config of pxe
Created attachment 739392 [details] fstab on master (binding)
Created attachment 739395 [details] exportfs on master for the diskless node
Created attachment 739398 [details] Tracelog of crash kernel
Sounds like you should bisect the kernel and report an issue upstream.
We'll follow the upstream bug and backport any fixes identified.