*BSD News Article 99649


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-feed1.tiac.net!newsfeed.direct.ca!news.he.net!cnn.nas.nasa.gov!not-for-mail
From: Hugh LaMaster <lamaster@nas.nasa.gov>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Gimp and X11 error: SYSVSHM non-present
Date: Mon, 14 Jul 1997 10:06:43 -0700
Organization: NASA Ames Research Center
Lines: 39
Message-ID: <33CA5CA3.446B@nas.nasa.gov>
References: <33C9A8E2.2781E494@zipco.net>
NNTP-Posting-Host: win144.nas.nasa.gov
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; U; IRIX 6.2 IP22)
To: Ward Bones <ward@zipco.net>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44420

Ward Bones wrote:

> cmd gimp pid 1106 tried to use non-present SYSVSHM

FWIW, the following options in the /usr/src/sys/i386/conf
file to build a new kernel work for me.  Note that I have
it configured for the Mbone tool "vic", which for some
reason opens a new shared-memory segment for every
video stream (on other systems I have used, all "vic" shared-
memory accesses to the X11 server use a single shared-memory 
segment).  According to the man pages, you may want to bump 
up SHMMAXPGS to 4096 for "gimp" (which I have heard of,
but have not tried).



options         SYSVSHM                 #Shared memory enable - very
important
options         SHMALL=1025
options         "SHMMAXPGS=1025"        # 4Mbytes sharable memory
options         "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
options         SHMMIN=2
options         SHMMNI=33
options         SHMSEG=33               # Was "9" in "LINT" - more for
vic

options         SYSVSEM                 # enable for semaphores

options         SYSVMSG                 # enable for messaging



-- 
  Hugh LaMaster, M/S 258-5,     ASCII Email: 
hlamaster@mail.arc.nasa.gov
  NASA Ames Research Center     Or:           lamaster@nas.nasa.gov
  Moffett Field, CA 94035-1000  No Junkmail:  USC 18 section 2701
  Phone:  415/604-1056          Disclaimer:   Unofficial, personal
*opinion*.