From: Henry N. <Henry.Ne@Arcor.de> - 2005-10-06 16:47:47
|
Mela Custodining wrote: > Good day, > > Recently I had the chance to use an application, which uses IPC, on > coLinux. It uses shared memory. I am using the Gentoo 2Gb images. I'm > using 0.6.3 stable snapshots, WinPCAP-bridges, and using cofs. > > When I run the binaries in coLinux the IPC calls failed, particulary > shm_init failing with ENOSYS. (I have pshared == 1) > > When I run the binaries on a Shrike machine, the application executes > properly. > > Before I go out build my own custom vmlinux (as a last resort) I would > like to ask those knowledgeable than me if the kernel shipped coLinux > supports IPC. Is rebuilding a new vmlinux the solution to my problems? > Your inputs would be highly appreciated. > > - mela Have you mount the shm device? > mount | grep shm tmpfs on /dev/shm type tmpfs (rw) If not, try this before you start your program: > mount -t tmpfs tmpfs /dev/shm -- Henry Nestler |