On Mar 27, 2004 at 14:47, Martin Coggin <martin(a)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)