From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark S Bilk Subject: Re: dosemu error -- LOWRAM mmap: Invalid argument Date: Tue, 20 Apr 2010 05:33:44 -0700 Message-ID: <20100420123343.GA13657@isis> References: <20100407160258.GC24445@isis> <4BCA19D6.2090600@agenda.si> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <4BCA19D6.2090600@agenda.si> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Danilo Godec Cc: linux-msdos@vger.kernel.org On Sat, Apr 17, 2010 at 10:28:06PM +0200, Danilo Godec wrote: >On 7.4.2010 18:02, Mark S Bilk wrote: >> When I run dosemu I get these error messages: >> >> LOWRAM mmap: Invalid argument >> Segmentation fault >> >> I have already done this as root -- recommended as the >> solution for this problem -- but it doesn't help: >> >> echo 0 > /proc/sys/vm/mmap_min_addr >> >> The dosemu version is 1.4.0.1, installed from an OpenSuse rpm. >> I'm running OpenSuse Linux 11.2, kernel 2.6.31.12-0.1-desktop, >> which is a 32-bit system. > >Disable 'apparmor' completely. Use the kernel boot option 'apparmor=0' >to achieve that. (add it to /boot/grub/menu.lst). Many thanks, Danilo -- that fixed it! "rcapparmor stop" and "rcapparmor kill" did not help. I had to add that kernel option and reboot. The apparmor module is compiled into this kernel, but the option evidently deactivates it. Dosemu actually ran a game! Not any that I really want to run -- Apogee Crystal Caves, Secret Agent, and Cosmo. But it's a start, and I can try various fixes, including modifying dosemu if I have to. Mark