Messages in this thread | | | Date | Sun, 9 May 1999 19:45:21 +0300 (EEST) | From | Meelis Roos <> | Subject | NFS oops+hang with 2.2.7ac3 |
| |
cd /net/anotherserver/myhome/subdir vi t.tex ZZ (exit with no modifications) and Boom! the machine hangs. Even magic sysreq doesn't work.
The nfs directory is automounted by amd form am_utils (RH 5.2). rsize=8192,wsize=8192,intr. The other end runs 2.0.36 with userspace nfs server.
Running the same thing on the console shows several oopses that don't get logged. The last one and a half were on the screen and they were from init. I will try the oops pause patch and write down and decode the results.
This doesn't happen with 2.2.7, 2.2.7ac[12] not tested.
strace of vim doing the same work with 2.2.7: ... open(".t.tex.swp", O_RDONLY) = -1 ENOENT (No such file or directory) open(".t.tex.swp", O_RDWR|O_CREAT|O_EXCL, 0600) = 5 open(".t.tex.swx", O_RDONLY) = -1 ENOENT (No such file or directory) open(".t.tex.swx", O_RDWR|O_CREAT|O_EXCL, 0600) = 6 fstat(5, {st_mode=0, st_size=0, ...}) = 0 fstat(6, {st_mode=0, st_size=0, ...}) = 0 close(6) = 0 unlink(".t.tex.swx") = 0 close(5) = 0 unlink(".t.tex.swp") = 0 stat(".t.tex.swp", 0xbffff1f8) = -1 ENOENT (No such file or directory) ... open(".t.tex.swp", O_RDWR|O_CREAT|O_TRUNC, 0600) = 5 lseek(5, 0, SEEK_SET) = 0 write(5, "b0VIM 5.3\0\0\0\0\20\0\0\225\346"..., 4096) = 4096 close(4) = 0 open("t.tex", O_RDONLY) = 4 read(4, "\\documentclass[a4paper]{article"..., 65536) = 2345 read(4, "", 65536) = 0 close(4) = 0 ... open(".t.tex.swp", O_RDWR|O_CREAT|O_TRUNC, 0600) = 5 lseek(5, 0, SEEK_SET) = 0 write(5, "b0VIM 5.3\0\0\0\0\20\0\0\225\346"..., 4096) = 4096 close(4) = 0 open("t.tex", O_RDONLY) = 4 read(4, "\\documentclass[a4paper]{article"..., 65536) = 2345 read(4, "", 65536) = 0 close(4) = 0 ... (here I press ZZ to exit vim) ... close(5) = 0 unlink("/.automount/ondatra/root/home/mroos/work/.t.tex.swp") = 0
One of the last 2 lines makes it hang.
--- Meelis Roos (mroos@tartu.cyber.ee)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |