From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eemeli Kantola Subject: Re: Dosemu 1.1.5 Binaries? Date: Mon, 14 Jul 2003 19:50:14 +0300 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <3F12DF46.9060906@welho.com> References: <1058177916.9399.49.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1058177916.9399.49.camel@localhost.localdomain> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Peter Celella wrote: > The IPC in the kernel thing is what has me confused. I've searched > everywhere and can't find anything telling me what this is or how to > check it. Do you know how to check if IPC is configured in the kernel? > And if not, how to go about doing so? I found this directory /proc/sysvipc on my machine. Not actually knowing anything, I would guess that this is somehow related to the presence of that IPC thing. Do you have a directory with that name? > ERROR: MAPPING: cannot get IPC shared mem (Invalid argument) > > This may have the following reasons: > - you do not have IPC configured into the kernel > - the limits are to low for the amount of memory you requested > in /etc/dosemu.conf. In this case either decrease the XMS/EMS/DPMI > amount in /etc/dosemu.conf or increase the kernel limits such as > 'echo 67108864 >/proc/sys/kernel/shmmax' Did you take a look at /proc/sys/kernel/shmmax? For example, I get: $ cat /proc/sys/kernel/shmmax 33554432 meaning 32 Mb shared memory. So, I need to have the total sum of $_xms, $_ems and $_dpmi to be less or equal to 32768 (kb) to fit in the shared memory, or I can do 'echo 67108864 >/proc/sys/kernel/shmmax' to get more shm (64 Mb, in that case) for dosemu.