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 >> >> % git --version >> git version 1.5.3.5 >> >> % git pull >> remote: Generating pack... >> remote: Done counting 998 objects. >> remote: Result has 836 objects. >> remote: Deltifying 836 objects. >> remote: 100% (836/836) done >> Indexing 836 objects... >> remote: Total 836 (delta 526), reused 688 (delta 380) >> 100% (836/836) done >> Resolving 526 deltas... >> fatal: cannot pread pack file: No such file or directory > >Could you please strace it? With strace -ff? > >> fatal: index-pack died with error code 128 >> fatal: Fetch failure: git://source/repo >> >> I looked through the archives of this list and did not see a final >> resolution, other than a suspected bug in the OS NFS code. > >Strace, just to be on the safe side Ok, I've done the strace -ff. It has generated 176 strace.out.<pid> files. I have placed a tarball of these files on my home server: http://www.zopyra.com/~rael/git/git-trace.tar.bz2 The file strace.out.25526 has, at the very end: [...] open("/etc/mtab", O_RDONLY) = 4 fstat64(0x4, 0xffff6810) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x1000) = 0xfffffffff7ffd000 read(4, "/dev/sda1 / ext3 rw 0 0\nnone /pr"..., 4096) = 503 close(4) = 0 munmap(0xf7ffd000, 4096) = 0 open("/proc/meminfo", O_RDONLY) = 4 fstat64(0x4, 0xffff6c7c) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x1000) = 0xfffffffff7ffd000 read(4, "MemTotal: 16396892 kB\nMemFre"..., 1024) = 672 close(4) = 0 munmap(0xf7ffd000, 4096) = 0 write(2, "Resolving 551 deltas.\n", 22) = 22 pread64(3, "", 242, 541) = 0 write(2, "fatal: ", 7) = 7 write(2, "cannot pread pack file: Success", 31) = 31 write(2, "\n", 1) = 1 exit_group(128) = ? Here is the clipped output of running the strace command: [...] [ Process PID=25347 runs in 32 bit mode. ] umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error [ Process PID=25347 runs in 64 bit mode. ] [ Process PID=25349 runs in 32 bit mode. ] [...] [ Process PID=25366 runs in 64 bit mode. ] [ Process PID=25365 runs in 32 bit mode. ] ptrace: umoven: Input/output error [ Process PID=25366 runs in 64 bit mode. ] [ Process PID=25365 runs in 32 bit mode. ] [...] [ Process PID=25365 runs in 32 bit mode. ] [ Process PID=25366 runs in 64 bit mode. ] ptrace: umoven: Input/output error [ Process PID=25365 runs in 32 bit mode. ] [ Process PID=25366 runs in 64 bit mode. ] [...] [ Process PID=25385 runs in 32 bit mode. ] umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error [...] [ Process PID=25385 runs in 64 bit mode. ] [ Process PID=25482 runs in 32 bit mode. ] [ Process PID=25396 runs in 64 bit mode. ] [ Process PID=25524 runs in 32 bit mode. ] remote: Generating pack... remote: Done counting 1052 objects. remote: Result has 882 objects. remote: Deltifying 882 objects. 100% (882/882) done82) done umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error Indexing 882 objects. 100% (882/882) done Resolving 551 deltas. remote: Total 882 (delta 551), reused 716 (delta 387) fatal: cannot pread pack file: Success fatal: index-pack died with error code 128 [ Process PID=25522 runs in 64 bit mode. ] Fetch failure: git://source/fusion Bill - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html