Tks Andrei, I read this issue yesterday and tks for pointing this out. Sorry Im a bit of newbie to Linux so don't know which kernel version I have. Got a couple of other postings asking how I know which version of the kernel Im using. FYI I have Debian woody installed and Ive spent several hours yesterday looking through the documentation to try to find it. Maybe Im looking in the wrong place.
I may just try the recompile of ser but then I need to work out how to do that too.
Im enjoying this steep learning curve and it is steep.
Best regards and tks Martin
-----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 27 March 2004 18:24 To: Martin Coggin Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 27, 2004 at 14:47, Martin Coggin martin@mc2-consulting.co.uk wrote:
Tried that in a variety of versions ie ser -m 16 8 4, they result in
the
same response ie 'Too much shared memory demanded!
Do you use an older kernel (2.2.x)? (older kernels don't support mmaping /dev/zero, so intializing the shared memory will fail on them).
From the ISSUES file:
Desc: ser won't run on linux kernels <2.4 (fails with EINVAL when intializing the shared memory) BugId: n/a Ser version: 0.8.8, 0.8.9, 0.8.10 Workaround: Upgrade to a 2.4.* kernel (older kernels don't support shared mmaping of /dev/zero ) or recompile ser with SYSV shm instead of mmap (remove -DSHM_MMAP from Makefile.defs) CVS status: n/a
Andrei
P.S.: another work arroung might be to create a large file, of your desired shared mem. size and mmap this file instead of /dev/zero (never tried this, I don't have any machine with 2.2.x now)