Bug 2646 - dosemu, DOS Emulation, enables Linux to run DOS programs
Summary: dosemu, DOS Emulation, enables Linux to run DOS programs
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Damien Lallement
QA Contact:
URL: http://dosemu.sourceforge.net/
Whiteboard: Mdv
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 20:19 CEST by Gene Alexander
Modified: 2012-05-26 11:36 CEST (History)
4 users (show)

See Also:
Source RPM: dosemu
CVE:
Status comment:


Attachments

Description Gene Alexander 2011-09-06 20:19:29 CEST
Description of problem:
No packages for dosemu on Mageia 1. Still have old Mandriva packages installed for now.

Version-Release number of selected component (if applicable):
Unknown. Would like to have the "latest" though.

How reproducible:
Very

Steps to Reproduce:
1. Install Mageia 1
2. Look for dosemu packages to install
Manuel Hiebel 2011-09-08 22:24:43 CEST

URL: (none) => http://dosemu.sourceforge.net/
Source RPM: xdosemu-1.4.0.1-4mdv2010.1 dosemu-1.4.0.1-4mdv2010.1 dosemu-freedos-1.4.0.1-4mdv2010.1 => dosemu

Comment 1 Christian Müller 2011-10-30 18:13:06 CET
Hi, DOSEMU for Mageia really would be nice :-)

CC: (none) => chmos

Comment 2 Marja Van Waes 2011-12-24 23:19:03 CET
Setting version to cauldron to improve the chance that someone will package it. When it is in cauldron, it is expected to be available in the first stable release that follows, but it is also possible to reopen this request for Mga 1, then.

CC: (none) => marja11
Hardware: i586 => All
Version: 1 => Cauldron
Summary: I use dosemu from Mandriva for some old DOS applications. This is needed in Mageia. => dosemu, DOS Emulation, enables Linux to run DOS programs
Whiteboard: (none) => Mdv
Severity: normal => enhancement

Comment 3 Damien Lallement 2012-01-13 05:07:27 CET
WIP

Status: NEW => ASSIGNED
CC: (none) => mageia

Damien Lallement 2012-01-13 05:08:42 CET

Assignee: bugsquad => mageia

Comment 4 Martin Volf 2012-03-02 14:51:15 CET
Please, can somebody create RPM package? Still is not in Cauldron, thank you

CC: (none) => chipo

Comment 5 Marja Van Waes 2012-03-02 15:14:16 CET
(In reply to comment #4)
> Please, can somebody create RPM package? Still is not in Cauldron, thank you

@ Gene

Damien started working on it, but he had to put it aside for a while, because he had far more urgent work to do in the past months. 

Any packager is free to contact him and offer his/her help.

If you happen to know people who might want to contribute to Mageia, please point them to http://www.mageia.org/en/contribute/

The more packagers and other contributors there are, the sooner package requests will be done :)
Comment 6 Damien Lallement 2012-03-06 14:45:33 CET
Hi,

dosemu-1.4.0.1-4.mga2 now available.
Please test it.
Thank you Alexander for the report and Marja for the tracking. :-)
Comment 7 Damien Lallement 2012-03-12 17:22:06 CET
Closing as package is now available.
Please reopen if needed.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 8 Martin Volf 2012-03-19 18:41:36 CET
Hi, thank you for this package. I installed rpm to Mageia 1, installation with no problems.

Description of problem: DosEmu has some bug inside

Version-Release number of selected component: dosemu-1.4.0.1-4.mga2

Steps to Reproduce:
# urpmi dosemu
- install with dependency
$ dosemu

LOWRAM mmap: Operation not permitted
Cannot map low DOS memory (the first 640k).
You can most likely avoid this problem by running
sysctl -w vm.mmap_min_addr=0
as root, or by changing the vm.mmap_min_addr setting in
/etc/sysctl.conf to 0.

How to solve it (as root):
# sysctl -w vm.mmap_min_addr=0

Status: RESOLVED => VERIFIED
Resolution: FIXED => WORKSFORME

Comment 9 Gene Alexander 2012-03-19 19:39:11 CET
Martin, this is not a bug in DOSEMU, it is a "security" setting in the 2.6.* kernels that affects both DOSEMU and many WINE applications. It has been known of for a while now that the default kernel setting of 64kb for mmap_min_addr causes problems with virtualization. The "permanent" fix is to edit /etc/sysctl.conf as root and add the line 'vm.mmap_min_addr=0' there. I have had this "fix" on my system for quite some time.

This is addressed in detail here:

https://bugs.launchpad.net/ubuntu/+source/procps/+bug/216398

and here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538432

As you can see, it is working as designed. It may be a good idea if the DOSEMU installation scripts checked this and set up /etc/sysctl.conf for one on install. If a warning about "security" needs to be shown, then maybe do that too.
Comment 10 Marja Van Waes 2012-05-26 11:36:30 CEST
Again closing as fixed, because the package was pushed to cauldron (and is now available in Mga2)

Status: VERIFIED => RESOLVED
Resolution: WORKSFORME => FIXED


Note You need to log in before you can comment on or make changes to this bug.