* dosemu error -- LOWRAM mmap: Invalid argument
@ 2010-04-07 16:02 Mark S Bilk
2010-04-17 20:28 ` Danilo Godec
0 siblings, 1 reply; 3+ messages in thread
From: Mark S Bilk @ 2010-04-07 16:02 UTC (permalink / raw)
To: linux-msdos
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
and "cat /proc/sys/vm/mmap_min_addr" now prints 0
(I think it was originally something like 65536).
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.
I get those error messages whether I run dosemu in an xterm
or a Linux text console.
My CPU is an AMD Athlon XP 2800+ dual-core 64 bit.
This is my first time running dosemu.
Here's my boot.log:
CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing built-in global.conf file.
CONF: config variable version_3_style_used unset
CONF: config variable version_3_style_used set
CONF: opened include file /etc/dosemu/dosemu.conf
CONF: closed include file /etc/dosemu/dosemu.conf
CONF: opened include file /home/msb/.dosemurc
CONF: closed include file /home/msb/.dosemurc
CONF: config variable skip_dosrc set
CONF: mapping driver = 'auto'
debug flags: -a+cw
CONF: Disabling use of pentium timer
CONF: dosbanner on
CONF: timer freq=18, update=54925
CONF: CPU set to 586
CONF: JIT CPUEMU set to 0 for 586
CONF: 2048k bytes EMS memory
CONF: EMS-frame = 0xe400
CONF: DPMI-Server on (0x5000)
CONF: DPMI base addr = 0xffffffff
CONF: PM DOS API Translator on
CONF: No DJGPP NULL deref checks: off
CONF: dosemu running on X
CONF: x keycode 2 mode13fact 2 gamma 100 font '' mgrab_key "Home"
CONF: time mode = 'bios'
SER: directory /var/lock namestub LCK.. binary No
MOUSE: no device specified, type 0 using internaldriver: yes, emulate3buttons: no baudrate: 0
CONF: Keyboard-layout keyb-user
CONF: **** Warning: floppy /dev/fd0 not accessable, disabled
CONF: fastfloppy = 1
CONF: IPX support off
CONF(LPT0) f: (null) c: lpr -l t: 20 port: 0
CONF(LPT1) f: (null) c: lpr -l -P lpt2 t: 20 port: 0
CONF: not allowing speaker port access
CONF: Packet Driver enabled.
device: /home/msb/.dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C:
device: /home/msb/.dosemu/drives/d type 4 h: -1 s: -1 t: -1 drive D:
CONF: cdrom MSCD0001 on /dev/cdrom
CONF: config variable c_system unset
Linux kernel 2.6.31; CPU speed is 2712433000 Hz
CPU-EMU speed is 2712 MHz
CONF: mostly running as USER: uid=1000 (cached 1000) gid=100 (cached 100)
DBG_FD already set
DOSEMU-1.4.0.1 is coming up on Linux version 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 i686
Compiled with GCC version 4.4.0 -m32
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 48Kb at 0xF4000 for 'r' (Dosemu reserved area)
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
CONF: reserving 8256Kb at 0x100000 for 'x' (Extended memory (HMA+XMS))
********************
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dosemu error -- LOWRAM mmap: Invalid argument
2010-04-07 16:02 dosemu error -- LOWRAM mmap: Invalid argument Mark S Bilk
@ 2010-04-17 20:28 ` Danilo Godec
2010-04-20 12:33 ` Mark S Bilk
0 siblings, 1 reply; 3+ messages in thread
From: Danilo Godec @ 2010-04-17 20:28 UTC (permalink / raw)
To: Mark S Bilk; +Cc: linux-msdos
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
>
> and "cat /proc/sys/vm/mmap_min_addr" now prints 0
> (I think it was originally something like 65536).
>
> 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).
Danilo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dosemu error -- LOWRAM mmap: Invalid argument
2010-04-17 20:28 ` Danilo Godec
@ 2010-04-20 12:33 ` Mark S Bilk
0 siblings, 0 replies; 3+ messages in thread
From: Mark S Bilk @ 2010-04-20 12:33 UTC (permalink / raw)
To: Danilo Godec; +Cc: linux-msdos
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-20 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-07 16:02 dosemu error -- LOWRAM mmap: Invalid argument Mark S Bilk
2010-04-17 20:28 ` Danilo Godec
2010-04-20 12:33 ` Mark S Bilk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox