Bug 52543
Summary: | c programs compiled over nfs mounts on 2.4 linux kernels get corrupted | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | John Spencer <johns> |
Component: | nfs-server | Assignee: | Steve Dickson <steved> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | gene-redhat, jeffrey.s.elam |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-11 10:39:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Spencer
2001-08-24 20:36:29 UTC
We have the same problem here at Intel with kernel 2.4.2-2 using Mentor Modelsim. This problem did not exist in 6.2 with the same version of Modelsim. The test case provided in this bug report reproduces the problem perfectly. However, the problem is not limited to NFS. We also have new problems with Modelsim on the 2.4.2-2 kernel over AFS (both Transarc and Openafs), and the test case reproduces those problems perfectly also. With the Transarc AFS, the process completely hangs right at the mmap() call. When it hangs, all ps, top, ls /proc attempts by any other user also hangs. Shutdown hangs, but reboot -f is OK (but not clean, of course). With Openafs, it doesn't hang, but it behaves similarly to the NFS corruption. When the resulting file is viewed locally, it looks OK. When it is viewed from another system, it is corrupt. With NFS, the corrupted file written to the network server eventually overrides the local copy and the corruption appears after a few seconds. Under openafs, the local output remains OK because it stays in the AFS cache, while every other client sees the corrupt file. Under the 2.4.9-12 kernel, the NFS corruption no longer occurs. However, the Openafs corruption of the output to the network still happens exactly as before. Transarc AFS for 2.4.9-12 doesn't exist yet so I couldn't test that one. |