remap_page_range with addresses above 4GB

From: John Fusco (fusco_john_at_yahoo.com)
Date: 09/22/04


Date: Wed, 22 Sep 2004 03:30:28 GMT

I have a device that requires lots of contiguous RAM (100's of MB). I
generally use the boot argument 'mem=XXX' to hide memory from the kernel
so I can use it for my driver.

This works fine as long as XXX is less than 4GB. It turns out that
remap_page_range takes an 'unsigned long' as its argument for a physical
address, which on IA32 is 32-bits. So I can't use it when I have to
reserve memory above 4GB.

Does anyone have any ideas how to do this?

Thanks,
John



Relevant Pages

  • 2.6.28-rc9 panics with crashkernel=256M while booting
    ... parameter causes the kernel to panic while booting. ... Phyp-dump disabled at boot time ... console enabled ... memory reservation spans across these two nodes. ...
    (Linux-Kernel)
  • Re: Spontaneous unclean reboots
    ... I suggest you take a look at your hardware before you do anything else, to lessen the risk of corrupting your file system further, you should not boot into your system. ... You should use the memtest that you boot into, not using a tool that run as an application, as you want to be able to test the whole memory, otherwise you have to keep the kernel part of the memory out of the test and you won't see if there is anything wrong in that part, if you don't exclude the kernels memory space, then you will automatically crash wne you get to that point. ... Of course, you could have corrupted libraries, etc. or your hard drive could be slowly failing, which is a good possibility, if the hard drive like the system is 7 years old. ...
    (alt.os.linux)
  • kernel panic - not syncing ???
    ... amd64 server will not complete boot, regardless which kernel from grub menu ... google hit on memory; but, that does not appear to be the case, after swapping memory ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • 2.6.12.1 problems I meet (please CC: me)
    ... I use a customized kernel to do packets analysis. ... during boot, the kernel boot with error "unknown bus type 0" and freeze. ... boot up execept that the analysis code can't vmallocthe needed memory. ...
    (Linux-Kernel)
  • 2.6.12.1 problems I meet (please CC: me)
    ... I use a customized kernel to do packets analysis. ... during boot, the kernel boot with error "unknown bus type 0" and freeze. ... boot up execept that the analysis code can't vmallocthe needed memory. ...
    (Linux-Kernel)