pastebin - collaborative debugging tool
rovema.kpaste.net RSS


msnfs41client: Document svn/git bugs+debug+misc, 2024-08-27
Posted by Anonymous on Tue 27th Aug 2024 16:47
raw | new post

  1. From b545f2aa531120654a934a8f4eabfc2b3a782c78 Mon Sep 17 00:00:00 2001
  2. From: Roland Mainz <roland.mainz@nrubsig.org>
  3. Date: Tue, 27 Aug 2024 16:58:38 +0200
  4. Subject: [PATCH 1/3] cygwin,tests: Document bug with NATIVE Windows git
  5.  
  6. Document bug with NATIVE Windows git
  7.  
  8. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  9. ---
  10. cygwin/README.bintarball.txt | 20 ++++++++++++++++++++
  11.  tests/manual_testing.txt     | 26 ++++++++++++++++++++++++++
  12.  2 files changed, 46 insertions(+)
  13.  
  14. diff --git a/cygwin/README.bintarball.txt b/cygwin/README.bintarball.txt
  15. index dcbbf65..31fc1a9 100644
  16. --- a/cygwin/README.bintarball.txt
  17. +++ b/cygwin/README.bintarball.txt
  18. @@ -449,6 +449,26 @@ $ /sbin/nfs_mount
  19.    Datei befindet. Versuchen Sie, die Datei woanders zu speichern.
  20.    ---- snip ----
  21.  
  22. +- Bug: Native Windows git (NOT cygwin /usr/bin/git) clone fails
  23. +  like this:
  24. +  # ---- snip ----
  25. +  $ '/cygdrive/c/Program Files/Git/cmd/git' --version
  26. +  git version 2.45.2.windows.1
  27. +  $ '/cygdrive/c/Program Files/Git/cmd/git' clone https://github.com/kofemann/ms-nfs41-client.git
  28. +  Cloning into 'ms-nfs41-client'...
  29. +  remote: Enumerating objects: 6558, done.
  30. +  remote: Counting objects: 100% (318/318), done.
  31. +  remote: Compressing objects: 100% (172/172), done.
  32. +  remote: Total 6558 (delta 191), reused 233 (delta 141), pack-reused 6240 (from 1)
  33. +  Receiving objects: 100% (6558/6558), 2.43 MiB | 4.66 MiB/s, done.
  34. +  fatal: premature end of pack file, 655 bytes missing
  35. +  warning: die() called many times. Recursion error or racy threaded death!
  36. +  fatal: fetch-pack: invalid index-pack output
  37. +  # ---- snip ----
  38. +  Workaround is to mount the NFS filesystem with the "writethru"
  39. +  OR "nocache" option, e.g.
  40. +  $ /sbin/nfs_mount -o rw,writethru 'j' derfwpc5131:/export/home/rmainz #
  41. +
  42.  #
  43.  # 11. Notes for troubleshooting && finding bugs/debugging:
  44.  #
  45. diff --git a/tests/manual_testing.txt b/tests/manual_testing.txt
  46. index 27da444..99788a5 100644
  47. --- a/tests/manual_testing.txt
  48. +++ b/tests/manual_testing.txt
  49. @@ -335,6 +335,32 @@ chmod a+rx setup-x86_64.exe
  50.  svn checkout https://svn.FreeBSD.org/base/head/share/man
  51.  
  52.  
  53. +#
  54. +# NATIVE Windows git clone (NOT Cygwin /usr/bin/git!)
  55. +#
  56. +# Currently fails like this:
  57. +# ---- snip ----
  58. +# $ '/cygdrive/c/Program Files/Git/cmd/git' --version
  59. +# git version 2.45.2.windows.1
  60. +# $ '/cygdrive/c/Program Files/Git/cmd/git' clone https://github.com/kofemann/ms-nfs41-client.git
  61. +# Cloning into 'ms-nfs41-client'...
  62. +# remote: Enumerating objects: 6558, done.
  63. +# remote: Counting objects: 100% (318/318), done.
  64. +# remote: Compressing objects: 100% (172/172), done.
  65. +# remote: Total 6558 (delta 191), reused 233 (delta 141), pack-reused 6240 (from 1)
  66. +# Receiving objects: 100% (6558/6558), 2.43 MiB | 4.66 MiB/s, done.
  67. +# fatal: premature end of pack file, 655 bytes missing
  68. +# warning: die() called many times. Recursion error or racy threaded death!
  69. +# fatal: fetch-pack: invalid index-pack output
  70. +# ---- snip ----
  71. +# Workaround is to mount the NFS filesystem with the "writethru"
  72. +# OR "nocache" option, e.g.
  73. +# $ /sbin/nfs_mount -o rw,writethru 'j' derfwpc5131:/export/home/rmainz #
  74. +#
  75. +# Test:
  76. +'/cygdrive/c/Program Files/Git/cmd/git' clone https://github.com/kofemann/ms-nfs41-client.git
  77. +
  78. +
  79.  #
  80.  # Run parallel make job on NFSv4.1 filesystem (/cygdrive/n/xxx/)
  81.  #
  82. --
  83. 2.45.1
  84.  
  85. From d04df5134cd2a7a818477e786995bf7bb5a546d9 Mon Sep 17 00:00:00 2001
  86. From: Roland Mainz <roland.mainz@nrubsig.org>
  87. Date: Tue, 27 Aug 2024 17:00:10 +0200
  88. Subject: [PATCH 2/3] cygwin,tests: Document svn version which triggers the
  89.  caching bug
  90.  
  91. Document svn version which triggers the caching bug
  92.  
  93. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  94. ---
  95. cygwin/README.bintarball.txt | 3 +++
  96.  tests/manual_testing.txt     | 4 ++++
  97.  2 files changed, 7 insertions(+)
  98.  
  99. diff --git a/cygwin/README.bintarball.txt b/cygwin/README.bintarball.txt
  100. index 31fc1a9..17fd91f 100644
  101. --- a/cygwin/README.bintarball.txt
  102. +++ b/cygwin/README.bintarball.txt
  103. @@ -410,6 +410,9 @@ $ /sbin/nfs_mount
  104.  - Bug: Subversion checkout can fail with
  105.    "sqlite[S11]: database disk image is malformed" like this:
  106.    # ---- snip ----
  107. +  $ svn --version
  108. +  svn, version 1.14.2 (r1899510)
  109. +    compiled May 20 2023, 11:51:30 on x86_64-pc-cygwin
  110.    $ svn checkout https://svn.FreeBSD.org/base/head/share/man
  111.    A    man/man4
  112.    A    man/man4/tcp.4
  113. diff --git a/tests/manual_testing.txt b/tests/manual_testing.txt
  114. index 99788a5..380d618 100644
  115. --- a/tests/manual_testing.txt
  116. +++ b/tests/manual_testing.txt
  117. @@ -303,6 +303,10 @@ chmod a+rx setup-x86_64.exe
  118.  #
  119.  # Currently fails like this:
  120.  # ---- snip ----
  121. +# $ svn --version
  122. +# svn, version 1.14.2 (r1899510)
  123. +#   compiled May 20 2023, 11:51:30 on x86_64-pc-cygwin
  124. +#
  125.  # $ svn checkout https://svn.FreeBSD.org/base/head/share/man
  126.  # A    man/man4
  127.  # A    man/man4/tcp.4
  128. --
  129. 2.45.1
  130.  
  131. From 3239fae7c5966d572db51eb0ea62ad1a7cfb3bc9 Mon Sep 17 00:00:00 2001
  132. From: Roland Mainz <roland.mainz@nrubsig.org>
  133. Date: Tue, 27 Aug 2024 17:06:51 +0200
  134. Subject: [PATCH 3/3] sys: Add debug output to |nfs41_AreFilesAliased()|
  135.  
  136. Add debug output to |nfs41_AreFilesAliased()|.
  137.  
  138. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  139. ---
  140. sys/nfs41_driver.c | 2 ++
  141.  1 file changed, 2 insertions(+)
  142.  
  143. diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
  144. index ee958d5..a3fc69f 100644
  145. --- a/sys/nfs41_driver.c
  146. +++ b/sys/nfs41_driver.c
  147. @@ -7441,6 +7441,8 @@ static NTSTATUS nfs41_AreFilesAliased(
  148.      PFCB a,
  149.      PFCB b)
  150.  {
  151. +    DbgP("nfs41_AreFilesAliased: a=0x%p b=%0x%p\n",
  152. +        (void *)a, (void *)b);
  153.      return STATUS_NOT_IMPLEMENTED;
  154.  }
  155.  
  156. --
  157. 2.45.1

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at