mmap issue
Has anyone tried using mmap to remap PCI device memory into user space? I have seen the following problem: If I do the mmap, it returns successfully, and I can indeed access the device memory. Unfortunately, the system will hang within about a minute after doing so. I do not get an oops, or crash of any kind, simply no further response form the machine. If I just do the mmap and then munmap the system will not hang. But if I do one access to the mmapped address, the system will hang. I am using the remap_page_range call in my mmap routine, and this same code works on x86 and Alpha platforms. I found it odd that it takes a while for the system to hang after the access, is their something special I have to do for this to work on IA64? I am running 2.4.1 with the 1/31 patch, although this problem occurs on all previous kernels I have tried. Thanks in advance for any insight anyone might have.
Robert Matthews
Evaluation Test Development
Compaq Computer Corp
Voice: (281)518-1950 Fax:(281)514-9541
[email protected]