Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4045126
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:22:51+00:00 2026-05-20T13:22:51+00:00

I want to create some memory to use for DMA transfers. (Using Linux 2.6.18-128.el5

  • 0

I want to create some memory to use for DMA transfers. (Using Linux 2.6.18-128.el5 #1 SMP)

I have a API stack+kernel driver for my H/W that can do this for me, but its very very slow!

If I use the API to create a DMA transfer, it allocates some memory very high up in System RAM (eg 0x7373a6f8 on one run). (I have the ICD of the device, so have a memory map mmap’d over, this is how I can find this address out, and how in the end I want to SET to my own address, and hence the /dev/mem in the maps below)

I cannot seem to be able to mmap memory around this high address, presumably as its out of my virtual memory space and im being blocked by the kernel?

What I want to be able to do is either use (map) this address given, so I can read/write to it, OR create my own physical memory that I can read/write to.

# cat /proc/iomem
00000000-0009fbff : System RAM
  00000000-00000000 : Crash kernel
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-7fd64fff : System RAM        # Is this all of /dev/mem?
  00400000-00612916 : Kernel code
  00612917-006ef9db : Kernel data

# cat /proc/3450/maps
08207000-08228000 rw-p 08207000 00:00 0          [heap]
b7e7b000-b7f85000 rw-p b7e7b000 00:00 0
b7f89000-b7f8a000 rw-p b7f89000 00:00 0
b7f8a000-b7f8b000 rw-s 80114000 00:11 1541       /dev/mem
b7f8b000-b7f8d000 rw-p b7f8b000 00:00 0
bff70000-bff85000 rw-p bffea000 00:00 0          [stack]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:22:52+00:00Added an answer on May 20, 2026 at 1:22 pm

    If I’m understanding you correctly, you have a device driver that’s behaving poorly, and you’re trying to work around that by manually allocating physical RAM from userspace? Is there a reason you’re not interested in fixing the driver instead?

    This sounds like a very odd request, not something that would be considered a proper fix by most people. I suspect you’d get more help if you were working on the underlying driver problem.

    (copied from comment above.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create some up and down buttons using the standard button background
I have some kind of test data and want to create a unit test
I want to create some text in a canvas: myText = self.canvas.create_text(5, 5, anchor=NW,
I want to create an ini file to store some settings for my application.
I want to create an NSOutlineView subclass where some of the entries look like
I want to create a simple http proxy server that does some very basic
I want to create a folder inside a C# project to contain some configuration
Data table structure is: id1,id2,id3,id4,... (some other fields). I want to create summary query
I have some dynamically created inputs which are not server-side controls. I want to
I want to create a file that only resides in memory... In looking through

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.