From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 30 18:54:08 2014 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3711A5C8; Tue, 30 Dec 2014 18:54:08 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCB352FEE; Tue, 30 Dec 2014 18:54:07 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id bs8so24492219wib.10; Tue, 30 Dec 2014 10:54:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:from:date:to:cc :message-id; bh=RPwk2eU5dSZFFFzMd/CXRpeehBgruiGsCzOIwmkK37Y=; b=y2GKr/Rrc857Bv925ZAitsW44M8FwCNcO9H6PQk8b+CaSaUHUtPfPIn+nVVq5qTL51 CwgHs9XBZkzSErkIre9iflVJyQOj+VyZyQnVbm9dgmkXlAozHPDdD1XZQuK5wmvsVIy+ gQnUGIO3w4HlG4xiVZuaacds30L7Fsthn4L8bbS+ywgFnBLk5hblgevxYVE0c29Vn3WY vIojG7hPirQMLE07h/AtTfx1C0eKsag9kjN1NVTbRmRQkzSwXZm+r0sc6FGhmfWesOTF yNDNBCJae0CSIC49+4SIrPkfGnjgKKbQ/UVuDLy3PIJinbOK2UCM0txdDe6zZaDBw+9l /ahA== X-Received: by 10.180.85.33 with SMTP id e1mr106688470wiz.61.1419965646248; Tue, 30 Dec 2014 10:54:06 -0800 (PST) Received: from [10.35.95.94] (101.49.103.87.rev.vodafone.pt. [87.103.49.101]) by mx.google.com with ESMTPSA id eu15sm44371014wid.18.2014.12.30.10.54.04 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Dec 2014 10:54:05 -0800 (PST) User-Agent: K-9 Mail for Android In-Reply-To: <20141230064640.GA3354@dchagin.static.corbina.net> References: <54A212A4.1070006@uwm.edu> <20141230064640.GA3354@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: Linux /dev/shm From: Miguel Clara Date: Tue, 30 Dec 2014 18:54:02 +0000 To: Chagin Dmitry ,Jason Bacon Message-ID: <38006823-C20B-4C37-A885-D53192F83EEE@gmail.com> Cc: emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2014 18:54:08 -0000 On 30 December 2014 06:46:40 WET, Chagin Dmitry wrote: >On Mon, Dec 29, 2014 at 08:49:08PM -0600, Jason Bacon wrote: >> >> Not sure where else to ask this: >> >> I'm trying to run Atomistix (http://www.quantumwise.com/) on FreeBSD >10.1. >> >> The installer runs without a hitch, but I've run into issues with one >of >> the main binaries, vnl_exec. >> >> First problem was a missing libgomp. linux-c6-devtools installs a >> dangling link in: >> >> /compat/linux/usr/lib/gcc/i686-redhat-linux/4.4.4/libgomp.so >> >> I fixed this by patching the port to include >libgomp-4.4.7-11.el6.i686.rpm. >> >> That got vnl_exec past all the link errors, but now I'm running into >this: >> >> Traceback (most recent call last): >> File "", line 1, in >> File "./zipdir/NL/__init__.py", line 17, in >> File "./zipdir/NL/ComputerScienceUtilities/Singleton.py", line >120, >> in >> File "./build/lib/python2.7/multiprocessing/__init__.py", line >183, >> in RLock >> File "./build/lib/python2.7/multiprocessing/synchronize.py", line >> 172, in __init__ >> File "./build/lib/python2.7/multiprocessing/synchronize.py", line >75, >> in __init__ >> OSError: [Errno 38] Function not implemented >> >> From what I've found on the Linux forums, this is indicating that >the >> app requires a tmpfs mounted on /dev/shm as an IPC interface. Is >there >> any way to emulate this on FreeBSD? >> >yes, see r218497 commit description. it seems to me that you should >mount tmpfs somewhere You can use devfs.conf for this, add: link /tmp shm Hope that helps, Miguel -- Sent from my Android device with K-9 Mail. Please excuse my brevity.