DOS memory range unavailable

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
phildaman46
Level 2
Level 2
Posts: 33
Joined: Sat May 24, 2008 3:08 pm

DOS memory range unavailable

Post by phildaman46 »

I am getting a "DOS memory range unavailable" message when I'm trying to install Grim Fandango. What does this mean and how do I solve it.
phildaman46
Level 2
Level 2
Posts: 33
Joined: Sat May 24, 2008 3:08 pm

Post by phildaman46 »

No answers huh? Typical of these forums. You ask a question and no one helps.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

DOS memory range unavailable

Post by austin987 »

If you'd read the FAQ, it may answer your question. Else, providing
terminal output, wine version, and a more detailed question will
probably get you better results.

On 5/24/08, phildaman46 <[email protected]> wrote:
No answers huh? Typical of these forums. You ask a question and no one
helps.




John Drescher

DOS memory range unavailable

Post by John Drescher »

On Sat, May 24, 2008 at 11:13 PM, phildaman46 <[email protected]> wrote:
No answers huh? Typical of these forums. You ask a question and no one helps.
You were not specific enough to help. And this is Saturday and a
holiday weekend in the US.

Where did you get this dos error message? Did you run this from the
shell? Can you post the output from there?

John
Bamm
Level 4
Level 4
Posts: 136
Joined: Thu May 22, 2008 3:18 am

Re: DOS memory range unavailable

Post by Bamm »

phildaman46 wrote:I am getting a "DOS memory range unavailable" message when I'm trying to install Grim Fandango. What does this mean and how do I solve it.
You are running a 16-bit app. That's a problem caused by a recent update in the Linux kernel that prevents programs (particularly Wine) from accessing the first 64k of kernel memory. It was done to plug a security hole. So it's not a problem with Wine; rather the Linux kernel itself in increasing security unfortunately prevented running 16-bit apps in Wine.

If you're using Ubuntu try this:

Code: Select all

sudo sysctl -w vm.mmap_min_addr=0
the above code temporarily allows access to this memory location, allowing you to run your 16-bit app. It will last until you shut down the computer, so you'll need to run the command again the next time you boot.
phildaman46
Level 2
Level 2
Posts: 33
Joined: Sat May 24, 2008 3:08 pm

Post by phildaman46 »

I'm using Wine version 0.9.61. When I click on the setup.exe for Grim Fandango, I get the Dos Memory Range message.
phildaman46
Level 2
Level 2
Posts: 33
Joined: Sat May 24, 2008 3:08 pm

Re: DOS memory range unavailable

Post by phildaman46 »

Bamm wrote: If you're using Ubuntu try this:

Code: Select all

sudo sysctl -w vm.mmap_min_addr=0
the above code temporarily allows access to this memory location, allowing you to run your 16-bit app. It will last until you shut down the computer, so you'll need to run the command again the next time you boot.
Thanks for that code, it works now. The game installs and runs.
User avatar
shakaran
Level 2
Level 2
Posts: 29
Joined: Sat Feb 23, 2008 9:49 pm

Post by shakaran »

With the latest version of Wine 1.0-rc2 'seems' that is no longer produced this problem in ubuntu 8.04. I recommend you add the repository of Wine and upgrade to the latest version.

For more information:
http://wiki.winehq.org/PreloaderPageZeroProblem (avaliable also in Spanish)
Locked