** Description changed:
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:
- * Add this line to /etc/sysctl.conf
- *
- * vm.mmap_min_addr=0
+ 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*********
--
default mmap_min_addr breaks dosemu
https://bugs.launchpad.net/bugs/216398
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs