Date: Thu, 01 Sep 2022 11:18:53 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251347] NFS hangs on client side when mounted from outside in Jail Tree (BROKEN NFS SERVER OR MIDDLEWARE) Message-ID: <bug-251347-227-43mR7LcR4S@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251347-227@https.bugs.freebsd.org/bugzilla/> References: <bug-251347-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251347 --- Comment #22 from Slawomir Wojciech Wojtczak <vermaden@interia.pl> --- (In reply to Devin Teske from comment #20) Hi, I just tried to apply the patch .. but there is no sys/nfsclient/nfs_vfsops= .c file in the /usr/src tree ... root@fbsd14:/usr/src # cd /usr/src root@fbsd14:/usr/src # grep +++ /root/patch-01.txt | awk '{print $2}' | whi= le read I; do ls $I; done sys/fs/nfsclient/nfs_clvfsops.c sys/kern/kern_jail.c sys/kern/vfs_mount.c sys/net/rtsock.c sys/netpfil/ipfw/ip_fw_nat.c sys/netsmb/smb_trantcp.c ls: sys/nfsclient/nfs_vfsops.c: No such file or directory root@fbsd14:/usr/src # find . -name nfs_vfsops.c root@fbsd14:/usr/src #=20 Its also not available on the online FreeBSD source tree on GIT: https://github.com/freebsd/freebsd-src/tree/main/sys/nfsclient Any hints? Also a lot of chunks fail to patch: root@fbsd14:/usr/src # patch -C < /root/patch-01.txt=20 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/fs/nfsclient/nfs_clvfsops.c.orig 2013-12-24 20:05:05.0000000= 00 -0800 |+++ sys/fs/nfsclient/nfs_clvfsops.c 2013-12-24 21:52:17.000000000 -0800 -------------------------- Patching file sys/fs/nfsclient/nfs_clvfsops.c using Plan A... Hunk #1 failed at 133. 1 out of 1 hunks failed while patching sys/fs/nfsclient/nfs_clvfsops.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/kern/kern_jail.c.orig 2013-12-24 20:05:00.000000000 -0800 |+++ sys/kern/kern_jail.c 2013-12-24 20:30:36.000000000 -0800 -------------------------- Patching file sys/kern/kern_jail.c using Plan A... Hunk #1 failed at 225. 1 out of 1 hunks failed while patching sys/kern/kern_jail.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/kern/vfs_mount.c.orig 2013-12-30 19:15:21.000000000 -0800 |+++ sys/kern/vfs_mount.c 2013-12-30 20:08:43.000000000 -0800 -------------------------- Patching file sys/kern/vfs_mount.c using Plan A... Hunk #1 failed at 1097. 1 out of 1 hunks failed while patching sys/kern/vfs_mount.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/net/rtsock.c.orig 2013-12-24 20:05:00.000000000 -0800 |+++ sys/net/rtsock.c 2013-12-24 21:04:41.000000000 -0800 -------------------------- Patching file sys/net/rtsock.c using Plan A... Hunk #1 succeeded at 83 with fuzz 1 (offset 8 lines). Hunk #2 failed at 150. Hunk #3 failed at 605. Hunk #4 failed at 750. Hunk #5 failed at 766. Hunk #6 failed at 821. Hunk #7 failed at 1166. Hunk #8 failed at 1218. 7 out of 8 hunks failed while patching sys/net/rtsock.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/netpfil/ipfw/ip_fw_nat.c.orig 2013-12-30 19:15:26.000000000 -0800 |+++ sys/netpfil/ipfw/ip_fw_nat.c 2013-12-30 23:57:24.000000000 -0800 -------------------------- Patching file sys/netpfil/ipfw/ip_fw_nat.c using Plan A... Hunk #1 failed at 675. 1 out of 1 hunks failed while patching sys/netpfil/ipfw/ip_fw_nat.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/netsmb/smb_trantcp.c.orig 2013-12-24 20:04:50.000000000 -0800 |+++ sys/netsmb/smb_trantcp.c 2013-12-24 21:14:15.000000000 -0800 -------------------------- Patching file sys/netsmb/smb_trantcp.c using Plan A... Reversed (or previously applied) patch detected! Assume -R? [y] y Hunk #1 succeeded at 48 (offset 2 lines). Hunk #2 succeeded at 81 (offset 2 lines). Hunk #3 succeeded at 299 (offset 13 lines). Hunk #4 succeeded at 373 (offset 2 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/nfsclient/nfs_vfsops.c.orig 2013-12-24 20:05:08.000000000 -0800 |+++ sys/nfsclient/nfs_vfsops.c 2013-12-24 21:55:31.000000000 -0800 -------------------------- File to patch: sys/nfsclient/nfs_vfsops.c No file found--skip this patch? [n] y Skipping patch... Hunk #1 ignored at 146. 1 out of 1 hunks ignored while patching sys/nfsclient/nfs_vfsops.c Hmm... Ignoring the trailing garbage. done I am using 14-CURRENT: root@fbsd14:/usr/src # freebsd-version -kru 14.0-CURRENT 14.0-CURRENT 14.0-CURRENT root@fbsd14:/usr/src # uname -a FreeBSD fbsd14 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n257619-c1a0ab5ec5= 2: Fri Aug 26 09:37:24 UTC 2022=20=20=20=20 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 Thanks in advance. Regards. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251347-227-43mR7LcR4S>