Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Shared memory problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 673
Location: Belgium

PostPosted: Tue Apr 22, 2008 8:11 pm    Post subject: [solved] Shared memory problems Reply with quote

Not sure where this fits... I'm having reasonable but abnormally low perfomance. Some applications complain about shared memory (e.g. mplayer fails with a shared memory extension error, some others give " Gdk-WARNING **: shmget failed: error 38 (Function not implemented)" but still work. What did I forget? Running 2.6.24-gentoo-r4, if that's important, new install from stage3-i686-2008.0_beta1, 2008.0-desktop profile

Last edited by Kobboi on Wed Apr 23, 2008 7:24 am; edited 1 time in total
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Tue Apr 22, 2008 8:30 pm    Post subject: Reply with quote

What does mount | grep shm and zgrep SHM /proc/config.gz return ?
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 673
Location: Belgium

PostPosted: Tue Apr 22, 2008 8:58 pm    Post subject: Reply with quote

Thanks for your reply. I get
Code:
# mount | grep shm
none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)

and
Code:
 # zgrep SHM /proc/config.gz
CONFIG_SHMEM=y
# CONFIG_TINY_SHMEM is not set
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Tue Apr 22, 2008 9:13 pm    Post subject: Reply with quote

What does ipcs -a and ipcs -l return ?
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
Kobboi
l33t
l33t


Joined: 29 Jul 2005
Posts: 673
Location: Belgium

PostPosted: Wed Apr 23, 2008 6:51 am    Post subject: Reply with quote

Problem solved, I had forgotten to enable System V support. Thanks for the advice!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum