- From b545f2aa531120654a934a8f4eabfc2b3a782c78 Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Tue, 27 Aug 2024 16:58:38 +0200
- Subject: [PATCH 1/3] cygwin,tests: Document bug with NATIVE Windows git
- Document bug with NATIVE Windows git
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- cygwin/README.bintarball.txt | 20 ++++++++++++++++++++
- tests/manual_testing.txt | 26 ++++++++++++++++++++++++++
- 2 files changed, 46 insertions(+)
- diff --git a/cygwin/README.bintarball.txt b/cygwin/README.bintarball.txt
- index dcbbf65..31fc1a9 100644
- --- a/cygwin/README.bintarball.txt
- +++ b/cygwin/README.bintarball.txt
- @@ -449,6 +449,26 @@ $ /sbin/nfs_mount
- Datei befindet. Versuchen Sie, die Datei woanders zu speichern.
- ---- snip ----
- +- Bug: Native Windows git (NOT cygwin /usr/bin/git) clone fails
- + like this:
- + # ---- snip ----
- + $ '/cygdrive/c/Program Files/Git/cmd/git' --version
- + git version 2.45.2.windows.1
- + $ '/cygdrive/c/Program Files/Git/cmd/git' clone https://github.com/kofemann/ms-nfs41-client.git
- + Cloning into 'ms-nfs41-client'...
- + remote: Enumerating objects: 6558, done.
- + remote: Counting objects: 100% (318/318), done.
- + remote: Compressing objects: 100% (172/172), done.
- + remote: Total 6558 (delta 191), reused 233 (delta 141), pack-reused 6240 (from 1)
- + Receiving objects: 100% (6558/6558), 2.43 MiB | 4.66 MiB/s, done.
- + fatal: premature end of pack file, 655 bytes missing
- + warning: die() called many times. Recursion error or racy threaded death!
- + fatal: fetch-pack: invalid index-pack output
- + # ---- snip ----
- + Workaround is to mount the NFS filesystem with the "writethru"
- + OR "nocache" option, e.g.
- + $ /sbin/nfs_mount -o rw,writethru 'j' derfwpc5131:/export/home/rmainz #
- +
- #
- # 11. Notes for troubleshooting && finding bugs/debugging:
- #
- diff --git a/tests/manual_testing.txt b/tests/manual_testing.txt
- index 27da444..99788a5 100644
- --- a/tests/manual_testing.txt
- +++ b/tests/manual_testing.txt
- @@ -335,6 +335,32 @@ chmod a+rx setup-x86_64.exe
- svn checkout https://svn.FreeBSD.org/base/head/share/man
- +#
- +# NATIVE Windows git clone (NOT Cygwin /usr/bin/git!)
- +#
- +# Currently fails like this:
- +# ---- snip ----
- +# $ '/cygdrive/c/Program Files/Git/cmd/git' --version
- +# git version 2.45.2.windows.1
- +# $ '/cygdrive/c/Program Files/Git/cmd/git' clone https://github.com/kofemann/ms-nfs41-client.git
- +# Cloning into 'ms-nfs41-client'...
- +# remote: Enumerating objects: 6558, done.
- +# remote: Counting objects: 100% (318/318), done.
- +# remote: Compressing objects: 100% (172/172), done.
- +# remote: Total 6558 (delta 191), reused 233 (delta 141), pack-reused 6240 (from 1)
- +# Receiving objects: 100% (6558/6558), 2.43 MiB | 4.66 MiB/s, done.
- +# fatal: premature end of pack file, 655 bytes missing
- +# warning: die() called many times. Recursion error or racy threaded death!
- +# fatal: fetch-pack: invalid index-pack output
- +# ---- snip ----
- +# Workaround is to mount the NFS filesystem with the "writethru"
- +# OR "nocache" option, e.g.
- +# $ /sbin/nfs_mount -o rw,writethru 'j' derfwpc5131:/export/home/rmainz #
- +#
- +# Test:
- +'/cygdrive/c/Program Files/Git/cmd/git' clone https://github.com/kofemann/ms-nfs41-client.git
- +
- +
- #
- # Run parallel make job on NFSv4.1 filesystem (/cygdrive/n/xxx/)
- #
- --
- 2.45.1
- From d04df5134cd2a7a818477e786995bf7bb5a546d9 Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Tue, 27 Aug 2024 17:00:10 +0200
- Subject: [PATCH 2/3] cygwin,tests: Document svn version which triggers the
- caching bug
- Document svn version which triggers the caching bug
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- cygwin/README.bintarball.txt | 3 +++
- tests/manual_testing.txt | 4 ++++
- 2 files changed, 7 insertions(+)
- diff --git a/cygwin/README.bintarball.txt b/cygwin/README.bintarball.txt
- index 31fc1a9..17fd91f 100644
- --- a/cygwin/README.bintarball.txt
- +++ b/cygwin/README.bintarball.txt
- @@ -410,6 +410,9 @@ $ /sbin/nfs_mount
- - Bug: Subversion checkout can fail with
- "sqlite[S11]: database disk image is malformed" like this:
- # ---- snip ----
- + $ svn --version
- + svn, version 1.14.2 (r1899510)
- + compiled May 20 2023, 11:51:30 on x86_64-pc-cygwin
- $ svn checkout https://svn.FreeBSD.org/base/head/share/man
- A man/man4
- A man/man4/tcp.4
- diff --git a/tests/manual_testing.txt b/tests/manual_testing.txt
- index 99788a5..380d618 100644
- --- a/tests/manual_testing.txt
- +++ b/tests/manual_testing.txt
- @@ -303,6 +303,10 @@ chmod a+rx setup-x86_64.exe
- #
- # Currently fails like this:
- # ---- snip ----
- +# $ svn --version
- +# svn, version 1.14.2 (r1899510)
- +# compiled May 20 2023, 11:51:30 on x86_64-pc-cygwin
- +#
- # $ svn checkout https://svn.FreeBSD.org/base/head/share/man
- # A man/man4
- # A man/man4/tcp.4
- --
- 2.45.1
- From 3239fae7c5966d572db51eb0ea62ad1a7cfb3bc9 Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Tue, 27 Aug 2024 17:06:51 +0200
- Subject: [PATCH 3/3] sys: Add debug output to |nfs41_AreFilesAliased()|
- Add debug output to |nfs41_AreFilesAliased()|.
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- sys/nfs41_driver.c | 2 ++
- 1 file changed, 2 insertions(+)
- diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
- index ee958d5..a3fc69f 100644
- --- a/sys/nfs41_driver.c
- +++ b/sys/nfs41_driver.c
- @@ -7441,6 +7441,8 @@ static NTSTATUS nfs41_AreFilesAliased(
- PFCB a,
- PFCB b)
- {
- + DbgP("nfs41_AreFilesAliased: a=0x%p b=%0x%p\n",
- + (void *)a, (void *)b);
- return STATUS_NOT_IMPLEMENTED;
- }
- --
- 2.45.1
msnfs41client: Document svn/git bugs+debug+misc, 2024-08-27
Posted by Anonymous on Tue 27th Aug 2024 16:47
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.