Re: XFree86-Bigfont extension: shmget() failed Errors ?!?!



On Tue, Nov 21, 2000 at 01:47:37PM +0100, Jens Ansorg wrote:
> I went through the arcive bu tcould not find something useful for this
> issue:
> 
> Running Kernel 2.2.17 with RedHat 6.2 and XFree 4.0.1 I get those "shmget
> failed" messages whenever I run a gtk/gnome app.
> 
> Now even worse: some apps couse this error:
> "XFree86-Bigfont extension: shmget() failed, size = 122880, errno = 28"
> 
> I get lots of lines of this one.
> 
> probably related are errors/warnings about shared pixmaps not loading, i.e
> when I open a menu and move the mouse down along the menu entries I get
> those (imlib?) pixmaps errors for every menu entry the mouse scrolls over.
> Same with toolbars ...
> 
> Is this shmget related with a kernel module shm.o ?
> this module is there for my kernel but it refuses to load
> (unresolved symbols)

No. SysV shared memory is part of the "System V IPC" option, and it
can't be compiled as a kernel module. All kernels provided by
distributions have this enabled, AFAIK. 

What is the value of /proc/sys/kernel/shmmax ? Try to set this to a
large value (like 32MB) with:

  echo 33554432 > /proc/sys/kernel/shmmax

If you compiled your own kernel, be sure that you enabled SysV IPC.


Erik
[currently employed as kernel hacker, so that's why you don't see me
that often on this list]

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J A K Mouw its tudelft nl
WWW: http://www-ict.its.tudelft.nl/~erik/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]