[Bug 216398] [NEW] default mmap_min_addr breaks dosemu

Launchpad Bug Tracker 216398 at bugs.launchpad.net
Thu Feb 17 09:27:08 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Default value of mmap_min_addr is set to 64kb, which breaks many
different userland applications, including dosemu, wine and hardware
virtualisation.

Should be set to zero, as recommended by LKML when feature was
introduced.

As originally reported by pivo:

"""
When I start dosemu, I get the following, only:

$ dosemu
LOWRAM mmap: Invalid argument
Segmentation fault (core dumped)

I use latest hardy on 3 different machines (both ix32 and amd64), tried the console as well as X11, with the same result. The last time I'm certain it worked was 2008-03-26. Some dependency must have borked dosemu. Google didn't help.
"""


***WORKAROUND**************
To fix it temporarily run from console (needed everytime you reboot):
$ sudo sysctl vm.mmap_min_addr=0

To fix it permanently:
As root ("sudo -s"), add this line to /etc/sysctl.d/90-low-memory-access.conf (Intrepid) or /etc/sysctl.conf (Hardy):
   vm.mmap_min_addr=0
and then run: invoke-rc.d procps start
***END WORKAROUND*********

** Affects: dosemu (Ubuntu)
     Importance: Medium
     Assignee: Pablo Castellano (pablocastellano)
         Status: Fix Released

** Affects: procps (Ubuntu)
     Importance: Undecided
     Assignee: Kees Cook (kees)
         Status: Won't Fix

** Affects: dosemu (Ubuntu Intrepid)
     Importance: Medium
     Assignee: Pablo Castellano (pablocastellano)
         Status: Fix Released

** Affects: procps (Ubuntu Intrepid)
     Importance: Undecided
     Assignee: Kees Cook (kees)
         Status: Won't Fix


** Tags: verification-done
-- 
default mmap_min_addr breaks dosemu
https://bugs.launchpad.net/bugs/216398
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list