Messages in this thread | | | Date | Fri, 10 Apr 1998 11:16:16 -0400 (EDT) | From | David C Niemi <> | Subject | locking problems on 2.1.93 |
| |
I am having trouble with WindowMaker under 2.1.93 and RH 5.0 (fully updated); wmaker can't seem to get its icons under 2.1.93. I strace'd the session under 2.0.pre34-7 and 2.1.93 and diff'd them to see where the problem is, which is this: ... access("/nfs/home/dcn0/GNUstep/Defaults/WindowMaker", R_OK) = 0 stat("/nfs/home/dcn0/GNUstep/Defaults/WindowMaker", {st_mode=0, st_size=0, ...}) = 0 open("/nfs/home/dcn0/GNUstep/Defaults/WindowMaker", O_RDONLY) = 4 -fcntl(4, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0 -fstat(4, {st_mode=0, st_size=0, ...}) = 0 -brk(0x80a2000) = 0x80a2000 -read(4, "{\n PixmapPath = (\n \"~/pix"..., 2700) = 2700 -fcntl(4, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 +fcntl(4, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = -1 ENOLCK (No locks available) close(4) = 0 -brk(0x80a3000) = 0x80a3000 -brk(0x80a4000) = 0x80a4000 -brk(0x80a5000) = 0x80a5000 -brk(0x80a6000) = 0x80a6000 +write(2, "wmaker", 6wmaker) = 6 +write(2, " warning: ", 10 warning: ) = 10 +write(2, "could not read domain \"WindowMa"..., 59could not read domain "WindowMaker" from defaults database +) = 59 ...
See the "fcntl F_SETLK" call above which is failing in 2.1.93 (the "+" parts) but which works in 2.0.pre34-7. Do I need to be running lockd locally for this to work? If so, which lockd should I be using, perhaps the one from the knfsd suite (which, BTW, is a bear to compile under glibc)? Obviously I could change wmaker or move the files in question to be local, but this sort of problem probably shows up elsewhere too. The NFS server is a Network Appliance.
Thanks...
--- David C Niemi --- niemi@tux.org --- Reston, Virginia, USA --- "Assimilation is Useless! You will be Resisted!"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |