NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Shared memory problems under Linux Emulation



On Jul 12, 12:19pm, lguillaume%berklee.edu@localhost (Louis Guillaume) wrote:
-- Subject: Re: Shared memory problems under Linux Emulation

| 
| 
| Christos Zoulas wrote:
| > In article <4875A139.6000809%berklee.edu@localhost>,
| > Louis Guillaume  <lguillaume%berklee.edu@localhost> wrote:
| >> Hi,
| >>
| >> I'm trying to run a set of Linux program on NetBSD-4. They die after 
| >> trying to allocate shared memory.
| >>
| >> I have a `ktrace -id -t A command' with the gory details but at this 
| >> point things are way over my head. I can make the ktrace or portions of 
| >> it available if needed.
| >>
| >> What do I look for and how do I proceed?
| > 
| > Sure, can you make it available?
| > 
| > christos
| > 
| 
| 
| Here it is...
| 
| ftp://ftp.zabrico.com/pub/kdump-startud.txt

Can you bump with sysctl:

kern.ipc.shmmax
kern.ipc.shmmni
kern.ipc.shmseg
kern.ipc.shmmaxpgs

and see if that helps. I think shmmaxpgs might be too small.
if you are running 4.0 you need to recompile the kernel.

christos


Home | Main Index | Thread Index | Old Index