NetBSD-Users archive

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

Re: Need help w/ binary emulation



Greg Troxel wrote:
  Now I have a problem allocating shared memory segments. The problem
  appears to come from the fact that SHMMNI is incorrectly reported as
  -1.

  How do programs in Linux emulation discover system parameters such as this?

They look in /proc, which you should have mounted with the linux option
in the emul root, and they make system calls.  ktrace is the way forward
usually.


Ok - so I have a ktrace/kdump of a session that crashes. Don't want to post it here because it's kinda big. Here's the error on stderr...

process:8140, U_smm_semaget(), udt_semget() error, errno:28.
Exit: smm: cannot allocate semaphore for udtno 0 errno 28

... what do I look for in the kdump?


Louis



Home | Main Index | Thread Index | Old Index