From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 20:38:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2424516A4CE for ; Tue, 9 Dec 2003 20:38:55 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED00143D2C for ; Tue, 9 Dec 2003 20:38:50 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.24 #1 (FreeBSD 4.9)) id 1ATw7W-0009Up-Ne by authid ; Wed, 10 Dec 2003 07:38:42 +0300 Date: Wed, 10 Dec 2003 07:38:42 +0300 From: Odhiambo Washington To: Joe Marcus Clarke Message-ID: <20031210043842.GC14136@ns2.wananchi.com> References: <200312070945.hB79jKds039814@www.kukulies.org> <20031207113607.GB301@rbg.informatik.tu-darmstadt.de> <20031207215711.GC301@rbg.informatik.tu-darmstadt.de> <20031208115608.F15361@carver.gumbysoft.com> <20031209155318.GA12820@ns2.wananchi.com> <1070989760.736.2.camel@gyros> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1070989760.736.2.camel@gyros> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.4i (2003-03-19) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org cc: Viktor Vasilev Subject: Re: gimp fails suddenly X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 04:38:55 -0000 * Joe Marcus Clarke [20031209 20:14]: wrote: > On Tue, 2003-12-09 at 10:53, Odhiambo Washington wrote: > > * Doug White [20031208 23:27]: wrote: > > > On Sun, 7 Dec 2003, Viktor Vasilev wrote: > > >=20 > > > > > Well that would imply that somehow SYSVSHM got removed from your = kernel. > > > > > What does 'ipcs -a' say? > > > > > > > > Actually the kernel is compiled with the SYSVSHM option. IIRC gimp = was > > > > installed with pkg_add -r. > > >=20 > > > ok. > > >=20 > > > > Shared Memory: > > > > T ID KEY MODE OWNER GROUP CREATOR CGROUP= NATTCH SEGSZ CPID LPID ATIME DTIME CTIME > > > > m 196608 0 --rw-r--r-- root myuser root myuser= 7 151552 228 22821:49:32 21:49:32 12:14:10 > > > > m 65537 0 --rw-r--r-- root myuser root myuser= 6 122880 228 104221:29:46 21:29:46 12:14:10 > > > > m 65538 0 --rw------- myuser myuser myuser myuser= 2 393216 255 22812:15:18 22:35:00 12:15:18 > > > > m 65539 0 --rw-r--r-- root myuser root myuser= 2 790528 228 29812:15:54 12:15:54 12:15:54 > > > > m 393220 0 --rw-r--r-- root myuser root myuser= 2 110592 228 35412:21:49 15:32:20 12:21:49 > > > > m 262149 0 --rw-r--r-- root myuser root myuser= 4 110592 228 35412:21:49 15:32:20 12:21:49 > > >=20 > > > hm... I think we have a winner. FreeBSD, by default, only allocates 3= 2MB > > > max to shm segments. You have a bunch already loaded and gimp wants 7= MB > > > more, and thats probably putting you over the limit. It returns EINV= AL if > > > there isn't enough space available. > > >=20 > > > > shminfo: > > > > shmmax: 33554432 (max shared memory segment size) > > > > shmmin: 1 (min shared memory segment size) > > > > shmmni: 192 (max number of shared memory identifiers) > > > > shmseg: 128 (max shared memory segments per process) > > > > shmall: 8192 (max amount of shared memory in pages) > > >=20 > > > You probably need to add > > >=20 > > > kern.ipc.shmmax=3D"67108864" > > >=20 > > > to /boot/loader.conf, then reboot your system. This should give you = ~64MB > > > of shm space. > >=20 > >=20 > > My sysctl -a gives: > >=20 > > kern.ipc.shmmax: 268435456 > >=20 > > and I have the same problem ;) >=20 > Did you install gimp from ports or packages? >=20 > Joe I used portinstall. portinstall graphics/gimp1 BTW, I installed graphics/gimp-devel, which seems to run fine. Best regards, Odhiambo Washington Wananchi Online Ltd. =20 ----------------------------------+----------------------------------------- Odhiambo W. wash(at)wananchi(dot)com . WANANCHI ONLINE LTD (Nairobi, KE) http://www.wananchi.com/email/ . 1ere Etage, Loita Hse, Loita St., Mobile: (+254) 722 743 223 . # 10286, 00100 NAIROBI ----------------------------------+----------------------------------------- What the hell, go ahead and put all your eggs in one basket. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The remote desktop feature of Windows XP is really nice (and *novel*!). As a Microsoft consultant can *remotely* disable the personal firewall and control the system. We'll ignore the fact that this tampering with the firewall is not logged, and more importantly, that the firewall isn't restored when the clowns from Redmond are done with their job. -- bugtraq =20