Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-18-2007, 10:54 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
how to use PCI shared memory ?

I have a i386 host machine. on the PCI bus i have a device which needs to access a shared memory on another PCI device. This shared memory is shared between device and the host processor. Iam using linux kernel 2.6.14. I use the shared memory this way :

ioremap the shared memory and then i give the physical address of this shared memory to the PCI device which wants to access it. i get this physical address from lspci output. i get this error " Uhhuh. NMI received Dazed and confused u probably have bad RAM chips..."

Here do i need to make virt_to_bus of the address i got from the ioremap ?
But its generally taken that on the i386 machine both the bus address and physical address are the same.

But still if i do virt_to_bus on the ioremaped address i see that the bus address and the physical address are not the same.

Any help ???


confused, error, kernel, memory, nmi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shared memory hegdeshashi Linux - Newbie 1 12-20-2006 07:14 AM
Shared memory yhus Programming 1 09-28-2006 03:24 PM
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 10:57 AM
shared memory blackzone Programming 1 10-14-2004 12:52 PM
RH 8.0 Mapping Virtual Memory to get access to VMIC Reflective Memory PCI card. Merlin53 Linux - Hardware 0 05-05-2003 01:50 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration