git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git 1.5.3.5 error over NFS

From
Bill Lear <rael@zopyra.com>
Date
Nov 13, 2007, 14:49 UTC
Message-ID
<18233.47472.890658.729250@lisa.zopyra.com>
In-Reply-To
<20071112233309.GI2918@steel.home>
On Tuesday, November 13, 2007 at 00:33:09 (+0100) Alex Riesen writes:
Show 15 quoted lines
>This is the almost same message I cced to lk and nfs, but with
>Git-interasting parts added.
>
>Bill Lear, Mon, Nov 12, 2007 16:39:15 +0100:
>> On Saturday, November 10, 2007 at 00:21:06 (+0100) Alex Riesen writes:
>> >Bill Lear, Fri, Nov 09, 2007 16:31:39 +0100:
>> >> I've brought this up before, but I don't recall a resolution to it.
>> >> 
>> >> We have an NFS-mounted filesystem, and git pull is choking on it.
>> >> 
>> >> % uname -a
>> >> Linux uhlr.zopyra.com 2.6.9-42.0.2.ELsmp #1 SMP Wed Aug 23 13:38:27 BST 2006 x86_64 x86_64 x86_64 GNU/Linux
>
>It is a really old kernel... Maybe you could try with some of the
>recent ones?

I'll see if we can: the machine in question is a high security one, and not easy to change. We haven't seen this sort of problem elsewhere on our newer systems as far as I know.

>I extend the part you quoted. The file is opened here:
>...
>This is strange. The current git should not produce anything like
>this (and does not, here). ...

You are absolutely correct. My comrade ran this with 1.5.0.1 by mistake. He reran the strace with 1.5.3.5, and I have replaced the tarball on my server:

    http://www.zopyra.com/~rael/git/git-trace.tar.bz2

With this minor correction (!), here is the last part from the last file (strace.out.26001):

[...] write(2, "\n", 1) = 1 write(3, "\335\365\205\262RY\360=^h\357\372\274\374_\177\317\357"..., 3712) = 3712 fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 open("/etc/mtab", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=503, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a955fa000 read(4, "/dev/sda1 / ext3 rw 0 0\nnone /pr"..., 4096) = 503 close(4) = 0 munmap(0x2a955fa000, 4096) = 0 open("/proc/meminfo", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a955fa000 read(4, "MemTotal: 16396892 kB\nMemFre"..., 1024) = 672 close(4) = 0 munmap(0x2a955fa000, 4096) = 0 write(2, "Resolving 562 deltas...\n", 24) = 24 rt_sigaction(SIGALRM, {0x40f610, [], SA_RESTORER|SA_RESTART, 0x32c512e2b0}, NULL, 8) = 0 setitimer(ITIMER_REAL, {it_interval={1, 0}, it_value={1, 0}}, NULL) = 0 pread(3, "", 242, 1268) = 0 write(2, "fatal: ", 7) = 7 write(2, "cannot pread pack file: No such "..., 49) = 49 write(2, "\n", 1) = 1 exit_group(128) = ?

Sorry for the mistake. I think Linus once commented on an alarm that he found curious in a previous strace I sent for this some time ago ...

Bill
Previous: Alex RiesenNext: Alex Riesen
Message 6 of 14 in “git 1.5.3.5 error over NFS”
  1. Bill LearNov 9, 2007
  2. Alex RiesenNov 9, 2007
  3. Bill LearNov 12, 2007
  4. Alex RiesenNov 12, 2007
  5. Alex RiesenNov 12, 2007
  6. Bill LearNov 13, 2007
  7. Alex RiesenNov 13, 2007
  8. Bill LearNov 13, 2007
  9. Alex RiesenNov 14, 2007
  10. Bill LearNov 14, 2007
  11. Alex RiesenNov 14, 2007
  12. Nicolas PitreNov 14, 2007
  13. Junio C HamanoNov 14, 2007
  14. Nicolas PitreNov 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.