public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] mmap crashes system after mapping PCI device into user space and reading and writing.
@ 2003-04-08 21:59 Mike Fox
  2003-04-09  0:42 ` [Linux-ia64] mmap crashes system after mapping PCI device into user space and reading and writin Grant Grundler
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Mike Fox @ 2003-04-08 21:59 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]

Hi,

 

I am running kernel version 2.4.19 and I am getting a system crash when I
mmap my PCI device into user space and access it.

 

It seems to be the same issue that was posted earlier in the following post,
which had no response:

 

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.

 

Thanks for any help you can give. I'm new to Linux and IA64 and I am in a
rush to port a PCI driver and API.

 

Thanks,

Mike Fox.

 

 


[-- Attachment #2: Type: text/html, Size: 4902 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-04-10  0:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-08 21:59 [Linux-ia64] mmap crashes system after mapping PCI device into user space and reading and writing Mike Fox
2003-04-09  0:42 ` [Linux-ia64] mmap crashes system after mapping PCI device into user space and reading and writin Grant Grundler
2003-04-09  5:36 ` Mike Fox
2003-04-09  6:20 ` Grant Grundler
2003-04-09  8:57 ` [Linux-ia64] mmap crashes system after mapping PCI device into user Christian Hinkelbein
2003-04-09 17:33 ` [Linux-ia64] mmap crashes system after mapping PCI device into user space and reading and writin David Mosberger
2003-04-09 17:45 ` David Mosberger
2003-04-09 23:53 ` Mike Fox
2003-04-10  0:44 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox