Summary: | net-fs/openafs-1.4.7 plus kernel 2.6.25-r1/2 freezes openafs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
Component: | [OLD] Core system | Assignee: | Stefaan De Roeck (RETIRED) <stefaan> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | chat.noir, net-fs, sven.koehler |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 218127 |
Description
Helmut Jarausch
2008-05-06 18:03:22 UTC
Here, openafs 1.4.7 is running fine with a _vanilla_ 2.6.25 kernel. (well, i only tested "ls -la /afs" and "find /afs") On my system too, openafs-1.4.7 works perfectly. Running a 2.6.25-gentoo-r1 kernel on amd64. Anything in "dmesg"? What do you mean by freezing? Does the whole system freeze, or just the tasks that try to access afs? Have you allowed time (i.e. several minutes) to let openafs discover it cannot reach a server? ... (In reply to comment #2) > On my system too, openafs-1.4.7 works perfectly. Running a 2.6.25-gentoo-r1 > kernel on amd64. > > Anything in "dmesg"? > What do you mean by freezing? Does the whole system freeze, or just the tasks > that try to access afs? Have you allowed time (i.e. several minutes) to let > openafs discover it cannot reach a server? ... No, dmesg shows nothing. Any access in relation to /afs stalls the application, e.g. ls /afs/... df cd /afs/... /etc/init.d/openafs-client stop all hang. And of course no client can access the afs filesystem any more. And of course, a normal shutdown (like init 0 or init 6) doesn't work either since the system cannot unmount /afs . And being forced to do a hardware reset isn't funny. Comments on the openafs mailing list seem to indicate that this is possibly connected to missing time-outs in the code. Having stepped back to kernel 2.6.24-r2 (with openafs-kernel 1.4.6_p20080222) and openafs-1.4.7 there aren't any problems anymore. I have exactly the same problem. Just after boot everything works, but after a while all AFS related things stop working (ls /afs, bos status, etc) I use gentoo-sources-2.6.25-r2 and opensafs-kernel-1.4.7 I suggest this be handled upstream, in the thread on the openafs-info mailing list that corresponds to this bug. More precisely, I think the question at https://lists.openafs.org/pipermail/openafs-info/2008-May/029267.html could use an answer. In the light of bug #223355, could you please execute echo 2 > /proc/sys/afs/GCPAGs immediately after starting openafs-client, and check whether the problem persists? (In reply to comment #6) > In the light of bug #223355, could you please execute > echo 2 > /proc/sys/afs/GCPAGs > immediately after starting openafs-client, and check whether the problem > persists? > Initial experience is excellent! I've put this line into /etc/init.d/openafs-client I have a hunch this is fixed in openafs-1.4.8. Could you verify that this works for you? As there is no response from the reporter, assuming the answer to "does it work for you in 1.4.8?" is "yes". Closing as fixed. |